Tuesday, August 31, 2010

Block SideWiki on your website

Put this javascript in the < head > section of your web pages:

<script charset="utf-8" type="text/javascript"> 

if( location.href.indexOf('#SWBLK') == -1){
  if( navigator.userAgent.indexOf('GTB') > 0 ){
    var theTime = new Date();
    location.href = location.href + '#SWBLK' + theTime.getTime();
  }
}
</script> 

No comments:

 
Jeffrey Ting Jeffrey Ting on Facebook Jeffrey Ting on Spock Jeffrey Ting on Plaxo Jeffrey Ting on Spoke Jeffrey Ting on LinkedIn