w43L: FBps: no more proxies

There is too many ways to avoid censorship or websites blocking, one of the best ways is to use a proxy server and if you are in syria you already know that facebook doesn’t work (except for https), anyway using a proxy have it’s drawbacks (it could be slow, it stops working, …),so here comes the solution “FBps”.

How to install it:

all you’ll need is: firefox, greasemonkey & the FBps script.

after installing greasemonkey (if you don’t have it already), visit FBps and a window pops out asking you if you want to install the script, accept and you are ready to go, test and give me your feedback  (:

How does it work:

the basic idea is really simple, it just redirects any request to http://facebook.com to https://facebook.com

Create your own:

it is not rocket science you know, it is only one line of code, a magical one  though :P , so if you are a developer and would like to give it a tryor you would like to port it something other than firefox please be my guest, here is the code

window.location.href = window.location.href.replace(/^http:/, 'https:');

it worth mentioning that this same line is taken from Dive Into Greasemonkey book in the GMailSecure example by Mark Pilgrim.

Hope you find it useful

cheers (: