-
Notifications
You must be signed in to change notification settings - Fork 31
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
Why overriding browser.link.open_newwindow? #104
Comments
Hi @emilio , The default preference were ported from the old python selenium code, which used to be located here (when I created this extension) but has been moved to here. The default prefs are now defined So it seems like the default behaviour is still to use |
I checked my firefox install, it is set to Note for self: here is an explanation of the different possible values for This link states that the default value is 3 for firefox 2.0 (??? 👀 ???) and newer... Summary: So this library seems to use the default value used by the default selenium libraries, but I don't understand why the selenium libraries still default to Any thoughts? |
Not sure, the default value in Gecko is defined here: https://searchfox.org/mozilla-central/rev/a78233c11a6baf2c308fbed17eb16c6e57b6a2ac/browser/app/profile/firefox.js#431 But not sure why other libraries would change it. |
I wouldn't mind setting it to |
I sent mozilla/web-ext#1766 right before opening this issue for web-ext. I don't know about other users of this library. |
firefox-profile-js/lib/firefox_profile.js
Line 32 in 397764d
Changes the behavior of
target="_blank"
links. This is problematic for two reasons:If there's a good reason to change default behavior like that, it'd be good to state why in a comment at least? :)
The text was updated successfully, but these errors were encountered: