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

GM3.0: GM_openInTab doesn't respect browser.tabs.loadInBackground #2106

Closed
roger21 opened this issue Mar 14, 2015 · 1 comment
Closed

GM3.0: GM_openInTab doesn't respect browser.tabs.loadInBackground #2106

roger21 opened this issue Mar 14, 2015 · 1 comment
Milestone

Comments

@roger21
Copy link

roger21 commented Mar 14, 2015

in GM 3.0 the value given for aLoadInBackground in modules/miscapis.js is forced to a boolean value with the double "!" at line 118

the value of aLoadInBackground is most likely always null since it is never defined or retrieved at line 112 of modules/miscapis.js

if the value of aLoadInBackground is left to null GM_openInTab DOES respect browser.tabs.loadInBackground

with the "!!", aLoadInBackground is forced to false and GM_openInTab will always open new tab in foreground

the "!!" at line 118 should be removed, no other modification needed

@arantius
Copy link
Collaborator

Dupe of #2105.

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

No branches or pull requests

2 participants