pageAccelerator icon indicating copy to clipboard operation
pageAccelerator copied to clipboard

About blacklisting

Open Kikobeats opened this issue 8 years ago • 1 comments

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.

Kikobeats avatar Sep 25 '16 10:09 Kikobeats

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.

JacobDB avatar Aug 11 '17 16:08 JacobDB