瀏覽代碼

2426 dom.IntersectionObserver.enabled added

default is false anyway. We can readdress this if it ever gets turned on, or used for purposes other than ad networks - I suspect there's nothing really out there using it right now, and the fact 53 is false, I bet there's no big hurry to turn it on due to stability and real world usage.
Thorin-Oakenpants 8 年之前
父節點
當前提交
8ca3176ab1
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      user.js

+ 8 - 0
user.js

@@ -1024,6 +1024,14 @@ user_pref("javascript.options.wasm", false);
 /* 2425: disable ArchiveAPI i.e reading content of archives, such as zip files, directly
  * in the browser, through DOM file objects. Default is false. ***/
 user_pref("dom.archivereader.enabled", false);
+/* 2426: disable Intersection Observer API (FF53+)
+ * Almost a year to complete, three versions late to stable (as default false),
+ * number #1 cause of crashes in nightly numerous times, and is (primarily) an
+ * ad network API for "ad viewability checks" down to a pixel level
+ * [1] https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API
+ * [2] https://wicg.github.io/IntersectionObserver/
+ * [3] https://bugzilla.mozilla.org/show_bug.cgi?id=1243846 ***/
+user_pref("dom.IntersectionObserver.enabled", false);
 /* 2450a: force Firefox to tell you if a website asks to store data for offline use
  * [1] https://support.mozilla.org/en-US/questions/1098540
  * [2] https://bugzilla.mozilla.org/show_bug.cgi?id=959985 ***/