🎉 Add crappy amazon remover
This commit is contained in:
parent
b199c482a5
commit
a8654dc4bb
1 changed files with 22 additions and 0 deletions
22
giveaway.hide.crap.user.js
Normal file
22
giveaway.hide.crap.user.js
Normal 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');
|
||||
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue