Last active
August 26, 2016 09:11
-
-
Save YSRKEN/8a720ae62167d15d1cc82461ee933342 to your computer and use it in GitHub Desktop.
Qiitaで、記事ソース(Markdown)を抽出するブックマークレットを作成しました ref: http://qiita.com/YSRKEN/items/7b313ad83257daac85cb
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
"); | |
obj.document.write(str); | |
obj.document.close(); | |
})(); | |
/* 圧縮後 */ | |
javascript:(function(){var e=document.getElementById("raw_body").value,o=window.open();o.document.open(),o.document.write(""),o.document.write(e),o.document.close()})(); | |
``` |
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
"),o.document.write(e),o.document.close()})(); | |
``` |
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 str = document.getElementById('raw_body').value; | |
var obj = window.open(); | |
obj.document.open(); | |
obj.document.write(str); | |
obj.document.close(); | |
})(); |
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 str = document.getElementById('raw_body').value; | |
var obj = window.open(); | |
obj.document.open(); | |
obj.document.write("<pre><code>"); | |
obj.document.write(str); | |
obj.document.close(); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment