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

Keep printliminated sections on screen and add keyboard shortcut Alt+Delete to remove hidden sections from the DOM #28

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

odebroqueville
Copy link

First, I apologize with the formatting issues I've had that make it difficult to see the changes that I made to your code! I made these changes so that Printliminator would be compatible with Omnivore's web clipper, so that printliminated sections don't get saved to Omnivore.

I replaced event.which (which is deprecated) with event.key, and therefore also changed the keys object. I also added an entry for remove: to be able to remove the hidden sections from the DOM.

I also added the function removeHidden() which removes the hidden sections from the DOM.

When running grunt --force, I got some warnings I don't understand but nothing too bad as the changes are working.

Last but not least, I hope you'll consider transforming this useful extension to manifest v3 as Google will be deprecating mv2 come June.

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

Successfully merging this pull request may close these issues.

None yet

1 participant