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

ChatGPT Hates this apparently. #58

Open
TechGeekUnited opened this issue Apr 1, 2023 · 1 comment
Open

ChatGPT Hates this apparently. #58

TechGeekUnited opened this issue Apr 1, 2023 · 1 comment

Comments

@TechGeekUnited
Copy link

ChatGPT "There are several potential problems with using the disable-devtool library or any other similar method to try and prevent users from accessing the devtools:

False positives: The method may incorrectly detect that the devtools are open when they are not, or fail to detect them when they are open. This could happen if the user's browser or device behaves differently from what the method expects, or if the user has modified their browser or devtools settings.

Browser compatibility: The method may not work in all browsers, or may require specific browser versions or settings to be enabled. This could limit the effectiveness of the method and make it unreliable for some users.

Security risks: The method may introduce security vulnerabilities by relying on obscure or undocumented browser behavior, or by modifying the page's behavior in ways that could be exploited by attackers.

User experience: The method may interfere with the user's experience of the page by blocking or modifying certain features, or by causing unexpected behavior or errors.

Accessibility: The method may not be accessible to users with disabilities or assistive technologies that rely on the devtools or other debugging features.

Overall, it is generally not recommended to rely on such methods to prevent users from accessing the devtools or modifying the page's behavior, as they can be unreliable, insecure, and may have negative effects on the user's experience. Instead, it is usually better to focus on securing the page's functionality and data through other means, such as server-side validation and authentication, encryption, and access controls."

@theajack
Copy link
Owner

theajack commented Apr 7, 2023

@TechGeekUnited
indeed it is true in some respects

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