Last active
July 21, 2023 01:26
-
-
Save kingspp/eccb090dacd9ea1989a2852e9c24eb9d to your computer and use it in GitHub Desktop.
Compile document on window focus
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
// Run below code in respective window console | |
window.addEventListener("focus", e => document.getElementsByClassName("split-menu-button")[0].click()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment