Redeem Picker

Continuous Redeem Page

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Redeem Picker
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  Continuous Redeem Page
// @author       CzPeet
// @match        https://www.munzee.com/redeem*
// @icon         https://www.google.com/s2/favicons?domain=munzee.com
// @grant        none
// @license      MIT
// ==/UserScript==

//Remove Alert
$(document.getElementsByClassName("alert")[0]).hide();

//Create EventListeners
var buttons = document.querySelectorAll("a");

[].forEach.call(buttons, function(button) {
  if (button.hasAttribute("data-type"))
      {
          button.addEventListener("click", btnClick, false);
      }
});

function btnClick(sender)
{
    let pageID = sender.target.getAttribute("data-type");
    localStorage.setItem("pageID", pageID);
}

//Hide all again
$('.section-wrapper').hide();

let pageID = (localStorage.getItem("pageID")) ? localStorage.getItem("pageID") : 1;
$('.' + pageID + '-wrapper').show()