Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// ==UserScript==
// @name delete kindle item
// @namespace
// @include*
// @include*
// @version 1
// ==/UserScript==
jQuery('<button id="delete_all_item" style="margin-left:10px;">delete all</button>').insertAfter('#searchTextGoButton');
jQuery('#delete_all_item').click(function () {
var asin = jQuery(this).attr('id').replace(/^Row.*_/,'');
Fion.deleteItem(' ' + asin);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.