Skip to content

Instantly share code, notes, and snippets.

@teslamint
Forked from netj/gist:912261
Created August 14, 2011 08:56
Show Gist options
  • Save teslamint/1144720 to your computer and use it in GitHub Desktop.
Save teslamint/1144720 to your computer and use it in GitHub Desktop.
한국 토렌트 사이트의 자바스크립트 다운로드 링크 변환 북마크릿
javascript:var%20s=document.createElement("script");s.src="http://code.jquery.com/jquery-1.5.2.js";document.body.appendChild(s);s.onload=function(){$('a[href^="javascript:file_download("]').each(function(){this.href=eval("var%20file_download=function(a,b){return%20a/*+'#'+b*/;};"+decodeURI(this.href.substring("javascript:".length)));});/*add%20more%20code%20here*/};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment