Hi Striezel,
vielleicht klappt das so:
if(index(document.location.href,'?')!=-1){
document.location.href=substr(document.location.href,0,index(document.location.href,'?'));
}else{
document.location.href=document.location.href+"?";
}
Das "?", welches ich nach "else" an den String anhänge soll lediglich bewirken, dass die Seite nicht aus dem Cache geladen wird.
Ciao
Andreas