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

Make the bookmarklet toggle-able #9

Open
yodaluca23 opened this issue Feb 28, 2022 · 0 comments
Open

Make the bookmarklet toggle-able #9

yodaluca23 opened this issue Feb 28, 2022 · 0 comments

Comments

@yodaluca23
Copy link

Make the bookmarklet toggle-able, this could be done using an if/else condition like this bookmarklet does that allows you to edit the text on anywebpage when you click it then it stops when you click it again:

javascript:if(document.body.contentEditable !== 'true') { document.body.contentEditable = 'true'; document.designMode='on'; void 0} else { document.body.contentEditable = 'false'; document.designMode='off'; void 0}

This would be a very useful addition!

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