Created
August 13, 2024 09:27
-
-
Save fipso/da900a3bdd9f8252098a55ab0c919e1f to your computer and use it in GitHub Desktop.
Userscript for cannalivery.com to fix blurry prices bug
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 Cannalivery Preise Fix | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-08-11 | |
// @description Fix fuer Preisanzeige auf Cannalivery | |
// @author fipso | |
// @match https://www.cannalivery.com/de/sortiment/cannabisblueten/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=cannalivery.com | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
setInterval(() => { | |
const all = document.querySelectorAll(".woocommerce-Price-amount"); | |
for(const ps of all){ | |
ps.parentNode?.setAttribute("style", "filter: blur(0px) !important"); | |
ps.setAttribute("style", "filter: blur(0px) !important"); | |
} | |
}, 100); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment