Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to make the chrome snippet auto run?

I have created some javascript code which searches the DOM and exposes some information for myself in the console, but in order this to work every time I have to go to Sources part of the console, go to the snippets part, click on the snippet name and run it.

Is there a way to make it autorun? Thanks!

like image 678
funguy Avatar asked Nov 05 '15 09:11

funguy


Video Answer


2 Answers

idk, been using "Custom JavaScript for websites" chrome extension: https://chrome.google.com/webstore/detail/custom-javascript-for-web/poakhlngfciodnhlhhgnaaelnpjljija

like image 50
Jason Avatar answered Oct 01 '22 03:10

Jason


nov 2019 : These are current Chrome Extensions that can run scripts on any page you want

  • Custom JavaScript for Websites 2 regular updates, very easy to use
  • TamperMonkey regular updates and Canary versions, loads of options thus less easy UX
like image 27
Danny '365CSI' Engelman Avatar answered Oct 01 '22 05:10

Danny '365CSI' Engelman