Skip to content

Instantly share code, notes, and snippets.

Kazunori Kajihiro k2nr

Block or report user

Report or block k2nr

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@k2nr
k2nr / gist:2025857
Created Mar 13, 2012
[Vichrome]twitter sharing
View gist:2025857
nmap s :Open javascript:(function()%7Bwindow.twttr=window.twttr%7C%7C%7B%7D;var%20D=550,A=450,C=screen.height,B=screen.width,H=Math.round((B/2)-(D/2)),G=0,F=document,E;if(C%3EA)%7BG=Math.round((C/2)-(A/2))%7Dwindow.twttr.shareWin=window.open('http://twitter.com/share','','left='+H+',top='+G+',width='+D+',height='+A+',personalbar=0,toolbar=0,scrollbars=1,resizable=1');E=F.createElement('script');E.src='http://platform.twitter.com/bookmarklets/share.js?v=1';F.getElementsByTagName('head')%5B0%5D.appendChild(E)%7D());
alias share Open javascript:(function()%7Bwindow.twttr=window.twttr%7C%7C%7B%7D;var%20D=550,A=450,C=screen.height,B=screen.width,H=Math.round((B/2)-(D/2)),G=0,F=document,E;if(C%3EA)%7BG=Math.round((C/2)-(A/2))%7Dwindow.twttr.shareWin=window.open('http://twitter.com/share','','left='+H+',top='+G+',width='+D+',height='+A+',personalbar=0,toolbar=0,scrollbars=1,resizable=1');E=F.createElement('script');E.src='http://platform.twitter.com/bookmarklets/share.js?v=1';F.getElementsByTagName('head')%5B0%5D.a
@k2nr
k2nr / gist:1631321
Created Jan 18, 2012
come back wikipedia!
View gist:1631321
javascript:(function(){document.body.removeChild(document.querySelector('#mw-sopaOverlay'));var%20d=document.querySelectorAll('div');for(i%20in%20d){if(d[i].style)d[i].style.display='block';}})();
You can’t perform that action at this time.