Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 894 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 894 Bytes

userscripts

My userscripts, for public use

scripts:

greenos.user.js
The danish vegan webshop GreenOS merged their code with nuttyvegan, with the unfortunate result that it became nigh impossible to see if a product was in stock, or not.
How it looks before:
Greenos before the script
The script is rather simple, as it just adds a small CSS at the head of the page resulting in the removal of the 'read more' button, and the fading out of the tile.
How it looks after:
Greenos with the script
If the tile doesn't have a background color, it will also apply the 'darkslategray' color to it.

The script is set up to only run on (https://greenos.dk) and (https://nuttyvegan.dk), but will probably work on all woo-commerce sites.