foxyproxy / browser-extension

Version 8 and above. Browser extension source code for Firefox, Chrome, and other Chromium-based browsers
GNU General Public License v2.0
244 stars 39 forks source link

[UI] Button to directly open the Logs screen #44

Closed TriMoon closed 10 months ago

TriMoon commented 11 months ago

As mentioned in https://github.com/foxyproxy/browser-extension/pull/38#issuecomment-1773953561:

Just a request, could you guys add a button on the popup to directly open the logs view like we have on the old version? 🤝 I wasn't able to do it because i'm too unfamiliar with the JS code, in particular i went as far as just adding the button on the popup and opening the options page but i didn't know how to make the button open the view directly...

erosman commented 11 months ago

Adding the button is not a problem but there may not be a lot of room.

FoxyProxy 7 has 3 buttons: Options, What's My IP, and Log FoxyProxy 8 already has 3 buttons: Options, Location, IP

Although "Log" is a short word in English, it may not be short in other languages:

ES: "Registros" FA: "گزارشات" FR: "Journal" PL: "Dziennik" PT: "Registro" RU: "Журнал" CN: "日志" ... etc

TriMoon commented 11 months ago

IMHO, in this case the easy access to the functionality is more important as space used in the PopUp... You could even, if needed, make the button row become 2 rows..

To be honest i doubt many, if any at all, users actually need/use the current "Location" and "IP" buttons... (Main functionality of the extension is not finding out your IP)

erosman commented 11 months ago

People use Location & IP to test if the proxy is working and/or if the browser is leaking the real IP.

If there is not enough room, it can mess up the layout, only to reduce 2 clicks to one.

image

BTW, you can bookmark the Log tab which is even more efficient as it doesn't require opening of the popup.

TriMoon commented 11 months ago

For those functionalities i and most others use other tools, the reason why people install this extension is for proxy functionality not for browser leak nor VPN services etc... For those functionalities there are other tools that are more capable of doing those jobs.

Anyhow:

  • Add log at the end of the URL i.e. .../options.html?log

Thanks for this information, now can we have a button to open that page directly from the popup?

erosman commented 10 months ago

v8.9 Added "Log" to the toolbar popup buttons