From a8654dc4bb2b452d871b3aa90f3a9ad990925092 Mon Sep 17 00:00:00 2001 From: Dan Jones Date: Thu, 27 Jul 2017 16:04:08 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=89=20Add=20crappy=20amazon=20remover?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- giveaway.hide.crap.user.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 giveaway.hide.crap.user.js diff --git a/giveaway.hide.crap.user.js b/giveaway.hide.crap.user.js new file mode 100644 index 0000000..85ca0a6 --- /dev/null +++ b/giveaway.hide.crap.user.js @@ -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'); + +});