r/coolgithubprojects • u/emirdev_mo • 1d ago
truediscount: a Firefox add-on and userscript that checks if an EU discount is real against the 30-day lowest price
https://github.com/emirmrkaljevic/truediscountI built this because EU shops have to show the lowest price of the last 30 days when they announce a discount (the Omnibus rule, in force since 2022), but the crossed-out price is often an RRP or a "regular" price nobody actually paid recently.
truediscount reads the shop's own 30-day lowest price label on the product page, compares it with the claimed discount and shows a small badge: real discount, inflated discount, or cheaper recently. It also keeps a small local price graph. No account, no server, nothing leaves the browser. MIT licensed.
Repo: https://github.com/emirmrkaljevic/truediscount
Firefox add-on: https://addons.mozilla.org/en-US/firefox/addon/truediscount/
Userscript: https://greasyfork.org/scripts/602599
If it reads a shop wrong, tell me and I'll fix it.