i am trying to basically replace a webpage's url with its ip address for example, instead of
www.facebook.com
i want to replace it with
66.220.153.11
Rationale
i have recently discovered that our school blocks websites based on a particular string patern in the url for example www.facebook.com is blocked but 66.220.153.11 is not yet they are the same thing.
so i want to learn how to do this using javascript(is this possible?) so i can develop a firefox addon to automatically change the url www.facebook.com to 66.220.153.11 and beat the censorship.
i am usually a c programmer but i know little javascript. Help me out. Thanks