Minitools problem

Richard Moore richmoore44 at gmail.com
Sat Mar 22 18:03:14 GMT 2008


On 3/22/08, Anders Lund <anders at alweb.dk> wrote:
> javascript:(function(){var k,x,t,i,j; for(k=0;x=document.links[k];k++)
> {t=x.href.replace(/[%]3A/ig,':').replace(/[%]
> 2f/ig,'/');i=t.lastIndexOf('http://');if(i>0)
> {t=t.substring(i);j=t.indexOf('&');if(j>0)t=t.substring(0,j);x.href=unescape(t)}
> else if (x.onmouseover&&x.onmouseout){x.onmouseover(); if
> (window.status.indexOf('://')!=-1)x.href=window.status; x.onmouseout(); }
> x.onmouseover=null; x.onmouseout=null; }})();

Have you considerred URL encoding them? for example the '%' symbol in
that url may be confusing things as it is followed by ']' rather than
being a valid URL encoded character.

Cheers

Rich.




More information about the kde-core-devel mailing list