Default [Q] Browser redirection /url replacement method

I need to modify a URL and redirect automatically.

Say If I enter the web address
Code:
Select Code
http://www.somedb.com/index.html
I would like it to redirect it to
Code:
Select Code
http://ezproxy.yourlib.org/www.somedb.com/index.html
In PC I use a greasemonkey userscript (replace url()) to achieve this.

I haven't seen android browsers which support userscripts. I think a .sh file could be a solution. Perhaps modifying the host file.

Can someone suggest me a method to achieve this.