Render inserted items as links

This commit is contained in:
YUKI Hiroshi 2015-10-26 15:56:58 +09:00
parent e2aaae03ae
commit bad58e2a98

View File

@ -9,13 +9,13 @@
function init()
{
$("div#res.med").prepend('<div><img id="use_GM_openInTab" src="http://i.imgur.com/cQkJVZY.png" title="Open All Links">Use GM_openInTab<br/><br/><br/></div>');
$("div#res.med").prepend('<div><a id="use_GM_openInTab"><img src="http://i.imgur.com/cQkJVZY.png" alt="">Open All Links with GM_openInTab</a></div>');
$('#use_GM_openInTab').click(function()
{
useGMopenIn();
});
$("div#res.med").prepend('<div><img id="use_windowOpen" src="http://i.imgur.com/cQkJVZY.png" title="Open All Links">Use window.open<br/></div>');
$("div#res.med").prepend('<div><a id="use_windowOpen"><img src="http://i.imgur.com/cQkJVZY.png" alt="">Open All Links window.open</a></div>');
$('#use_windowOpen').click(function()
{
useWinOpen();