Not all Firefox extensions are excluded from being opened in a temporary container
See original GitHub issue- Temporary Containers Version: 1.8 (latest as of issue)
- Firefox Version: 78.1.0 (latest ESR as of issue)
Actual behavior
Tampermonkey settings do not work well (temporary container) uBlock Origin settings work well (non-temporary)
Expected behavior
Detect all moz-extension://
long random UUID follows, as unique URLs that are not websites but Firefox Addon URLs inside your browser.
Steps to reproduce
- Have Tampermonkey installed.
- Go to settings
- it is a temporary container and settings cannot be exported unless you spawn a non-temp tab and manually go to the settings URI
Notes
I love your addon! All is good, just tweak the detection a bit please. Why does it know ublock is on the settings page, but not Tampermonkey?
You’ll find a way and thanks for developing this! 😃
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Reviews for Temporary Containers - Firefox Add-ons - Mozilla
Is there a way to get this add-on work with Temporary Containers? I tried to work with "Exclude Target Domains" and "Ignoring requests...
Read more >Temporary Containers – Get this Extension for Firefox (en-US)
Easily open disposable containers that isolate attached data and are deleted after usage: Fully automatic, based on navigation-target, ...
Read more >Add-ons disabled or failing to install in Firefox - The Mozilla Blog
Our team identified and rolled-out a temporary fix for all Firefox Desktop users on Release, Beta and Nightly. The fix will be automatically ......
Read more >Reviews for Temporary Containers - Firefox Add-ons - Mozilla
Reviews and ratings for Temporary Containers. Find out what other users think about Temporary Containers and add it to your Firefox Browser.
Read more >Extensions are not working on my firefox, despite them being ...
You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It “can’t be done” was meant in the sense that it wouldn’t make sense for TC to implement something like that, because its a valid use case to open moz-extension:// URLs in different containers. Technically it might be possible with some workaround using the tabs API, though, it wouldn’t work using the webRequest API.
It depends on which permissions an Add-on has and how the particular Add-on has implemented opening the settings page.
AFAIK it’s proprietary since a few years. https://addons.mozilla.org/en-US/firefox/addon/tampermonkey/license/ basically just says “All rights reserved”. Where does it say it’s “technically open source”?
Yeah, makes sense. However, please note that it isn’t TC which affects that behavior. If you open a permanent container tab (e.g. with long clicking new tab and choosing “Personal”), focus that tab and then open the settings page from Tampermonkey, you can observe the same issue.
Right, that works as well.
Yeah, I’ll close since I don’t think here’s something that could be done by TC.
Hope that helps!
Glad you like the Add-on!
That behavior can be influenced by the code that runs when the settings button in the Add-ons popup is clicked. In uBlock’s case it defaults to no container because they don’t have the
cookies
permission, in Tampermonkey’s case they have thecookies
permission and should explicitly specifycookieStoreId: "firefox-default"
(no container), as otherwise it inherits the container from the currently active tab. Can’t check their code because its proprietary. Might want to consider using an open alternative like Greasemonkey or Violentmonkey.Opening
moz-extension://
URLs in a specific container can be something that’s desired, e.g. in my Radical Add-on it allows having multiple user profiles. So generically disallowing extension pages to be opened in a TC can’t be done.