-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Buttons don't respond on strict blocking warning pages. #806
Comments
IIRC there's no platform where Chrome 31 works but Chrome 45 doesn't, so I don't know why you're still using Chrome 31; I do know that Chrome dropped support for OS X Leopard after 21, and for Debian 6 after 27, but I haven't seen any drop in platform support after 31. I guess rare cases like yours would lead to the desire to be able to download an older version of a Chrome extension from the store, and to keep extensions from updating to known-incompatible versions. |
I suppose there are error messages in the dev console of the "strict blocking" page? (Ctrl-Shift-I) |
Maybe this: "Uncaught TypeError: Cannot read property 'length' of undefined"? |
"document-blocked.js:201". |
You have a line number with the error message? |
"Line 201, Column 1" appears above the error message when I click on "document-blocked.js:201". And this is shown as line 201: " if ( url === null || url.search.length === 0 ) {". |
I guess more defensive coding is in order: |
Sorry, I was caught yesterday as non-human by a GitHub robot and my profile was blocked in the middle of the conversation... Now I'm back. Is there anything more I can help about this issue? |
Except that this doesn't explain why the error occurs.
Can you try this javascript snippet in the browser console (any one will do)? (paste at the bottom of the console, hit enter, see result).
|
The result: "TypeError: Cannot read property 'length' of undefined". |
Can you try:
Then expand the result to see the listed properties? For example, on my side I get:
|
The result here is "URL {}" too, but I don't know how to expand it... |
In Chrome, you should see a ▶ symbol, that when clicked will expand the list of properties; in other modern browsers, the interface is similar. |
Here in my console I don't see such symbol. |
Try replacing the trailing |
Here is what I get (there are many more levels of expansion, tell me how further I have to go):
|
Thanks, this explains the problem. Could you try one last js snippet to confirm the fix?
|
|
Ugh, sorry, there was a mistake in my js snippet. Can you rather try:
|
|
I'm using Chrome 31.0.1650.63 (a bit old, I know, but...). Since uBlock 1.1.0.0 the buttons on strict blocking warning pages have stopped responding to mouse and keyboard (links still work). The only way of accessing blocked sites is whitelisting them manually on the dashboard...
Thank you for all the great work in uBlock!
The text was updated successfully, but these errors were encountered: