Simon Nasser
Simon Nasser

Reputation: 112

How to automatically run a script in chrome console

I am trying to run a chrome console command whenever I land on a webpage. What recourses should I look at to go about doing that? This is all I want to run on loop: document.querySelector("#currentKey").innerText

Result should be something like this:

V&2Y/9);fQpeP"X,
W{8Q]^DdQB>+>A5z
_Am[{.`>j^8b/DD5

Upvotes: 0

Views: 112

Answers (1)

Ravi Khunt
Ravi Khunt

Reputation: 262

Please refer to official google documentation

https://developer.chrome.com/docs/devtools/javascript/snippets/

Upvotes: 1

Related Questions