Default [Q] Browser redirection /url replacement method

I need to modify a URL and redirect automatically.

Say If I enter the web address
I would like it to redirect it to
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.