Skip to content

Instantly share code, notes, and snippets.

@YSRKEN
Last active August 26, 2016 09:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YSRKEN/8a720ae62167d15d1cc82461ee933342 to your computer and use it in GitHub Desktop.
Save YSRKEN/8a720ae62167d15d1cc82461ee933342 to your computer and use it in GitHub Desktop.
Qiitaで、記事ソース(Markdown)を抽出するブックマークレットを作成しました ref: http://qiita.com/YSRKEN/items/7b313ad83257daac85cb
");
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()})();
```
"),o.document.write(e),o.document.close()})();
```
javascript : (function ()
{
var str = document.getElementById('raw_body').value;
var obj = window.open();
obj.document.open();
obj.document.write(str);
obj.document.close();
})();
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