The title sums up the question.
I am especially interested for Chrome 68+.
I have a website. I would like to know what code a user executes if he opens the chrome inspector and writes code.
The title sums up the question.
I am especially interested for Chrome 68+.
I have a website. I would like to know what code a user executes if he opens the chrome inspector and writes code.
It is impossible for the website to know what code was executed.
It may in many ways be able to detect the side-effects of code run in the console but knowing what was typed is not feasible.
Yes and no because you have to use ctrl-shift-i to inspect in the browser, but that is still just inspecting.