I'm trying to build a chrome extension which is able to set an url parameter, or change a parameter if it's already set at the end of the curent url of my website. This should be done in the backround. I'm not sure if this is possible.
I'd like to change url's like this
../bibliothek/Retrospect-of-Western-Travel
../bibliothek/Retrospect-of-Western-Travel?ref=kap-01
to this:
http://www.lexikus.de/bibliothek/Retrospect-of-Western-Travel?ref=chrome
I think, first I have to set this permissions in my manifest.jason
"permissions": [
"webRequest",
"*://*.google.com/"
],
I was not able make a working adaption of the script in this question: Is it possible to rewrite url (with extra parameters) with a Chrome extension
But I think my question is a bit different. I hope you can help me. Thank you very much! Hajue