Feature Request: block 30x redirects

Bug reports and enhancement requests
Post Reply
Jacob
Posts: 5
Joined: Thu Apr 23, 2009 1:25 am

Feature Request: block 30x redirects

Post by Jacob »

I was wondering if you had considered the ability to block 30x redirects on untrusted sites. With the rise of sites like Twitter, I'm seeing more and more link shortening services that leverage 30x redirections. It'd really like to be able to catch those and see where I'm being redirected before it happens.
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.9) Gecko/2009040821 Firefox/3.0.9 (.NET CLR 3.5.30729)
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3365
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: Feature Request: block 30x redirects

Post by GµårÐïåñ »

You can select in Firefox options (Advanced->General) to check the box that stops and warns you that a page is about to be redirected or reloaded. You can also have a more tight control using blacklist/whitelist scheme by using RefreshBlocker addon.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.0.9) Gecko/2009040821 Firefox/3.0.9
Aerik
Junior Member
Posts: 40
Joined: Fri Mar 20, 2009 5:24 pm

Re: Feature Request: block 30x redirects

Post by Aerik »

You can also change the preference network.http.redirection-limit to 0 or 1. Anything worth using should only be implement at most 1 redirect. You'll need it at 1 or 2 to watch youtube videos.

The default is 20, which I think is ridiculous. 20 redirects? Seriously, Mozilla?

There are other extensions that come in handy. Try Request Policy - it stops 30x redirects immediately.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b4pre) Gecko/20090423 Shiretoko/3.5b4pre
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3365
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: Feature Request: block 30x redirects

Post by GµårÐïåñ »

Those are good suggestions too. For me personally, I use RequestPolicy and it effectively stops it, despite being a little too aggressive for regular users and not 100% bug free yet.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.0.9) Gecko/2009040821 Firefox/3.0.9
User avatar
therube
Ambassador
Posts: 7929
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Feature Request: block 30x redirects

Post by therube »

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b4pre) Gecko/20090423 SeaMonkey/2.0b1pre
Post Reply