Skip to content

Commit

Permalink
fix: fix #64
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesNepote authored Dec 19, 2022
1 parent 808bb42 commit 1e76663
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions OpenFoodFactsPower.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// @name Open Food Facts power user script
// @description Helps power users in their day to day work. Key "?" shows help. This extension is a kind of sandbox to experiment features that could be added to Open Food Facts website.
// @namespace openfoodfacts.org
// @version 2022-12-08T08:20
// @version 2022-12-19T08:20
// @include https://*.openfoodfacts.org/*
// @include https://*.openproductsfacts.org/*
// @include https://*.openbeautyfacts.org/*
Expand Down Expand Up @@ -56,7 +56,7 @@
var proPlatform = false; // TODO: to be included in isPageType()
const pageType = isPageType(); // test page type
const corsProxyURL = "";
log("2022-12-08T08:20 - mode: " + pageType);
log("2022-12-19T08:20 - mode: " + pageType);

// Disable extension if the page is an API result; https://world.openfoodfacts.org/api/v0/product/3222471092705.json
if (pageType === "api") {
Expand Down Expand Up @@ -391,7 +391,6 @@ input.show_comparison {
/* Let nutrition image as tall as Nutrition facts table */
#nutrition_image_copy {
width: 80%;
width: -moz-available;
height: 92%;
}
Expand Down

0 comments on commit 1e76663

Please sign in to comment.