How to block page redirect to some URL?

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey
Post Reply
Hubbitus
Posts: 2
Joined: Fri May 01, 2020 3:12 pm

How to block page redirect to some URL?

Post by Hubbitus »

Hello.

Said I have page https://jira.example.com on any page it checks IP and if I come from some network redirects me to something like https://duo-ng.example.com/check?final_ ... MiOiAiamly

I want to block such redirect and just stay on that page with some error.

I've tried to add a custom rule like:

Code: Select all

||duo-ng.example.com/check*
And

Code: Select all

https://duo-ng.example.com/check*
And still without success.

Redirect come from Location HTTP header.

Could you please help me write a correct rule?
Hubbitus
Posts: 2
Joined: Fri May 01, 2020 3:12 pm

Re: How to block page redirect to some URL?

Post by Hubbitus »

Guys, someone please.
User avatar
greiner
ABP Developer
Posts: 899
Joined: Mon Sep 03, 2012 5:29 pm
Location: Cologne, Germany

Re: How to block page redirect to some URL?

Post by greiner »

I agree that preventing redirects could be a nice feature for ad blockers but it's currently not supported and it's still unclear whether browser extensions are technically able to do that.That being said, there is a GitLab issue under which we track that request and it has been seeing some attention again recently (see core#95) so any feedback on that would be helpful.

As far as I can tell, the scenario you're describing doesn't seem to be related to blocking ads though, or am I misunderstanding it?
sandymark
Posts: 1
Joined: Fri May 29, 2020 7:08 pm
Location: 106 middle ave. Elyria, OHIO
Contact:

Re: How to block page redirect to some URL?

Post by sandymark »

Hi, I an sandy mark. So you mean there is no such rule to block these pages.
davis
Posts: 1
Joined: Mon Jun 22, 2020 6:51 am
Contact:

Re: How to block page redirect to some URL?

Post by davis »

Hi,
Thank you for the information that helped me!
Post Reply