Reputation: 7398
This question is mostly just out of curiosity at what's possible. I'm interested to know any ideas at all.
If I'm on a website, is it possible to make a keyboard shortcut for clicking a button on that site? For example, if I'm on google.com
, is it possible to write a script somewhere on my own system that will detect that I'm on google.com
and make it so that if I press ctrl-g
while that site is in focus, it will click Google Search
?
If you know for sure that this isn't possible and have an explanation for why, I'd be interested to know that too.
Upvotes: 1
Views: 1238
Reputation: 81
Yes, it's possible.
I'll briefly describe how to do it in C# and Chrome, but it's not language-dependent and could be used in Edge or IE either.
That's it, easier than it looks.
Upvotes: 1