remove logging some more

This commit is contained in:
Tamius Han 2019-07-03 22:35:01 +02:00
parent 4260e36ade
commit 67d45d265b
2 changed files with 0 additions and 8 deletions

View File

@ -28,8 +28,6 @@ class PageInfo {
this.scheduleUrlCheck(); this.scheduleUrlCheck();
this.currentZoomScale = 1; this.currentZoomScale = 1;
console.log("PAGEINFO: STARTING IN READ ONLY MODE?", readOnly)
} }
destroy() { destroy() {
@ -96,7 +94,6 @@ class PageInfo {
} }
hasVideo() { hasVideo() {
console.log("DO WE HAVE VIDEO?", this.readOnly ? this.hasVideos : this.videos.length)
return this.readOnly ? this.hasVideos : this.videos.length; return this.readOnly ? this.hasVideos : this.videos.length;
} }
@ -133,7 +130,6 @@ class PageInfo {
this.hasVideos = true; this.hasVideos = true;
if (this.readOnly) { 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 // 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. // things that interfere with the website. We still want to be runnig a rescan, tho.

View File

@ -72,15 +72,11 @@ class UW {
if (Debug.debug) { if (Debug.debug) {
console.log("[uw::init] EXTENSION DISABLED, THEREFORE WONT BE STARTED") console.log("[uw::init] EXTENSION DISABLED, THEREFORE WONT BE STARTED")
} }
console.log("[uw::init] EXTENSION DISABLED, THEREFORE WONT BE STARTED")
return; return;
} }
} }
try { try {
if (isSiteDisabled) {
console.log("STARTING EXTENSION IN READ ONLY MODE")
}
this.pageInfo = new PageInfo(this.comms, this.settings, extensionMode, isSiteDisabled); this.pageInfo = new PageInfo(this.comms, this.settings, extensionMode, isSiteDisabled);
if(Debug.debug){ if(Debug.debug){
console.log("[uw.js::setup] pageInfo initialized. Here's the object:", this.pageInfo); console.log("[uw.js::setup] pageInfo initialized. Here's the object:", this.pageInfo);