-
Notifications
You must be signed in to change notification settings - Fork 403
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
Ignore elements? #38
Comments
We will be adding a If you needed to rely on the DOM (aka, can't know the ignore patterns ahead of time), this would be possible: // assumes your links are <a href="..." noprefetch /> to avoid
const toIgnore = Array.from(document.querySelectorAll('a[noprefetch]'), x => x.href);
// run (future) quicklink
quicklink({
filter: url => !toIgnore.includes(url)
}) |
alright, ETA for |
This is really useful if one of the links is "/logout" which may cause deletion of the cookies, etc. Looking forward to it! |
Fixed by 1ff3554. |
Can you ignore specific elements? "Quicklink everything but [...]" case
The text was updated successfully, but these errors were encountered: