Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't right click #105

Open
cyberghostbg opened this issue Aug 6, 2024 · 1 comment
Open

I can't right click #105

cyberghostbg opened this issue Aug 6, 2024 · 1 comment

Comments

@cyberghostbg
Copy link

Hi, I am using the following configuration;

<script src='https://cdn.jsdelivr.net/npm/disable-devtool'></script> <script> DisableDevtool({ // The parameters are the same as in 3.1 }) </script>

However, with this I can select text, but I can't right click to hit copy.
Also can someone tell me how to add an error instead of a redirect if someone tries to open the console?
Also how can I choose to press Inspect but it returns an error or nothing can be done?

@HoangTran0410
Copy link

you can enable right click using config

disableMenu?: boolean; // Whether to disable the right-click menu Default is true

just set it to false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants