Created
October 21, 2014 04:50
-
-
Save tanatana/ac0930325eae32be94a4 to your computer and use it in GitHub Desktop.
感想書き放題
This file contains 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
javascript:(function(){ | |
var editorBaseURL = "http://blog.hatena.ne.jp/my/edit?"; | |
var title = document.getElementsByClassName('entry-title-link')[0].textContent; | |
var entryURL = document.getElementsByClassName('entry-title-link')[0].href; | |
location.href = editorBaseURL + "title=" + encodeURIComponent(title + "の感想") + "&;body=" + encodeURIComponent("[" + entryURL + ":embed]\n[" + entryURL + ":title]"); | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment