Created
January 30, 2012 16:02
-
-
Save rskull/1705139 to your computer and use it in GitHub Desktop.
閲覧中のページをツイートする
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//http://rskull.hateblo.jp/entry/2012/03/27/223151 | |
(function (d) { | |
var title = d.title; | |
var ref = d.referrer; | |
var url = location.href; | |
window.open('http://twitter.com/intent/tweet?text=[ '+encodeURI(title)+' ]?url='+url+'&original_referer='+ref, 'win','height=350,width=350'); | |
})(document); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment