FelisCatus / SwitchyOmega

Manage and switch between multiple proxies quickly & easily.
GNU General Public License v3.0
21.24k stars 3.19k forks source link

[Feature request] Allow automatic reverting back to default profile after X minutes? #1630

Open temghost03ajfksdf opened 6 years ago

temghost03ajfksdf commented 6 years ago

First off, thanks so much for this extension, I really love it.

Also, I apologize if this has already been brought up before. I tried searching the FAQ and existing issues and couldn't find anything related.

I was wondering if it is at all possible to add a feature that would allow you to automatically switch back to your default profile after a specified amount of time, should you switch to a different profile temporarily.

For example, I usually use the Auto switch profile but sometimes have to change to Direct in order to bypass a captcha on a site that I might not necessarily want to create an exception rule for because it's not a site I frequently visit. The problem is sometimes I will forget to change the profile back to auto-switch after I'm done visiting the site, so it stays on Direct until I notice or restart my browser.

Thus I think it would be useful for there to be a timeout period where Switchy will automatically revert back to your default profile after some minutes. Another possible solution would be a simple notification reminding you that you're not on your default profile rather than doing it automatically.

It isn't a huge deal, but I believe this would really improve my quality of life, and maybe for others as well.

Thanks for your time!

FelisCatus commented 5 years ago

My first idea is to add a checkbox to say "warm me if I'm not on this profile for 10 minutes", next to Options > Interface > Switch Options > Startup Profile. If checked, then we can find some way to remind the user that they are not on the startup profile.

Open Questions:

temghost03ajfksdf commented 5 years ago

Very sorry for not getting back to you much sooner.

How shall we remind the user?

Right now, SwitchyOmega use badges to communicate download failures, etc. Would this work for you?

I don't think the badge would really be enough though, since my problem is I'm forgetting to look at it to begin with (if I was paying attention to it, I would be able to see I'm not on my default profile :stuck_out_tongue_winking_eye:).

My initial idea was to use a notification toast e.g. https://developer.chrome.com/extensions/richNotifications https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/notifications with for example three options such as "Revert to default profile" and "Remind me again in N minutes" and "Don't remind me again this session".

How long shall we wait before reminding?

I'm personally fine with a non-configurable period of anywhere from 10-20 minutes.

Thanks again.