Skip to content

Loading…

CSS Selector Error #765

Closed
sanilunlu opened this Issue · 3 comments

2 participants

@sanilunlu

I've seen that it prints the following error message on my dev console over and over:
contentscript-end.js:350 Uncaught SyntaxError: Failed to execute 'querySelector' on 'Document': '[a long css selector expression]' is not a valid selector.
This is related to the following line: https://github.com/gorhill/uBlock/blob/master/src/js/contentscript-end.js#L350

I checked the selector expression and found that the part causing the error is:
div[id="wptouch-head" class="metabox-holder"]
I don't really know which abp subscription rule leads to this selector, since I didn't notice this before, it should've started recently.

@gorhill

Did you look if it's in your own filters?

@gorhill

I don't see this in any filter lists. To me it looks like you are feeding uBlock with this one way or another: custom filter lists or custom filters.

@sanilunlu

Sorry for that, it's my mistake. I had a custom filter from the following site which contains the faulty selector:
http://adblock.gjtech.net/?format=adblock-plus

@gorhill gorhill closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.