diff --git a/changelog.txt b/changelog.txt index 488004912..59affddce 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,8 @@ -v1.2.0 +v1.2.1 +----- +- Hotfix after latest Steam changes + +v1.2.0 ----- - Complete rework of Options page. Feels so fresh now. - Added option to open external links in new tab diff --git a/changelog_new.html b/changelog_new.html index 6a33a0ebd..294375f8c 100644 --- a/changelog_new.html +++ b/changelog_new.html @@ -1,22 +1,5 @@ -

New and improved

- -

Fixes

-

For more information, check out our website or discord channel

diff --git a/js/content/common.js b/js/content/common.js index ce95ce347..9f7eb3c9f 100644 --- a/js/content/common.js +++ b/js/content/common.js @@ -949,17 +949,20 @@ let EnhancedSteam = (function() { // Triggers the unhandledrejection handler, so that the error is not fully suppressed Promise.reject(err); - } + }; self.removeAboutLinks = function() { if (!SyncedStorage.get("hideaboutlinks")) { return; } - document.querySelector("div.header_installsteam_btn").remove(); + let node = document.querySelector("div.header_installsteam_btn"); + if (node) { node.remove(); } if (User.isSignedIn) { - document.querySelector(".submenuitem[href='https://store.steampowered.com/about/']").remove(); + let node = document.querySelector(".submenuitem[href^='https://store.steampowered.com/about/']"); + if (node) { node.remove(); } } else { - document.querySelector(".menuitem[href='https://store.steampowered.com/about/']").remove(); + let node = document.querySelector(".menuitem[href^='https://store.steampowered.com/about/']"); + if (node) { node.remove(); } } }; diff --git a/js/core.js b/js/core.js index 5104bc61f..258de6ee5 100644 --- a/js/core.js +++ b/js/core.js @@ -1,5 +1,5 @@ const Info = { - 'version': "1.2.0", + 'version': "1.2.1", }; /** diff --git a/manifest.json b/manifest.json index 823bc1872..794f5bba6 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "Augmented Steam", - "version": "1.2.0", + "version": "1.2.1", "description": "Augments your Steam Experience", "icons": { "128": "img/es_128.png",