proginosko / LeechBlockNG

LeechBlock NG (Next Generation) for Firefox is a simple productivity tool designed to block those time-wasting sites that can suck the life out of your working day. All you need to do is specify which sites to block and when to block them.
https://www.proginosko.com/leechblock/
Mozilla Public License 2.0
705 stars 65 forks source link

Leechblock on Android does not block pages immediately after firefox launch #449

Open CosineP opened 4 months ago

CosineP commented 4 months ago

Steps to reproduce:

Expected behavior:

Actual behavior:

Leechblock Version: 1.6.4.1 Firefox for Android version: 126.0 (Build #2016019903), hg-3db775a2083d+ GV: 126.0-20240509170740 AS: 126.0 Settings: leechblock settings hard mode.txt

proginosko commented 4 months ago

Thanks for the report. A few follow-up questions:

  1. Does the blocking fail with sites in Block Set 1?
  2. Does the blocking fail if you change to the default blocking page?
  3. Did the problem occur prior to version 1.6.4.1?
CosineP commented 3 months ago
  1. Yes, all block sets
  2. Yes, still fails
  3. I don't know, and I don't know how to downgrade an extension on Android (I can download an old XPI, but can't install it).
proginosko commented 2 months ago

Sorry for the delay in replying.

What happens if you select "Immediately block pages on these sites once blocking conditions are met"?

Also, see what happens if you access the LeechBlock menu after you navigate to the URL (of the site that should be blocked).

CosineP commented 2 months ago
  1. This works! When I checked "Immediately block..." the pages are now correctly blocked even when I quit the browser. This means I can re-install firefox if I want as this is an acceptable workaround. Thank you!
  2. The menu opens, but the page is still available in the first tab.
proginosko commented 2 months ago

According to this user the bug in Firefox for Android that was causing problems has been fixed, so try updating the browser to v128. You might have to reinstall LeechBlock, so export your settings as a backup first.