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 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}