Leave my keybinds alone

19/03/2025 18:14:32: stop websites from overriding common browser keybinds

Maker
Minion3665
Dagelijks aantal installaties
0
Totaal aantal installaties
0
Beoordelingen
0 0 0
Versie
1.0
Gemaakt op
21-03-2025
Bijgewerkt op
21-03-2025
Grootte
891 bytes
Licentie
MIT OR Unlicense OR CC0-1.0
Wordt toegepast op
Alle websites

Leave my keybinds alone

Some websites block common browser or system keybinds, this script tries to unblock them.

Current handled binds

  • Ctrl+R (refresh the browser, as seen in web apps such as Microsoft Word Online/Collabora Online/etc.)

License

Knock yourself out - let's say this is, at your option, under the MIT license or the Unlicense or CC0, whichever you prefer.

You're free to do anything you want including but not limited to stealing the code, claiming it as yours, posting a better version on greasyfork, selling licenses to a closed version (good luck with that.) or putting it inside your commercial product (just avoid calling preventDefault() in the first place).

Contact

If you want me to add a new bind/have any suggestions/want me to add a patch from you/etc. you are free to send me an email at sky@a.starrysky.fyi. You can find other ways to contact me at a.starrysky.fyi. For this project only, you are also free to leave a comment on the project's GitHub Gist