theajack / disable-devtool

Disable web developer tools from the f12 button, right-click and browser menu

Home Page:https://theajack.github.io/disable-devtool/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

force page closed on edge

Xgitbfran opened this issue · comments

Is there any setting on Edge to let disable-devtool to works? It is working on some computers but on one the page is immediately closed when launched. I'm not sure it is related to edge only ...

Thank you for your issue, I will check it later

I checked edge v106.0.1370.37 on window10 and it works fine, please provide your OS and edge version, preferably a screenshot

@Xgitbfran

Get it, I will figure it out

I have a similar issue where on all browsers on osx it will force close the browser tab in production when served from an aws s3 bucket but locally it works fine in development mode or even when the production build is served via nginx.

I am using it on nextjs.

Also the issue seems to be resolved when I use selectors="1 2" but then when the user finds a way to open the console the tab is not closed.

@demoskp
It should not be related to aws s3 bucket
Could you please provide the url of your website or demo

I am afraid the app sits behind authentication and the script runs based on a user role so in this case unfortunately I wouldn't be able to share it since it's a company project and I don't have permission to share credentials and in development this doesn't happen.

Is there any way S3 serves the assets that would affect this?