🔖 Initial stable version of giveaway
This commit is contained in:
parent
bf03ed2cac
commit
6daf4a01ae
1 changed files with 1 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
|||
// @namespace danielrayjones
|
||||
// @description Allow removal of visited links on Amazon Giveaway Listing
|
||||
// @include https://giveawaylisting.com/
|
||||
// @version 1.0
|
||||
// ==/UserScript==
|
||||
|
||||
var hideVisited = function(evt) {
|
||||
|
|
@ -10,7 +11,6 @@ var hideVisited = function(evt) {
|
|||
var $links = $jq('#giveaways a[href*="amzn.to"]');
|
||||
|
||||
$links.each(function() {
|
||||
console.log(this);
|
||||
var href = $jq(this).attr('href');
|
||||
if (localStorage.getItem(href)) {
|
||||
$jq(this).parent('td').parent('tr').css('display', checked ? 'none' : 'table-row');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue