Reputation: 359
Came across something unexpected today. There is a certain website which plays a video. However, when chrome devtools is opened it does two unexpected things.
I've done searches on how to achieve this functionality and haven't succeeded so I am not sure how it is being done. Similar questions have been solved by either dealing with the "debugger" statement (in this case its not used), or by undocking the devtools, neither of which have helped me. I also haven't found what causes an unknown code source so tracking down the code doing this has been more difficult.
The website that I am experiencing this on is vexmovies.org, and a link to an example page which has this behavior can be found here: http://vexmovies.org/chicken-run
Upvotes: 2
Views: 8480
Reputation: 488
Not really an answer to this question , but I found an alternative way to use one of dev tools's features , network sniffer , without being detected by websites that actively detecting and blocking dev tools. Well theres an extension on Chrome Web Store literally named "Network Sniffer" . So I used that and I managed to sniff videos url out of a similar website to your example site. Im guessing this is what you want to do ;).
Upvotes: 2