Skip to content

Instantly share code, notes, and snippets.

@fipso
Created August 13, 2024 09:27
Show Gist options
  • Save fipso/da900a3bdd9f8252098a55ab0c919e1f to your computer and use it in GitHub Desktop.
Save fipso/da900a3bdd9f8252098a55ab0c919e1f to your computer and use it in GitHub Desktop.
Userscript for cannalivery.com to fix blurry prices bug
// ==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