From 67d45d265b14e0f37aaa8bc8c88c36ba428b476b Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Wed, 3 Jul 2019 22:35:01 +0200 Subject: [PATCH] remove logging some more --- src/ext/lib/video-data/PageInfo.js | 4 ---- src/ext/uw.js | 4 ---- 2 files changed, 8 deletions(-) diff --git a/src/ext/lib/video-data/PageInfo.js b/src/ext/lib/video-data/PageInfo.js index 12b5e51..dbc76f2 100644 --- a/src/ext/lib/video-data/PageInfo.js +++ b/src/ext/lib/video-data/PageInfo.js @@ -28,8 +28,6 @@ class PageInfo { this.scheduleUrlCheck(); this.currentZoomScale = 1; - - console.log("PAGEINFO: STARTING IN READ ONLY MODE?", readOnly) } destroy() { @@ -96,7 +94,6 @@ class PageInfo { } hasVideo() { - console.log("DO WE HAVE VIDEO?", this.readOnly ? this.hasVideos : this.videos.length) return this.readOnly ? this.hasVideos : this.videos.length; } @@ -133,7 +130,6 @@ class PageInfo { this.hasVideos = true; if (this.readOnly) { - console.log("FOUDN A VIDEO") // in lite mode, we're done. This is all the info we want, but we want to actually start doing // things that interfere with the website. We still want to be runnig a rescan, tho. diff --git a/src/ext/uw.js b/src/ext/uw.js index 584dc6b..b553026 100644 --- a/src/ext/uw.js +++ b/src/ext/uw.js @@ -72,15 +72,11 @@ class UW { if (Debug.debug) { console.log("[uw::init] EXTENSION DISABLED, THEREFORE WONT BE STARTED") } - console.log("[uw::init] EXTENSION DISABLED, THEREFORE WONT BE STARTED") return; } } try { - if (isSiteDisabled) { - console.log("STARTING EXTENSION IN READ ONLY MODE") - } this.pageInfo = new PageInfo(this.comms, this.settings, extensionMode, isSiteDisabled); if(Debug.debug){ console.log("[uw.js::setup] pageInfo initialized. Here's the object:", this.pageInfo);