This thread was archived. Please ask a new question if you need help.
How to prevent blogspot.com from stealing Ctrl+K Firefox shortcut?
A blogspot.com website steals Firefox internal keyboard shortcut Ctrl+K. I visited a webpage http://googleresearch.blogspot.com/2013/11/moores-law-part-1-brief-history-of.html. To go to search bar I press Ctrl+K but the website took over this keyboard shortcut and opens a new webpage in the same window instead. How can I prevent from websites "stealing" default firefox shortcuts?
All Replies (6)
The support article mentions that for Linux systems, Ctrl+j is an alternate way to move focus to the search bar. Keyboard shortcuts - Perform common Firefox tasks quickly
Ctrl + J is also intercepted by blogspot.com and opens a new link. Exactly the same problem as with Ctrl + K.
dovydas மூலமாக திருத்தப்பட்டது
Another possible workaround is to press F6 or Ctrl+L (Ctrl+L isn't intercepted in this case) first to move the focus from the page and then Ctrl+K.
I accidentally edited that out of my reply: the Blogger templating system relies on scripting for everything.
I looked into the Dynamic Views template description and it mentions using J and K to switch between posts. Perhaps they just "forgot" to deactivate navigation when the user holds other keys down with j and k? I'm surprised, but since the page doesn't intercept Ctrl+j and Ctrl+k in Chrome, perhaps they just don't care?