🚑 Missed this
This commit is contained in:
parent
89d87c706b
commit
a8d5471e06
1 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
// @description Allow removal of visited links on Amazon Giveaway Listing
|
// @description Allow removal of visited links on Amazon Giveaway Listing
|
||||||
// @include https://smile.amazon.com/ga/giveaways*
|
// @include https://smile.amazon.com/ga/giveaways*
|
||||||
// @include https://www.amazon.com/ga/giveaways*
|
// @include https://www.amazon.com/ga/giveaways*
|
||||||
// @version 1.5
|
// @version 1.5.1
|
||||||
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js
|
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js
|
||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|
||||||
|
|
@ -31,7 +31,7 @@ var hideVisited = function(evt) {
|
||||||
};
|
};
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('.landingPageSpacings').on('click', 'a[href*="amazon.com/ga"]', function(evt) {
|
$('#giveaway-grid').on('click', 'a[href*="amazon.com/ga"]', function(evt) {
|
||||||
|
|
||||||
var href = getSmallUrl($(this).attr('href'));
|
var href = getSmallUrl($(this).attr('href'));
|
||||||
localStorage[href] = "visited";
|
localStorage[href] = "visited";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue