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

[Feature Request] Click icon again to de-apply gradients #7

Open
rmlrml opened this issue Nov 17, 2020 · 3 comments
Open

[Feature Request] Click icon again to de-apply gradients #7

rmlrml opened this issue Nov 17, 2020 · 3 comments

Comments

@rmlrml
Copy link

rmlrml commented Nov 17, 2020

Sometimes I want to revert a page to normal after having applied waspline-reader gradients. I realize reloading the page does it, it just seems like why should that be necessary.

@corollari
Copy link
Owner

I see, that should be pretty easy to do by removing all the html <span> elements that waspline-reader creates, would you be interested in creating a PR for it?

@rmlrml
Copy link
Author

rmlrml commented Nov 22, 2020

sorry, I don't know how to code, I'm just a mooch! :(

@westofer
Copy link

westofer commented Mar 19, 2021

 let waspWraper = document.querySelectorAll('.js-detect-wrap')

waspWraper.forEach(span => {
  span.outerHTML = span.innerText
})

probably will open a PR

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

3 participants