cancel
Showing results for 
Search instead for 
Did you mean: 

Anyone know how to do a redirect in firefox?

HairyMcbiker
All Star
Posts: 6,792
Thanks: 266
Fixes: 21
Registered: ‎16-02-2009

Re: Anyone know how to do a redirect in firefox?

Strange I am on my "server" at the moment. Running Mint 17.3 Mate. FF 43.04
Installed Redirector but it isn't showing on the menu bar, but I have chat & pocket neither of which I recognise.
Time to blow this profile away.
SpendLessTime
Hero
Posts: 3,000
Thanks: 928
Fixes: 86
Registered: ‎21-09-2009

Re: Anyone know how to do a redirect in firefox?

@spoon
Yep I should have used a code tag as the forum software put those stupid ...'s in the URL's, I keep forgetting that feature  Smiley
And yes those darn spaces got to me too when I tried to cut and paste the book url from here.
@hairy
I used the add-on with FF 43.0.4 with my normal uBlock Origin enabled and had no issues.
Just checked again today with FF 44 and again no issues, went to amazon.com, searched for the divergent series in kindle and then every link I clicked was diverted to the .co.uk amazon site.
Ex - Plusnet Customer (2009 - 2023) now with BT
HairyMcbiker
All Star
Posts: 6,792
Thanks: 266
Fixes: 21
Registered: ‎16-02-2009

Re: Anyone know how to do a redirect in firefox?

OK purged the firefox profile and re-installed working on here. Now to see what it stopping it on my main pc.
I did say I had added spaces in the post  Smiley
SpendLessTime
Hero
Posts: 3,000
Thanks: 928
Fixes: 86
Registered: ‎21-09-2009

Re: Anyone know how to do a redirect in firefox?

On the other PC, open the Browser console from the FF developers menu and click the "Net" tab before clicking on the link in the .com site.
The first line outputted should be the full .co.uk URL if the redirector addon is working.
Ex - Plusnet Customer (2009 - 2023) now with BT
HairyMcbiker
All Star
Posts: 6,792
Thanks: 266
Fixes: 21
Registered: ‎16-02-2009

Re: Anyone know how to do a redirect in firefox?

I get this:
NS_ERROR_MALFORMED_URI: Component returned failure code: 0x804b000a (NS_ERROR_MALFORMED_URI) [nsIIOService2.newURI]
GET http://www.amazon.com/Divergent-Trilogy-Book-1-ebook/dp/B004CFA9RS/ref=asap_bc
jelv
Seasoned Hero
Posts: 26,785
Thanks: 971
Fixes: 10
Registered: ‎10-04-2007

Re: Anyone know how to do a redirect in firefox?

@georgelnx
The other useful tag to know is [nobbc]some text[/nobbc] which stops anything inside being messed about with. If you quote this post you'll see I had to use it to show you the tag itself.
nobbc = no bulletin board code
jelv (a.k.a Spoon Whittler)
   Why I have left Plusnet (warning: long post!)   
Broadband: Andrews & Arnold Home::1 (FTTC 80/20)
Line rental: Pulse 8 Home Line Rental (£14.40/month)
Mobile: iD mobile (£4/month)
SpendLessTime
Hero
Posts: 3,000
Thanks: 928
Fixes: 86
Registered: ‎21-09-2009

Re: Anyone know how to do a redirect in firefox?

@hairy
Weird.
I just copied and pasted that URL in the error message and it worked. Puzzling.
I did have one thought and that is if you use HTTPS then the rule needs to use the https in the url patterns, so you need 2 redirector rules, 1 for http and another for https.
I guess you'll need to disable all add-ons and extensions and just enable the redirector which should work and then go through enabling the others to see when it stops working.

@spoon
I'll have to try and remember that one too.
Ex - Plusnet Customer (2009 - 2023) now with BT
HairyMcbiker
All Star
Posts: 6,792
Thanks: 266
Fixes: 21
Registered: ‎16-02-2009

Re: Anyone know how to do a redirect in firefox?

I thought about the https messing with it, but the amazon urls are http not s. Checked once open def. http.
OK time to start disabling extensions.
jelv
Seasoned Hero
Posts: 26,785
Thanks: 971
Fixes: 10
Registered: ‎10-04-2007

Re: Anyone know how to do a redirect in firefox?

At least you know now what you are trying to do will work if you can just beat it in to submission!
jelv (a.k.a Spoon Whittler)
   Why I have left Plusnet (warning: long post!)   
Broadband: Andrews & Arnold Home::1 (FTTC 80/20)
Line rental: Pulse 8 Home Line Rental (£14.40/month)
Mobile: iD mobile (£4/month)
HairyMcbiker
All Star
Posts: 6,792
Thanks: 266
Fixes: 21
Registered: ‎16-02-2009

Re: Anyone know how to do a redirect in firefox?

This is getting silly.
Everything disabled bar the redirector. STILL not working.
SpendLessTime
Hero
Posts: 3,000
Thanks: 928
Fixes: 86
Registered: ‎21-09-2009

Re: Anyone know how to do a redirect in firefox?

Attached is a screen grab of my redirector rules
Ex - Plusnet Customer (2009 - 2023) now with BT
HairyMcbiker
All Star
Posts: 6,792
Thanks: 266
Fixes: 21
Registered: ‎16-02-2009

Re: Anyone know how to do a redirect in firefox?

Got exactly the same error in the debug log.
Not tried the (s) rule yet
SpendLessTime
Hero
Posts: 3,000
Thanks: 928
Fixes: 86
Registered: ‎21-09-2009

Re: Anyone know how to do a redirect in firefox?

@hairy
You are missing a slash after the word ebook and before the $2 in the "redirect  to" setting and also missing the slash after the ebook  in the "include pattern"
Ex - Plusnet Customer (2009 - 2023) now with BT
HairyMcbiker
All Star
Posts: 6,792
Thanks: 266
Fixes: 21
Registered: ‎16-02-2009

Re: Anyone know how to do a redirect in firefox?

Added slashes, still same issue.
Now to create a new profile and re-install my add-ons.
Be back later.
SpendLessTime
Hero
Posts: 3,000
Thanks: 928
Fixes: 86
Registered: ‎21-09-2009

Re: Anyone know how to do a redirect in firefox?

I have now been able to get the error message
11:49:42.022 NS_ERROR_MALFORMED_URI: Component returned failure code: 0x804b000a (NS_ERROR_MALFORMED_URI) [nsIIOService2.newURI]1 BrowserUtils.jsm:92:0

And it is caused by having the "redirect to:" set as
www.amazon.co.uk/$1ebook/$2

If you set it to
http://www.amazon.co.uk/$1ebook/$2
it works.
Ex - Plusnet Customer (2009 - 2023) now with BT