Skip to content

Conversation

@hanayuki
Copy link

may resolves #147

I'd like to do the same as in the issue: turn on this plugin only in one page but not in others.
As polyfill() just adds event listener and everything else is inside the event handler, adding the event listener on page load and removing it on page leave can achieve that.
I'm not sure clearPolyfill is proper term and any comments are welcome.

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.

Can I turn it on only one one page?

1 participant