How would I go about if I wanted to make a javascript code that will detect any script being runned by the web console?
I know that if I write this code:
if (window.console && window.console.chrome) {
//is open
};
I will be able to see if the console is running. But I want to detect if any code is being runned.