Last active
February 10, 2021 13:36
-
-
Save cmeury/9a1b96680974dce3a70aac7d7900e6df to your computer and use it in GitHub Desktop.
Greasemonkey User Script to hide Mengenrabatt label on digitec.ch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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