tom5760 / chrome-ezproxy

EZProxy redirect extension for Google Chrome & Mozilla Firefox.
https://chrome.google.com/webstore/detail/gfhnhcbpnnnlefhobdnmhenofhfnnfhi
GNU General Public License v3.0
39 stars 7 forks source link

Allow binding to reload #8

Closed swflint closed 5 months ago

swflint commented 6 months ago

Would it be possible to provide a way to bind a key to whatever function reloads the page through the proxy? For instance, I'd like to be able to use Alt+F5 to reload through the proxy.

tom5760 commented 6 months ago

This is a good idea! I'll try to take a look soon.

It looks like it shouldn't be hard, need to add a field to the manifest, along with an event handler.

Hopefully can work on it before the end of the year.

swflint commented 6 months ago

That'll be awesome. Hopefully it gets pushed to the firefox version as well.

swflint commented 6 months ago

Helpfully, if you leave manifest_version as 2, you should be able to just use _execute_browser_action, so it's just a modification to the manifest, and nothing else.

tom5760 commented 6 months ago

Helpfully, if you leave manifest_version as 2

Yeah... I'm gonna have to update this sooner or later. We'll see...

tom5760 commented 5 months ago

I've just submitted v22 to both Chrome and Firefox's extension sites. It's now manifest v3, and I added the keyboard shortcut. No idea how long it'll take to publish in the Chrome Web Store, I'll note here once I see it up.

swflint commented 5 months ago

Works great on Firefox, thanks!