Skip to content

Instantly share code, notes, and snippets.

@mgng
Created December 3, 2009 02:17
Show Gist options
  • Save mgng/247829 to your computer and use it in GitHub Desktop.
Save mgng/247829 to your computer and use it in GitHub Desktop.
bit.lyの後ろに+を付けてリダイレクトさせないようにする
javascript:(function(a,i,l){
a=document.getElementsByTagName('a');
for(i=0,l=a.length;i<l;i++)
if(!a[i].href.indexOf('http://bit.ly/',0))
a[i].href+='+';
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment