Created
May 31, 2022 09:26
-
-
Save CennoxX/73eef5cc44ea5f3dcfd0545e34037ff1 to your computer and use it in GitHub Desktop.
Bookmarklet to use shortcut [Ctrl]+[Alt]+[d] for Select Next Occurence on Tampermonkey
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:document.addEventListener("keydown",function(e){if(e.ctrlKey&&e.altKey&&e.key=="d"){[...document.querySelectorAll(".editormenu>li:nth-child(3)>table>tr:nth-child(10)")].filter(i => i.closest('[name="tabview_contentmain"]').style.display != "none")[0].click();[...document.querySelectorAll(".editormenu>li:nth-child(3)>table")].filter(i => i.closest('[name="tabview_contentmain"]').style.display != "none")[0].classList.remove("visible");}}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment