Next privilege 125 Rep.
Next badge 0/1
0 people reached
- 0 posts edited
- 0 helpful flags
- 7 votes cast
How do I prevent pages I visit from overriding selected Firefox shortcut keys?
Awesome! Almost complete solution for meta keys, too--- I was trying to keep Google Docs from intercepting Previous-tab (Cmd+Left) and Next-tab (Cmd+Right) and found that I also needed to set useCapture to true; i.e., document.addEventListener('keydown', yourHandlerFn, true)
Limit traffic based on WiFi network name
Abarnert's answer at stackoverflow.com/questions/11532144/… demonstrates a more eventful approach to detecting such changes (though nachochab's infinite loop is, perhaps, a less finicky solution).