stoically / temporary-containers

Firefox Add-on that lets you open automatically managed disposable containers
https://addons.mozilla.org/firefox/addon/temporary-containers/
MIT License
852 stars 60 forks source link

Link context menu doesn't respect browser.tabs.loadInBackground #513

Open jbnkx opened 3 years ago

jbnkx commented 3 years ago

Actual behavior

Context menu "open link in new temporary container tab" doesn't respect user preference "browser.tabs.loadInBackground" (about:preferences > general > tabs > when you open a link, image or media in a new tab, switch to it immediately) Link is opened in a new tab but there is no auto switch to that tab

Expected behavior

Auto switch to new tab when browser.tabs.loadInBackground = false

Notes

Firefox's "open in a new tab" context menu does auto switch

stoically commented 3 years ago

Similar to https://github.com/stoically/temporary-containers/issues/523, without Add-ons being able to get the configuration value of browser.tabs.loadInBackground this can't be supported directly and would need some preference in TC instead.