From 1a6b267e0bacaf8f76c93f68a538f3bac2515c74 Mon Sep 17 00:00:00 2001 From: Glenn 'devalias' Grant Date: Fri, 6 Mar 2026 16:45:29 +1100 Subject: [PATCH 1/2] [userscript] amazon-prime-gaming-highlighter: expand @match patterns + add luna.amazon.com claims page --- userscripts/amazon-prime-gaming-highlighter/README.md | 5 +++-- .../amazon-prime-gaming-highlighter.user.js | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/userscripts/amazon-prime-gaming-highlighter/README.md b/userscripts/amazon-prime-gaming-highlighter/README.md index 780b432..7a5db3a 100644 --- a/userscripts/amazon-prime-gaming-highlighter/README.md +++ b/userscripts/amazon-prime-gaming-highlighter/README.md @@ -9,8 +9,9 @@ // @supportURL https://github.com/0xdevalias/userscripts/issues // @downloadURL https://github.com/0xdevalias/userscripts/raw/main/userscripts/amazon-prime-gaming-highlighter/amazon-prime-gaming-highlighter.user.js // @namespace https://www.devalias.net/ -// @version 1.0.8 -// @match https://gaming.amazon.com/home +// @version 1.0.9 +// @match https://gaming.amazon.com/home* +// @match https://luna.amazon.com/claims/home* // @grant GM_getValue // @grant GM_setValue // @grant GM_registerMenuCommand diff --git a/userscripts/amazon-prime-gaming-highlighter/amazon-prime-gaming-highlighter.user.js b/userscripts/amazon-prime-gaming-highlighter/amazon-prime-gaming-highlighter.user.js index 64d8bf8..87884d9 100644 --- a/userscripts/amazon-prime-gaming-highlighter/amazon-prime-gaming-highlighter.user.js +++ b/userscripts/amazon-prime-gaming-highlighter/amazon-prime-gaming-highlighter.user.js @@ -6,8 +6,9 @@ // @supportURL https://github.com/0xdevalias/userscripts/issues // @downloadURL https://github.com/0xdevalias/userscripts/raw/main/userscripts/amazon-prime-gaming-highlighter/amazon-prime-gaming-highlighter.user.js // @namespace https://www.devalias.net/ -// @version 1.0.8 -// @match https://gaming.amazon.com/home +// @version 1.0.9 +// @match https://gaming.amazon.com/home* +// @match https://luna.amazon.com/claims/home* // @grant GM_getValue // @grant GM_setValue // @grant GM_registerMenuCommand From 969ebcc5e54fdd90c80592334b60472ede27b587 Mon Sep 17 00:00:00 2001 From: 0xdevalias Date: Mon, 27 Jul 2026 15:13:07 +1000 Subject: [PATCH 2/2] [userscript] copy-github-repo-summary: fix aboutDescription CSS selectors for newer GitHub UI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update the userscript’s repository About extraction logic to match GitHub’s newer SplitPageLayout/Heading markup and grab the description from the SidebarAbout container. --- userscripts/copy-github-repo-summary/README.md | 2 +- .../copy-github-repo-summary.user.js | 11 ++++------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/userscripts/copy-github-repo-summary/README.md b/userscripts/copy-github-repo-summary/README.md index f822688..b760a2f 100644 --- a/userscripts/copy-github-repo-summary/README.md +++ b/userscripts/copy-github-repo-summary/README.md @@ -10,7 +10,7 @@ // @downloadURL https://github.com/0xdevalias/userscripts/raw/main/userscripts/copy-github-repo-summary/copy-github-repo-summary.user.js // @icon https://www.google.com/s2/favicons?sz=64&domain=github.com // @namespace https://www.devalias.net/ -// @version 0.1.3 +// @version 0.1.4 // @match https://github.com/*/* // @run-at document-start // @grant GM_registerMenuCommand diff --git a/userscripts/copy-github-repo-summary/copy-github-repo-summary.user.js b/userscripts/copy-github-repo-summary/copy-github-repo-summary.user.js index 8f17562..f7fafc8 100644 --- a/userscripts/copy-github-repo-summary/copy-github-repo-summary.user.js +++ b/userscripts/copy-github-repo-summary/copy-github-repo-summary.user.js @@ -7,7 +7,7 @@ // @downloadURL https://github.com/0xdevalias/userscripts/raw/main/userscripts/copy-github-repo-summary/copy-github-repo-summary.user.js // @icon https://www.google.com/s2/favicons?sz=64&domain=github.com // @namespace https://www.devalias.net/ -// @version 0.1.3 +// @version 0.1.4 // @match https://github.com/*/* // @run-at document-start // @grant GM_registerMenuCommand @@ -38,15 +38,12 @@ } } - const aboutHeading = [...document.querySelectorAll(".Layout-sidebar h2")] + const aboutHeading = [...document.querySelectorAll('[data-component="SplitPageLayout.Pane"] h2[data-component="Heading"]')] .find(h2 => h2.textContent.trim().toLowerCase() === "about"); - const aboutP = - aboutHeading?.nextElementSibling?.tagName === "P" - ? aboutHeading.nextElementSibling - : null; + const aboutDescriptionContainer = aboutHeading?.parentElement.querySelector('p[class*="SidebarAbout-module__description"]'); - const aboutDescription = aboutP?.textContent?.trim() ?? ""; + const aboutDescription = aboutDescriptionContainer?.textContent?.trim() ?? ""; const markdownSummary = ` - ${repoUrl}