Open HiddenMachine3 opened 2 years ago
Open the browser console (Ctrl+Shift+I) and you should see a more specific error message in the warnings feed. Please copy that message here.
For trying to download options file I get :
[LBNG] Cannot download options: Error: Download canceled by the user
Although I don't know what to do about the blocking not working situation.
When you click "Export Options to File" do you get the usual "Save As" dialog box? Or do you immediately get the error message?
Immediately get the error message
Strange. I wonder if it's a permissions issue. Try this: open the LeechBlock Options page, open the browser console (Ctrl+Shift+I), and enter this line of code:
browser.permissions.getAll().then((result) => { console.log(result.permissions); });
You should see something like this:
Array(6) [ "downloads", "menus", "storage", "tabs", "unlimitedStorage", "webNavigation" ]
This is what i got:
Okay, so it looks like the permissions are okay.
Can you export/import to/from sync storage without errors? If that works, you might export to sync storage, uninstall and reinstall the extension, then import back from sync storage. I'm wondering if that might fix the issue with the blocking not working as well.
But before you do that, try enabling diagnostic mode (under General options) and see what comes up in the browser console when you try to access a site that should be blocked.
It said that it exported options to sync storage successfully. couldn't find anything in console, however removing and adding the plugin did the trick. Although sync storage options didn't get imported. For now the problem is gone. Thanks
Different problem this time:
it seems that if i open slither.io even though i blocked it in my blockset, it doesn't get blocked. Although agar.io in the same block set gets blocked(after 5 s of opening)
This is my current blockset that blocks agar.io correctly, but doesn't block slither.io:
Also problem of exporting options to file is still not resolved :
All this was done after removing and downloading the extension again
The following errors were seen when i opened browser console and started slither.io:
above problem is observed with other sites too
Those errors in the console are from other extensions. Errors from LeechBlock will start with:
moz-extension://18782b4e-c6fd-4f66-909b-e4d051c0de01/
Let's try and figure out why slither.io isn't getting blocked. Go to LeechBlock Options > About and open the diagnostics page. Enter http:\\slither.io
into the field, click Test URL, and see what the output is (post it here).
Okay, that shows that LB is correctly determining that the site should be blocked. The question is why it isn't actually blocked. What URL are you using for the blocking page?
actually it was http://slither.io , but even that is showing the same result.
I was using " *.io "to block it. What url are you talking about specifically
I'm asking what URL you have in the field "Enter the fully specified URL of the page to show instead of these blocked sites".
blocked.html?$S&$U
Okay, try this:
Make sure "Errors" and "Logs" are selected for the browser console output.
No errors were displayed:
Can you post a screenshot of your "When to Block" settings?
issue similar to : https://github.com/proginosko/LeechBlockNG/issues/179
Having similar issues on Firefox 122.0 on Arch Linux.
Try this:
Go to the Add-ons Manager (about:addons), click on LeechBlock NG in the list of extensions, then select the Permissions tab. Is the option "Access your data for all websites" selected at the bottom?
Try this:
Go to the Add-ons Manager (about:addons), click on LeechBlock NG in the list of extensions, then select the Permissions tab. Is the option "Access your data for all websites" selected at the bottom?
This fixed my problem. Thank you so much! Maybe add a notification at install warning if the permission isn't enabled it may not work?
Hey, The websites included in my blocklist are not being blocked anymore on firefox(104.0.1 (64-bit)) ubuntu(22.04.1). When I try to export options to file it says "Unable to download exported options"
Please tell me if you need anymore information. Any help would be appreciated.