Skip to content

Instantly share code, notes, and snippets.

@tdtds
Created October 26, 2012 02:21
Show Gist options
  • Save tdtds/3956563 to your computer and use it in GitHub Desktop.
Save tdtds/3956563 to your computer and use it in GitHub Desktop.
Kindle Personal Documentの一覧に一発削除用の「×」マークを付けるBookmarklet
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('×'))})
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