-
Notifications
You must be signed in to change notification settings - Fork 36
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
Incognito & Container Support #33
Comments
FoxyProxy v8.1 includes incognito & container support for Firefox only. The feature is still under consideration and development. |
The Incognito feature doesn't seem to do anything on Firefox 118. Here's what I tried:
|
I have uploaded the under-development v8.1 for another issue (#35). Therefore, the incognito & container is not finalised yet. Update |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Please limit the discussion to Incognito & Container Support in this topic. |
Feedback about this new option:
|
|
I get that this should be considered an experimental PoC for now though – just wanted to give some feedback in the hopes that future iterations of this may be improved! 🙂 |
It is how the "contextualIdentities" API is designed.
Unfortunately, it is not available as optional_permissions AFA no 4, #76 has similar issue so the discussion can be continued there. |
@ntninja Repo is updated with v8.8 and a workaround for issue no 4. Please read Help: Proxies for details. Let me know how it works out. |
@erosman: I had the workaround to use |
@ntninja TBH, using |
The Firefox extension cookie-autodelete was able to grab information about containers. I don't know how they do it, but we could look at their code and attempt to replicate. |
Getting container details is not a problem. Above extension has "contextualIdentities" permission in its manifest.json. As explained under "2. Specific User Interface", adding "contextualIdentities" permission is fine for people who use containers. At the moment, there is no other option. |
Doesn't seem to work for me in Firefox 123 with FoxyProxy 8.9. Proxy is applied for incognito window, but not for containers. |
Are you using containers (enabled via other extensions) and have you set them to a proxy in FoxyProxy Options? |
Yes |
Can you post your settings (remove/obfuscate any personal data)? |
Sure: {
"mode": "disable",
"sync": false,
"autoBackup": false,
"passthrough": "",
"theme": "",
"container": {
"incognito": "",
"container-1": "127.0.0.1:9050",
"container-2": "",
"container-3": "",
"container-4": ""
},
"commands": {
"setProxy": "",
"setTabProxy": "",
"quickAdd": ""
},
"data": [
{
"active": true,
"title": "TOR",
"type": "socks5",
"hostname": "127.0.0.1",
"port": "9050",
"username": "",
"password": "",
"cc": "",
"city": "",
"color": "#8b4513",
"pac": "",
"pacString": "",
"proxyDNS": true,
"include": [],
"exclude": []
}
]
} Tabs in the first container do not use the proxy. |
@equeim What does the log show? |
The log shows that url in container tab is opened without proxy. I created a new Firefox profile and it works there. I then tried to disable all extensions except FoxyProxy in my original profile and it still doesn't work. IDK what breaks it. I'm using "Firefox Multi-Account Containers" and it's native proxy feature for now. |
If the feature works in a new profile without any other extensions, then the issue is a conflict with another extension that handles containers e.g. "Firefox Multi-Account Containers". If that is the case, there isn't much that can be done. The only suggestion at the moment is to disable "Firefox Multi-Account Containers" and enable containers by another method (i.e. use Firefox Nightly, Dev version, or another extension which enables containers e.g. FoxyTab). |
Is there any roadmap for adding more containers than just the first containers? |
Do you mean more than the first 4? However, if Firefox fixes the following, better support can be provided.
|
Last useful update on that feature request was 4 years ago, so hopes aren't that high. Any reason for not using the permission in non-optional mode? |
As mentioned ...
|
Can one improve the UI by allowing to change the proxy for "the current container"? That is, the container of the current tab? foxyproxy seems to somehow know the proxy for the current tab / container, because it can already show the right badge on the empty page (no website) loaded? Or would this also require this permission? |
I can think of an alternative approach...
PRO
CON
|
Naive question: Can't one use both? Or is this one or the other (due to different, incompiatible APIs?)? |
Do you mean both on Options page & popup? |
Yeah, that's what I meant. (I personally like a little UI bloat: The "popup" for more "ad hoc configuration", and the settings page for "dedicated configuration".)
Understood! I'd vote for the popup. The current behaviour on the popup is a little confusing (at least to me): The badge tells me "Using that proxy". While the popup shows "deactivated". PRO:
|
Incognito & Container Support
Support can be added for Firefox only.
See also: #27
User Interface
Incognito can be supported without any issues. However to support containers as well. there are 2 options for the User Interface:
1. Generic User Interface
Use a generic container list, not knowing or matching the number of containers the user has e.g.
2. Specific User Interface
Get the container list contextualIdentities.query() and create the UI
Implementation
The checking order would be:
To decide
Sync and Preferences: Import/Export
Container settings may mismatch, if the user has different containers on different browsers.
The text was updated successfully, but these errors were encountered: