openfoodfacts / power-user-script

User script for your browser, to empower Open Food Facts contribution
GNU Affero General Public License v3.0
12 stars 5 forks source link

Change isPageType() function to reflect Product Opener evolution #49

Open CharlesNepote opened 3 years ago

CharlesNepote commented 3 years ago

What

Example: if ($(".products")[0]) return "list"; will become if ($(".list_of_products_page")[0]) return "list";

svensven commented 3 years ago

i did at least some of the types in 9e90397943ecf56b2a8469b46c193d270b09b9ae, albeit a different way