🎉 Add crappy amazon remover

This commit is contained in:
Dan Jones 2017-07-27 16:04:08 -05:00
commit a8654dc4bb

View file

@ -0,0 +1,22 @@
// ==UserScript==
// @name Amazon Giveaways Crappy Stuff Remover
// @namespace danielrayjones
// @description Remove stuff I don't like from Amazon Giveaway Listing
// @include https://giveawaylisting.com/
// @version 1.0
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js
// ==/UserScript==
/* global $ */
var hide = function(text) {
$('#giveaways a:contains("' + text +'")')
.parent('td').parent('tr').css('display', 'none');
};
$(document).ready(function() {
hide('LERDU');
hide('D EXCEED');
});