diff --git a/js/conf/Debug.js b/js/conf/Debug.js index 1c1d516..28d7ecf 100644 --- a/js/conf/Debug.js +++ b/js/conf/Debug.js @@ -1,6 +1,6 @@ // Set prod to true when releasing -// _prod = true; -_prod = false; +_prod = true; +// _prod = false; Debug = { debug: true, diff --git a/js/conf/Keybinds.js b/js/conf/Keybinds.js index fbb344c..dd90121 100644 --- a/js/conf/Keybinds.js +++ b/js/conf/Keybinds.js @@ -23,9 +23,6 @@ class Keybinds { // We only take actions if we're in full screen or not writing a comment var activeElement = document.activeElement; - console.log("[Keybinds::_kbd_process]\n\n\n\n", PlayerData.isFullScreen(), this.inputs.indexOf(activeElement.tagName.toLocaleLowerCase()) !== -1, PlayerData.isFullScreen() && this.inputs.indexOf(activeElement.tagName.toLocaleLowerCase()) !== -1 ); - - if( (! PlayerData.isFullScreen()) && ( (this.inputs.indexOf(activeElement.tagName.toLocaleLowerCase()) !== -1) || (activeElement.getAttribute("role") === "textbox") || diff --git a/js/uw-bg.js b/js/uw-bg.js index 35bce0f..53876d4 100644 --- a/js/uw-bg.js +++ b/js/uw-bg.js @@ -71,7 +71,9 @@ class UWServer { console.log(e); } - console.log("TAB SWITCHED!", this.currentSite) + if(Debug.debug) { + console.log("TAB SWITCHED!", this.currentSite) + } //TODO: change extension icon based on whether there's any videos on current page } diff --git a/manifest.json b/manifest.json index 2316a2c..e939a14 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "Ultrawidify", - "version": "3.0.0a", + "version": "3.0.0", "icons": { "32":"res/icons/uw-32.png", diff --git a/res/popup/popup.html b/res/popup/popup.html index 9bff55d..2918b84 100644 --- a/res/popup/popup.html +++ b/res/popup/popup.html @@ -343,7 +343,7 @@ Ultrawidify version:
- Having an issue?
Report undocumented features bugs via one of the following channels: