diff --git a/browser/base/content/browser-thumbnails.js b/browser/base/content/browser-thumbnails.js index f7fda70b356a..3c37cc7625b5 100644 --- a/browser/base/content/browser-thumbnails.js +++ b/browser/base/content/browser-thumbnails.js @@ -26,6 +26,11 @@ let gBrowserThumbnails = { _tabEvents: ["TabClose", "TabSelect"], init: function Thumbnails_init() { + try { + if (Services.prefs.getBoolPref("browser.pagethumbnails.capturing_disabled")) + return; + } catch (e) {} + gBrowser.addTabsProgressListener(this); this._tabEvents.forEach(function (aEvent) {