[Feature Request] HTTPS link rewrite / redirect

Ask for help about NoScript, no registration needed to post
asdg343246ajhzxcjhg

[Feature Request] HTTPS link rewrite / redirect

Post by asdg343246ajhzxcjhg »

for sites that their HTTPS version has a different address than their regular one.

for example:

http://www.google.com/search
https://encrypted.google.com/search

http://en.wikipedia.org/wiki/
https://secure.wikimedia.org/wikipedia/en/wiki/


and if possible, a general link re-writer in NoScript could have other creative uses such as making you swim through less clutter when you want to sample a band's music in Myspace

http://www.myspace.com/SomeBand --rewrite to--> http://www.myspace.com/SomeBand/music


also a general link re-writer could be useful for places like Privacy Settings of facebook where it doesn't want you to use HTTPS for some odd reason:

https://www.facebook.com/settings/?tab=privacy&ref=mb --rewrite to--> http://www.facebook.com/settings/?tab=privacy&ref=mb



Thanks for your great work.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
User avatar
Giorgio Maone
Site Admin
Posts: 9546
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: [Feature Request] HTTPS link rewrite / redirect

Post by Giorgio Maone »

It has been already proposed, and will be probably implemented at some point in the future, as an ABE syntax extension, like

Code: Select all

Site http://en.wikipedia.org/wiki/(.*)
Rewrite https://secure.wikimedia.org/wikipedia/en/$1
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

Re: [Feature Request] HTTPS link rewrite / redirect

Post by dhouwn »

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b10pre) Gecko/20110121 Firefox/4.0b10pre
User avatar
Giorgio Maone
Site Admin
Posts: 9546
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: [Feature Request] HTTPS link rewrite / redirect

Post by Giorgio Maone »

dhouwn wrote:In the meantime you could use https://addons.mozilla.org/en-US/firefo ... edirector/
Unfortunately this works for document (page) loads only: subrequests (images, stylesheets, scripts, plugins and so on) are unaffected.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Post Reply