Google Chrome MakeLinkエクステンションテンプレート(BookMark)
上記の記事を元に、良く使うブックマークをメモとしてエントリ。
- MakeLink(for WordPress)
javascript:(function(){var ele=document.createElement('textarea');ele.style.width='100%';ele.value='<a href="'+location.href+'">'+ document.title +'</a>\n';document.body.insertBefore(ele,document.body.firstChild);ele.focus();ele.select();ele.ondblclick=function(){ele.parentNode.removeChild(ele);};ele.oncopy=function(){setTimeout(function(){ele.parentNode.removeChild(ele);},1);return true;}})()
- MakeLink(PukiWiki Style)
javascript:(function(){var ele=document.createElement('textarea');ele.style.width='100%';ele.value='-[['+document.title+'>'+location.href+']]\n';document.body.insertBefore(ele,document.body.firstChild);ele.focus();ele.select();ele.ondblclick=function(){ele.parentNode.removeChild(ele);};ele.oncopy=function(){setTimeout(function(){ele.parentNode.removeChild(ele);},1);return true;}})()
-[[Yahoo JAPAN>http://www.yahoo.co.jp]]
- MakeLink(Hatena Bold Style)
javascript:(function(){var ele=document.createElement('textarea');ele.style.width='100%';ele.value='-<span style="font-weight:bold;">['+location.href+':title='+ document.title +']</span>\n';document.body.insertBefore(ele,document.body.firstChild);ele.focus();ele.select();ele.ondblclick=function(){ele.parentNode.removeChild(ele);};ele.oncopy=function(){setTimeout(function(){ele.parentNode.removeChild(ele);},1);return true;}})()
-<span style="font-weight:bold;">[http://www.yahoo.co.jp/:title=]</span>
- MakeLink(Plane Style)
javascript:(function(){var ele=document.createElement('textarea');ele.style.width='100%';ele.value=''+document.title+' '+location.href+'';document.body.insertBefore(ele,document.body.firstChild);ele.focus();ele.select();ele.ondblclick=function(){ele.parentNode.removeChild(ele);};ele.oncopy=function(){setTimeout(function(){ele.parentNode.removeChild(ele);},1);return true;}})()
Yahoo! JAPAN http://www.yahoo.co.jp/