Created
October 26, 2012 02:21
-
-
Save tdtds/3956563 to your computer and use it in GitHub Desktop.
Kindle Personal Documentの一覧に一発削除用の「×」マークを付けるBookmarklet
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:jQuery('span.headerStatus').each(function(){var e=jQuery(this);e.append(jQuery('<a>').attr('href',e.attr('id').replace(/^Row.*_/,'javascript:Fion.deleteItem("deleteItem_')+'");return false;').text('×'))}) |
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
setTimeout(function(){ | |
$('.headerStatus').each(function(){ | |
var e = jQuery(this); | |
e.append( | |
$('<a>'). | |
attr('href' ,e.attr('id'). | |
replace(/^Row.*_/, 'javascript:Fion.deleteItem("deleteItem_')+'");'). | |
text('×') | |
); | |
}) | |
}, 3000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment