disable-devtool icon indicating copy to clipboard operation
disable-devtool copied to clipboard

Something wrong with the code

Open westopia opened this issue 1 year ago • 3 comments

Hello, the code is worked perfectly before but when I try to open the devtool again on my own website its doesn't close the page, and the only work is when the website is loaded and open the devtool and refresh its pausing the debugger, well I'm using Brave Browser (Version 1.62.165 Chromium: 121.0.6167.184)

image

westopia avatar Feb 22 '24 15:02 westopia

For me when UBlock Origin ON same issue occured, adsblock plugin make the lib not working

reidsneo avatar Feb 26 '24 09:02 reidsneo

This is because the js file loading is blocked, and bugs that do not belong to the code can be referenced through import instead of introducing a third-party CDN. But it cannot prevent the disabling failure problem caused by disabling all js @reidsneo

theajack avatar Feb 26 '24 10:02 theajack

This is because the js file loading is blocked, and bugs that do not belong to the code can be referenced through import instead of introducing a third-party CDN. But it cannot prevent the disabling failure problem caused by disabling all js @reidsneo

Yes that I want to say, thanks for the clarification Somehow dev and debug like string got caught by the ads blocker, so it wont loaded

reidsneo avatar Feb 26 '24 11:02 reidsneo

@theajack I tried to import the code instead using the CDN even the CDN version is still work like when I open the dev-tool before visiting the website it's will prevent me to load the website properly but the non-CDN version is didn't do same thing, sorry for my terrible English & I'm a beginner on coding so I probably did something wrong?

image

image

westopia avatar Mar 13 '24 03:03 westopia