Greasy Fork is available in English.

Trigger debug on hotkey for any site

Messing with hard-to-catch events again? Trigger debug at any site by pressing hotkey combination (default is for ctrl+q), then inspect anything you want!

Tekijä
K33pQu13t
Päivittäiset asennukset
0
Asennuskerrat
1
Arvostelut
0 0 0
Versio
1.1
Luotu
28.3.2024
Päivitetty
28.3.2024
Lisenssi
MIT
Käytössä
Kaikki sivustot

Trigger debug on hotkey for any site


Messing with hard-to-catch events again? Want to check layout changes, but they goes so fast and it's hard to debug? Here we go! With that script, you can easely trigger debug at any accurate time!

Features

  • Press hotkey combination (default is for ctrl+q) to immediately trigger debug so you can inspect whatever you want (of course you didn't forget to open DevTools before that)
  • Hold hotkey combination for some time if you need to perform some actions before debug would be triggered. It would after as much milliseconds as you've hold hotkey combination

Feel free to edit the script to change hotkey char which should be pressed with ctrl to trigger the debug, glad it's placed at the beginning of the script. You can even edit the "if" check for keydown triggered if you want it to start not from ctrl, for example.

Happy debugging!