console.log removal
This commit is contained in:
parent
804509b3c5
commit
76b380d6c3
@ -104,17 +104,18 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
|
||||||
console.log("created!");
|
|
||||||
console.log("store:", this.$store, this);
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
getUrl(url) {
|
getUrl(url) {
|
||||||
return BrowserDetect.firefox ? browser.runtime.getURL(url) : chrome.runtime.getURL(url);
|
return BrowserDetect.firefox ? browser.runtime.getURL(url) : chrome.runtime.getURL(url);
|
||||||
},
|
},
|
||||||
async hidePopupForever() {
|
async hidePopupForever() {
|
||||||
|
try {
|
||||||
|
console.log("++")
|
||||||
const settings = new Settings();
|
const settings = new Settings();
|
||||||
|
console.log("++0")
|
||||||
|
|
||||||
await settings.init();
|
await settings.init();
|
||||||
|
console.log("++1")
|
||||||
|
|
||||||
if (!settings.active.mutedNotifications) {
|
if (!settings.active.mutedNotifications) {
|
||||||
settings.active.mutedNotifications = {};
|
settings.active.mutedNotifications = {};
|
||||||
|
@ -558,7 +558,6 @@ class ArDetector {
|
|||||||
} catch (e) {
|
} 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);
|
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
|
// nothing to see here, really, if fallback mode isn't supported by browser
|
||||||
if (!this.drmNotificationShown) {
|
if (!this.drmNotificationShown) {
|
||||||
this.drmNotificationShown = true;
|
this.drmNotificationShown = true;
|
||||||
|
@ -50,13 +50,11 @@ class PlayerNotificationUi extends UI {
|
|||||||
},
|
},
|
||||||
mutations: {
|
mutations: {
|
||||||
'uw-set-notification'(state, payload) {
|
'uw-set-notification'(state, payload) {
|
||||||
console.log('mutation!', state, payload);
|
|
||||||
state['notificationConfig'] = payload;
|
state['notificationConfig'] = payload;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
actions: {
|
actions: {
|
||||||
'uw-set-notification'({commit}, payload) {
|
'uw-set-notification'({commit}, payload) {
|
||||||
console.log('action!', commit, payload);
|
|
||||||
commit('uw-set-notification', payload);
|
commit('uw-set-notification', payload);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -57,7 +57,6 @@ class PlayerUi extends UI {
|
|||||||
},
|
},
|
||||||
actions: {
|
actions: {
|
||||||
'uw-set-ui-visible'({commit}, payload) {
|
'uw-set-ui-visible'({commit}, payload) {
|
||||||
console.log('action!', commit, payload);
|
|
||||||
commit('uw-set-ui-visible', payload);
|
commit('uw-set-ui-visible', payload);
|
||||||
},
|
},
|
||||||
'uw-toggle-ui'({commit}) {
|
'uw-toggle-ui'({commit}) {
|
||||||
|
Loading…
Reference in New Issue
Block a user