import DisableDevtool from "disable-devtool"
DisableDevtool({ md5: "75edd0df185c0b8ecf13b27365ee11b6" })
The code above will close the tab.
Then I added:
...
DisableDevtool({
ondevtoolopen: type => {
const info = "devtool opened!; type =" + type
alert(info) // If you are worried about blocking the page, use console.warn(info); and open the console to view
},
})
It always let the page alert message constantly jump between:
The code above will close the tab.
Then I added:
It always let the page alert message constantly jump between: