Skip to content

Instantly share code, notes, and snippets.

@cmeury
Last active February 10, 2021 13:36
Show Gist options
  • Save cmeury/9a1b96680974dce3a70aac7d7900e6df to your computer and use it in GitHub Desktop.
Save cmeury/9a1b96680974dce3a70aac7d7900e6df to your computer and use it in GitHub Desktop.
Greasemonkey User Script to hide Mengenrabatt label on digitec.ch
// ==UserScript==
// @name Remove Mengenrabatt
// @description Removes the red Mengenrabatt label from product lists
// @version 1
// @grant none
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
// @include http://www.digitec.ch/*
// @include http://www.galaxus.ch/*
// ==/UserScript==
waitForKeyElements (".ZZfa", removeZZfa);
function removeZZfa (jNode) {
jNode.remove()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment