diff --git a/src/csui/PlayerUiComponent.vue b/src/csui/PlayerUiComponent.vue index 937fed5..957f7eb 100644 --- a/src/csui/PlayerUiComponent.vue +++ b/src/csui/PlayerUiComponent.vue @@ -104,17 +104,18 @@ export default { } } }, - created() { - console.log("created!"); - console.log("store:", this.$store, this); - }, methods: { getUrl(url) { return BrowserDetect.firefox ? browser.runtime.getURL(url) : chrome.runtime.getURL(url); }, async hidePopupForever() { + try { + console.log("++") const settings = new Settings(); + console.log("++0") + await settings.init(); + console.log("++1") if (!settings.active.mutedNotifications) { settings.active.mutedNotifications = {}; diff --git a/src/ext/lib/ar-detect/ArDetector.js b/src/ext/lib/ar-detect/ArDetector.js index 69cb851..48b5fe8 100644 --- a/src/ext/lib/ar-detect/ArDetector.js +++ b/src/ext/lib/ar-detect/ArDetector.js @@ -558,7 +558,6 @@ class ArDetector { } catch (e) { this.logger.log('error', 'arDetect', `%c[ArDetect::frameCheck] <@${this.arid}> %c[ArDetect::frameCheck] can't draw image on canvas. ${this.canDoFallbackMode ? 'Trying canvas.drawWindow instead' : 'Doing nothing as browser doesn\'t support fallback mode.'}`, "color:#000; backgroud:#f51;", e); - console.log('video is protected by DRM', this.drmNotificationShown) // nothing to see here, really, if fallback mode isn't supported by browser if (!this.drmNotificationShown) { this.drmNotificationShown = true; diff --git a/src/ext/lib/uwui/PlayerNotificationUI.js b/src/ext/lib/uwui/PlayerNotificationUI.js index 0b0afc5..bf57ccf 100644 --- a/src/ext/lib/uwui/PlayerNotificationUI.js +++ b/src/ext/lib/uwui/PlayerNotificationUI.js @@ -50,13 +50,11 @@ class PlayerNotificationUi extends UI { }, mutations: { 'uw-set-notification'(state, payload) { - console.log('mutation!', state, payload); state['notificationConfig'] = payload; } }, actions: { 'uw-set-notification'({commit}, payload) { - console.log('action!', commit, payload); commit('uw-set-notification', payload); } } diff --git a/src/ext/lib/uwui/PlayerUI.js b/src/ext/lib/uwui/PlayerUI.js index 312b04e..88fc206 100644 --- a/src/ext/lib/uwui/PlayerUI.js +++ b/src/ext/lib/uwui/PlayerUI.js @@ -57,7 +57,6 @@ class PlayerUi extends UI { }, actions: { 'uw-set-ui-visible'({commit}, payload) { - console.log('action!', commit, payload); commit('uw-set-ui-visible', payload); }, 'uw-toggle-ui'({commit}) {