Skip to content
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

Delay process happens 2 times a lot of the time. #490

Open
mgmmgm14 opened this issue Sep 9, 2024 · 8 comments
Open

Delay process happens 2 times a lot of the time. #490

mgmmgm14 opened this issue Sep 9, 2024 · 8 comments

Comments

@mgmmgm14
Copy link

mgmmgm14 commented Sep 9, 2024

I use leechblock on all ( * ) sites to make me wait after every new page.

Many times when clickinkg on a link I have to wait for 2 delay process instead of 1 and it is very annoying because it adds randomness (slot machine) to the process and is the opposite of what I'm looking for, a predictable response.
A few times it happens because url changes / redirects in the process, and others I couldn't find the cause. But it happens a lot. Even when creating this issue, on the new issue button.

The solution would be "skip delays for 5 seconds after exiting the delay page in the same tab".

@proginosko
Copy link
Owner

Can you provide an example of a website where this happens frequently, so I can test it?

@mgmmgm14
Copy link
Author

mgmmgm14 commented Sep 29, 2024

www.reddit.com
https://www.reddit.com/r/AskMen

the first i remeber, can provide more

@proginosko
Copy link
Owner

Is the option "Block only first accessed page of site when delaying page is used" selected?

See what happens when you enter the same URL, but with a final / added (e.g., https://www.reddit.com/r/AskMen/). Do you get the double delay in that case as well?

@mgmmgm14
Copy link
Author

Is the option "Block only first accessed page of site when delaying page is used" selected?
No

See what happens when you enter the same URL, but with a final / added (e.g., https://www.reddit.com/r/AskMen/). Do you get the double delay in that case as well?

only 1 delay
but reddit displays the hyperlink to access the subreddit without the final / and then adds it as a redirect and changes the url.

Happens in firefox and in chrome too, its worse in chrome btw.

@proginosko
Copy link
Owner

Okay, so the issue is that the browser is adding a final / which triggers another block/delay cycle.

For now, the workaround would be to select "Block only first accessed page of site when delaying page is used".

@mgmmgm14
Copy link
Author

mgmmgm14 commented Sep 29, 2024

But that Beats the purpose i need. I need the extensión to delay after every new link clicked inside the site so i slow down after every click instead of just before accessing only the first hyperlink in that domain. A constant barrage of delays so i dont spend too much time inside them without hard blocks
A time based solution like wait 5 seconds after delay finishes (and click is done or not depending on settings) before Blocking again is what is needed to deal with this redirects like in reddit.com that redirects to reddit.com/?rdt=64262.

@mgmmgm14
Copy link
Author

mgmmgm14 commented Sep 29, 2024

redirects like in facebook login page "forgot my password" setting that changes url triggers 2 delay cycles.

also leechblock's chrome store site:
https://chromewebstore.google.com/detail/blaaajhemilngeeffpbfkdjjoefldkok

@proginosko
Copy link
Owner

Try this. Go to "Advanced Options" and enter a number (1 or 2 should do it) in the option "Wait __ second(s) after page has loaded before checking blocking conditions".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants