瀏覽代碼

Stricter hiddenImages rule

Gaël Métais 9 年之前
父節點
當前提交
453a5cda2e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/metadata/policies.js

+ 1 - 1
lib/metadata/policies.js

@@ -970,7 +970,7 @@ var policies = {
         "tool": "phantomas",
         "label": "Hidden images",
         "message": "<p>List of all images that have a display:none property, or one of their parents. These images are loaded by the browser even if they're not visible. You might be able to find a way to lazy-load them, only when they get visible.</p><p>Trackers are an exception, you'd better hide them.</p>",
-        "isOkThreshold": 3,
+        "isOkThreshold": 1,
         "isBadThreshold": 12,
         "isAbnormalThreshold": 30,
         "hasOffenders": true