-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Please don't throw an Error when vAPI is not available #2565
Comments
Duplicate of #2029. |
Would it at least be possible to not throw the error when uBlock Origin is disabled for a site? Thanks |
Content scripts are declared in the manifest and injected unconditionally by the browser. What would be nice is the chrome API allowing to declare document type filter options in the manifest. |
OK, thanks nonetheless. |
I do plan to do something about this, it's just a question of free time and I do not consider this an issue which is at the top of the list. |
I found an obvious solution to not cause the debugger halt on this error: simply blackbox the content script! |
Describe the issue
I use Chrome for developing and debugging websites and thus always have developer tools open and breakpoint on exceptions enabled. If I am debugging websites with SVGs embedded as
<object>
I always get an exception atuBlock/src/js/contentscript.js
Line 90 in 64c92a9
Please could you just log with
console.error()
instead or something like that? Thank you.One or more specific URLs where the issue occurs
https://rawgit.com/herrernst/cbe60ad2a20e539e266a05d9b64b26f1/raw/7fb184d1bcaf5fea8d39c49f5fe8605d8a28087b/svg-object.html
Screenshot in which the issue can be seen
Steps for anyone to reproduce the issue
<object>
with debugger enabledYour settings
Your filter lists
default/unchanged
Your custom filters (if any)
none
The text was updated successfully, but these errors were encountered: