-
Notifications
You must be signed in to change notification settings - Fork 40
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
icon doesn't change when proxy by pattern matches #57
Comments
Performance
Unreliable & Unusable Information
Scenario 1
The final result provides no reliable information. All it says is that something on the tab was proxied by some proxy. Scenario 2
Once again, the final result provides no reliable information and can create a false impression. Other Network Requests
|
It's actually fairly useful to see which proxies are firing, if you have multiple proxies set up. Could keep the badge as sort of a statistic, once per second(or however often changing it would be negligible to performance)? Just keep the last n requests in a vector, then randomly sample from the vector and set badge to that. This will tend to display whichever proxies are most used, but also will have the chance to display all proxies being used. Alternatively, keep a table of hits on last used distinct proxies and iterate through it every second, changing the badge and resetting number of hits to 0. |
That wont be possible to see since it can flash 10s of times per second.
Not possible as it is tied to the web requests.
Not possible for a toolbar badge. |
Yes, but you have to access live log, wherein icon is always visible. Isn't it possible to have a 1 sec timer and do the operation on a table, subsequently changing the badge, and to write to that table after each request? Alternatively, can do you have access to some sort of timeout function in the extension code? Just skip changing the badge, only write statistics, then on a request after 1sec timeout, check the table, change the badge, and reset timeout to 1sec. |
That wont solve the issue. A timer simply postpones the process i.e. 100s of requests will be processed X seconds later. It is not possible to display a table on badge text or title. In any case, it wont solve the issues outline in #57 (comment) |
Hi, Wouldn't making this (IMHO very important ) UI feature optional – with a disclaimer referring to the expected performance impact – be a valid strategy? Cheers! |
I also think that making this optional would be the best solution. The code is available (from version 7) and thus it shouldn't be very time consuming to make it available again. I certainly do understand the performance impact and why it was removed, but it was very useful and gave me piece of mind, just to have a visual cue that a proxy is used. |
I too much prefer previous version... Combined with losing all the data from #53, I've gone back to previous version thanks to this Reddit thread post, which solved both issues in my Firefox. So I'm sticking to that 7.5.1 and disabling updates for now. (Now would be a good time to do that "Export" just in case...) |
Personally, I also find it very hard to fathom that this was an intended change. It represents a HUGE downgrade in functionality and usability. |
@erosman sorry man. it seems I opened a can of worms here. This was not my intention. |
No problem.... Any issue can be discussed logically. I had another look at the FoxyProxy v7 code. The setting of the icon was not tab specific. It was for all the tabs. That would mean ...
How would that be useful? |
Well, yes and no. For me it is important to see the badge change when I open a tab and load a page. e.g. I usually don't have X tabs open that all have constant concurrent connections going on. I am fully aware of the situation and what you are saying. But for me, it is good enough to open a new tab, load a page and see the icon change. Boom, I am happy. Same thing when I reload the page. Switching tabs, having X tabs that all have concurrent connections, this is another story and that doesn't bother me. I expected as much when I was using version 7.x. I am aware of it. All good. |
+1 to @tessus, I also miss the quick visual feedback about active proxy being used. There might be some ways to mitigate some of the concerns shared above (debouncing/making the feature optional/show the indicator in the popup menu instead of changing the icon frequently and so on) and find a way to bring this feature back. I would also like to take this opportunity to thank everyone involved in making this great browser extension! Happy holidays everyone :) |
One possible implementation might be to only show the proxy used for the top level document in the tab. For third-party requests, a "+" symbol or something like that could be added to indicate that there were third-party requests that use a different connection than the one shown currently. You could then even show more details in the pop-out menu when clicking the icon. All of that state should of course be stored per tab (think uBlock Origin which always shows request details for the currently active tab). |
+1. I know it is not perfect. I know it has flaws. I know performance impact. I willingly accepted all of those negative things when I used older FoxyProxy version. I still loved it. Please bring it back? |
I'm also missing the visual feedback on the FP icon on which proxy is being used. Now I have to check the logs every time I've doubt is a proxy is being used. So a +1 on that feature becoming available again. |
The icon change shows that proxy is being used somewhere. It can come from a net usage of:
It doesn't pin point which proxy is being used and where either. However, if there is considerable demand for it, we can re-add the feature. |
But it could, couldn't it? There are add-ons that change the icon based on the tab. e.g. Tab reloader. So why not make the icon change dependent on the current tab being used? But even, if that's too much work to implement, just bringing back the previous behavior (optional and with a warning in the docs) would already be more than sufficient. |
Yes, it can, but that wasn't the case in the pre-8 versions. 😉 📌 The concern is about changing the badge, color, title 100 times (that is 100x3) when a tab loads while the user does not benefit at all from 99 of them and can only see or read the last one. It is possible to limit it to the top frame (not change when inner frames are proxied), but that can also lead to confusion. |
It would, but there's not much you can do about it from a technical perspective. It is what it is. You can't change the requests when loading a page or only change the badge for the last one. But that's what happened in 7.x, so this unnecessary changing is nothing new. |
I wholeheartedly agree 👍 |
Fair enough... I will work on the toolbar icon badge indicator, when in "Proxy by Patterns" mode. |
v8.7 Beta updated on repo for testing. |
Thanks for the update!
What does that mean? There's no draft release, not did I see anything on the website and/or the Mozilla add-on page. Update: Ahh, I see. I have to build it myself. |
The feature doesn't work for me (v8.7 Beta). But even normal proxying does not work anymore on 8.7. Reverted back to v8.6 from the Mozilla Extension Store (proxying again works). Tested: Via manifest.json install & locally packaged (via |
Thank you for testing. I will fix the issue and update the repo. |
v8.7 on repo updated with fix for testing. Note: The badge is per-tab |
Foxy Proxy v8.7 uploaded to AMO. |
Previously the icon changed and showed the proxy that was used when browsing. This was very helpful as I was able to monitor what was going on.
Now it only shows
Any chance you can bring back that functionality? If not, is there a way to install the old version?
The text was updated successfully, but these errors were encountered: