4 ms·
Stripe’s API documentation does this and it gives me the shits, because it seizes up my M2 MacBook Pro for several seconds. I can’t believe that it’s 2024, an
by AA-BA-94-2A-56 3y ago
Stripe’s API documentation does this and it gives me the shits, because it seizes up my M2 MacBook Pro for several seconds.
I can’t believe that it’s 2024, and I can’t simply grep some documentation.
- deleted 3y ago[deleted]
- ytpete 3y agoCmd-L followed by Cmd-F will always get you the real browser search, at least.
- deleted 3y ago[deleted]
- dotancohen 3y agoThe Vimperator/Tridactyl (Firefox VI shortcuts extension) search / is not hijacked on the Stripe API documention.
- bovine3dom 3y agoFWIW, the / search isn't part of Tridactyl but we do inject some code that frees up / from most websites so Firefox can use it. It's possible to write your own user script to do it (you just need to add a keypress event handler that does preventDefault() and maybe stopPropagation()) with no need for Tridactyl :)
- SushiHippie 3y agoBut it still doesn't seem to work on GitHub, did you whitelist GitHub for the preventDefault or is GitHub just a bit extra when it comes to hijacking keybinds?
- bovine3dom 3y agoIt works sometimes on GitHub, it's just a bit extra as you said. GitHub is what annoyed me enough to make the feature in the first place. It used to work reliably but they made it worse :(
- SushiHippie 3y agoAh bummers, but nonetheless thanks for implementing this feature! EDIT: I just took a look at GitHub's source code, and they mentioned a setting to turn off these shortcuts, and it really exists!! Under https://github.com/settings/accessibility https://github.com/settings/accessibility one can turn off, all "Character keys" which means shortcuts without a modifier. I've never used them, so I just disabled it, and now forward slash always opens the Firefox search :0 https://docs.github.com/en/get-started/accessibility/keyboard-shortcuts https://docs.github.com/en/get-started/accessibility/keyboar...
- bovine3dom 3y agoI had no idea, thanks for sharing!
- dotancohen 3y agoGood to know, thank you. Maybe non-Trydactyl users should check if / is hijacked along with Ctrl-F, Ctrl-G, and F3. And I'll take the opportunity to say thank you for Tridactyl! Have a great weekend!