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

Disables text highlighting in MS Edge #4

Open
RationalRabbit opened this issue Feb 2, 2021 · 0 comments
Open

Disables text highlighting in MS Edge #4

RationalRabbit opened this issue Feb 2, 2021 · 0 comments

Comments

@RationalRabbit
Copy link

RationalRabbit commented Feb 2, 2021

This code disables the ability to highlight text in MS Edge and Chrome. This is easy enough to avoid pre-initialization by not initializing until it is needed (I simply load it with a link: (onclick="_init(); _showDialog();"). I am not adept enough to know the proper way to remove this event listener. So once it is opened, the user loses the ability to highlight text. This seems to only be a problem in Edge and Chrome.

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

1 participant