Hello all
I am new here…
First…if you dont know my answer, maybe you can give me a hint, who can help me out on this one.
I want to make a html page …and I will put it as a button into bookmark of my IE.
(on my computer)
Then, let’s say I am browsing this site:
http://thissite.com
When I press the button from bookmark, the http://thissite.com I want to become:
http://thissite-maintenance.com
It is the same if I go to
Pressing the button - wil lead me to http://google-maintenance.com
So…that’s it.
Maybe you guys already know a IE addon or something that modify the current URL based on the active one. or a script that does that.
I already have this:
var curr_url = window.location.toString();
if (curr_url.indexOf(‘?’)!== -1){
var goodpart = curr_url.split(‘?’);
//alert(goodpart[0]);
window.location = goodpart[0];
}
But…I dont want split.
I want replace…
Thank you in advance