From 9a058d18b7817ff09a2de0a9fff9fb0ea59a9af8 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Sun, 15 Jul 2018 16:35:08 +0200 Subject: [PATCH] Get ready :b:ois, it's happening. 3.0.0 is now officially out of alpha and in stable. --- js/conf/Debug.js | 4 ++-- js/conf/Keybinds.js | 3 --- js/uw-bg.js | 4 +++- manifest.json | 2 +- res/popup/popup.html | 2 +- 5 files changed, 7 insertions(+), 8 deletions(-) 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: