diff --git a/webext/src/background/tty_commands_mixin.js b/webext/src/background/tty_commands_mixin.js index fb8559f..af0fdd5 100644 --- a/webext/src/background/tty_commands_mixin.js +++ b/webext/src/background/tty_commands_mixin.js @@ -48,6 +48,7 @@ export default MixinBase => _loadConfig(json_string) { this.log(json_string); this.config = JSON.parse(json_string); + this.config.browsh_version = browser.runtime.getManifest().version; if (this.currentTab()) { this.currentTab().sendGlobalConfig(this.config); } diff --git a/webext/src/dom/serialise_mixin.js b/webext/src/dom/serialise_mixin.js index fd38d56..f8c6e39 100644 --- a/webext/src/dom/serialise_mixin.js +++ b/webext/src/dom/serialise_mixin.js @@ -54,7 +54,6 @@ export default MixinBase => // Whether a use has shown support. This controls certain Browsh branding and // nags to donate. userHasShownSupport() { - this.log(this.config.browsh_supporter); return ( this.config.browsh_supporter === "I have shown my support for Browsh" ); @@ -64,7 +63,8 @@ export default MixinBase => if (this.userHasShownSupport()) { return ""; } - return 'by Browsh '; + return 'by Browsh v' + + this.config.browsh_version + ' '; } _getUserFooter() {