zswang / jdetects Goto Github PK
View Code? Open in Web Editor NEWDetect if DevTools is open
Detect if DevTools is open
@zswang Not working in safari.
i had attach the screenshot by opening the developer tools options
let me know how should i want to fix
If this is something you'd like to fix or just add to documentation.
Backstory: A website using jdetects was stopping me from changing and inspecting its content so I went to work to find which library it uses and how I can bypass it.
It is quite easy to bypass jdetects. Just create a script to be injected with the following content:
Object.defineProperty(window, "jdetects", {
value: 'jdetects = bypassed',
writable: false
});
and this hinders any other script from accessing jdetects. Of course this can easily bypassed by changing the name of the property that contains jdetects.
Just wanted to let you know about this so you can maybe add it to the README.MD file so people know how to bypass it if/when they need to.
I am afraid jdetcts will not work in Google Chorme in the near future.
Google Chrome Canary shows the problem. Jdetects does not detect if console is open.
My bisect points me to:
https://chromium-review.googlesource.com/c/chromium/src/+/846239
https://chromium.googlesource.com/chromium/src/+/f671d5a01135eb084bbec171d536cb5d1248e124
is possibly the cause.
This commit was added on Decmeber 29th, about 3 days ago.
I love your javascript. Please update your great project.
Thank you in advance.
I am afraid jdetects will not work in Google Chorme in the near future.
Google Chrome beta shows the problem. Jdetects does not detect if console is open.
I am grateful if you provide an update to your greate javascript.
Thank you in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.