1
0
For example, something like:
- CTRL+SHIFT+DEL
- CTRL+T
- CTRL+E
...or whatever else. I'd like to have an icon in my browser's toolbar that when clicked executes such a key combination.
Is this directly possible, or would it require creating a plugin? If it would require creating a plugin, how might that be done?
p.s. — I'm using Firefox, but it would be awesome if there was a browser-independent solution.
EDIT: @crazypotato has a good solution for CTRL+SHIFT+DEL as being a link to
chrome://browser/content/sanitize.xul
in Firefox, but I'm thinking of something that might function more like a keyboard macro.
You want create shortcut on bookmark toolbar for hotkey CTRL+SHIFT+DEL what will execute "clear browser history" while CTRL+SHIFT+DEL already execute "clear browser history"? Why you cant make bookmark on url "clear browser history" for firefox (chrome://browser/content/sanitize.xul) for chrome (chrome://settings/clearBrowserData). This question hurt me alot:( Why you can't ask for way to execute "clear browser history" in bookmark toolbar. – crazypotato – 2014-08-25T09:48:56.177
@crazypotato OK chrome://browser/content/sanitize.xul works, wasn't aware of that, thanks! My question is misleading, because I'm more curious if a link could execute any possible key combination, not just CTRL+SHIFT+DEL. Edited just now -- – Ian Campbell – 2014-08-26T05:19:52.117
Instead you should find how execute function behind hotkey and use it. – crazypotato – 2014-08-26T11:13:58.383