Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider reverting commit 2265251 #32

Merged
merged 2 commits into from
Sep 12, 2013
Merged

Consider reverting commit 2265251 #32

merged 2 commits into from
Sep 12, 2013

Conversation

ancestorak
Copy link
Collaborator

There has been negative feedback from users, the change clearly broke some people's habits and is causing them frustration. As there never were any requests to change the behaviour to begin with, I'm afraid this change was a bad decision.

@tanriol
Copy link
Member

tanriol commented Sep 9, 2013

If I understand correctly, the problem is not commit a3726c3, but commit 2265251?

@tanriol
Copy link
Member

tanriol commented Sep 9, 2013

If we revert it, we get at least two more problems to handle:

Opening a link in a new tab without breaking anything is a nontrivial task.

@ancestorak
Copy link
Collaborator Author

Yes, I meant 2265251.

relative URLs are not followed as the intercepting code does not take into account base URI

Then let's make it do it, it's trivial.

new tabs do not seem to be children of Brief's tab, which breaks Tab Mix Plus and similar addons, see tanriol/digest#76 and https://addons.mozilla.org/en-US/firefox/addon/open-link-in-new-tab

There must be a way to fix it, we just need to use the exact same function as Firefox does to handle middle-clicks.

@tanriol
Copy link
Member

tanriol commented Sep 9, 2013

we just need to use the exact same function as Firefox does to handle middle-clicks.

It seems to be handleLinkClick and functions called from it. Overridden by about half of these extensions each. Oh, and it takes the click event, which is immutable AFAIK.

@ancestorak
Copy link
Collaborator Author

I created issue #33 to figure out how to play nice with other extensions.

@kodawah
Copy link

kodawah commented Sep 11, 2013

I think I'm affected by this as well, even though I don't have tab management extensions.
Right now when a new tab opens it gets focus immediately, while I have exactly the opposite preference in my settings.

@tanriol
Copy link
Member

tanriol commented Sep 11, 2013

@kodabb, pretty strange. Currently all links are forced to have target="_blank". Do such links in other tabs also behave the same way?

@ancestorak
Copy link
Collaborator Author

@tanriol, any comments on the pull request?

ancestorak added a commit that referenced this pull request Sep 12, 2013
@ancestorak ancestorak merged commit bf8b048 into master Sep 12, 2013
@tanriol tanriol deleted the revert-retargeting branch March 15, 2015 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants