2019-02-13 14:20:08 +01:00
|
|
|
|
// ==UserScript==
|
|
|
|
|
// @name Courses U allergies
|
|
|
|
|
// @namespace http://amnesix.eu
|
|
|
|
|
// @description Affiche une alerte lorsqu'un produit contient un des ingrédients interdits
|
|
|
|
|
// @include https://www.coursesu.com/*
|
|
|
|
|
// @include http://www.coursesu.com/*
|
2019-02-13 14:27:38 +01:00
|
|
|
|
// @version 2.3
|
2019-02-13 14:20:08 +01:00
|
|
|
|
// @grant none
|
2019-02-13 14:21:32 +01:00
|
|
|
|
// @require https://code.amnesix.eu/guillaume/allergies-userscripts/raw/branch/master/Allergies-1.1.js
|
2019-02-13 14:20:08 +01:00
|
|
|
|
// ==/UserScript==
|
|
|
|
|
(function() {
|
2019-02-13 14:27:38 +01:00
|
|
|
|
document.querySelectorAll('div.tab-ingredient p').forEach(Allergies.process);
|
2019-02-13 14:20:08 +01:00
|
|
|
|
})();
|