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

About blacklisting #16

Open
Kikobeats opened this issue Sep 25, 2016 · 1 comment
Open

About blacklisting #16

Kikobeats opened this issue Sep 25, 2016 · 1 comment

Comments

@Kikobeats
Copy link

In general terms this library looks like instantclick but more lightweight, so that's good!

I thin that blacklisting links can be improved:

  • data-no-pageAccelerator instead of data-pageAccelerator="false". Or something similar. Less characters, more semantic.
  • Add ability to blacklisting a group of elements. For example, in instantclick:

To blacklist all links in a parent element, add data-no-instant to that element.

@JacobDB
Copy link

JacobDB commented Aug 11, 2017

Being able to disable pageAccelerator via something passed to the function would be fantastic as well. I'm trying to figure out how to exclude the WordPress admin bar from being accelerated, and I think I may just need to write a walker or something.

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

2 participants