Is there any way to make chrome or any other browser run a snippet right after a page reloads? Thanks!
Running snippets in chrome after page reload
Asked Answered
Bookmarklets(Javascript bookmarks) are an easier/faster way to run scripts on sites. But still, they have to be run manually. –
Zedekiah
Since Snippets at the moment cannot be referenced (and started) from your code, you are not able to simply run them, you have to select and run it via the DevTools interface.
But you can automatically run your own code with other browser extensions, eg. Tampermonkey/Greasemonkey. In this case the logic that is implemented in the required snippet should be put into a Tampermonkey script.
© 2022 - 2024 — McMap. All rights reserved.