
Loading…
Uncaught SyntaxError: Failed to execute 'querySelector' on 'Document' #440
gavin20
commented
gorhill
commented
You have custom filters?
gorhill
commented
In the pastebin content, I see cosmetic filters which are not possible. The important filter option applies only to network filters, not cosmetic filters. Cosmetic filters have to be legal CSS rules, or else expect uBlock to break.
gorhill
commented
All these filters are invalid filters:
div[class="xpdopen"]^$important
div[class="tvcap"]^$important
div[class="_Ak c"]^$important
div[class="_OKe"]^$important
div[class^="_OKe"]^$important
partnership_analytics^$important
Twitch.tracking^$important
ad_actions^$important
advertisement new_advertisement^$important
And assuming you remove the illegal ^$important part, the following entries are unlikely to accomplish anything, I am not aware of any HTML tags matching any of these:
partnership_analytics
Twitch.tracking
ad_actions
advertisement new_advertisement
HID[class="appbar-guide-notifications"],
google_companion
VIEWSTATE
So you are using nonsensical cosmetic filters. See Writing Adblock Plus filters
gavin20
commented
Understood - I'll remove all of my custom filters and rebuild. Thanks
gorhill
commented
There is really not much uBlock can do here, it's the old computer maxim: garbage in garbage out.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
Recently I've noticed the following reoccurring message via Chrome console for any page I navigate to -
Uncaught SyntaxError: Failed to execute 'querySelector' on 'Document': '[href^="//adbit.co/?a=Advertise&"],
[onclick^="window.open('http://adultfriendfinder.com/search/"],
a[data-redirect^="this.href='http://paid.outbrain.com/network/redir?"],
Complete message located here: http://pastebin.com/GHUZbwaz
Please let me know if you require additional details. Thank you.