Code detail:
javascript:sArgs = location.search.slice(1).split("&"); sA="";NL="";sApp=""; if(sArgs.length>1) { for (var i = 0; i < sArgs.length; i++) { sVar=sArgs[i].slice(0,sArgs[i].indexOf("=")); sVal=sArgs[i].slice(sArgs[i].indexOf("=")+1,sArgs[i].length); if (sVar == "omm") {sApp="#"+sVal;sVar="";sVal=""} if (sVar == "viewmode") {sVar="";sVal=""} if(sVal) NL=NL+sA+sVar+"="+sVal; sA="&"; } document.location.href=document.location.href.slice(0,document.location.href.indexOf("?"))+"?"+NL+"&viewmode=all"+sApp } else { st=document.location.href.slice(document.location.href.lastIndexOf("/")+1,document.location.href.length); NL=st.slice(0,st.indexOf(".html")); st=document.location.href.slice(0,document.location.href.lastIndexOf("/")); fo=st.slice(st.lastIndexOf("/")+1,st.length); document.location.href="http://freizeitparkweb.de/cgi-bin/dcf/dcboard.cgi?az=show_thread&forum="+fo+"&om="+NL+"&viewmode=all"; }new code