From cd986c8e4a8a6e29988827e6218ffbb7a03ae228 Mon Sep 17 00:00:00 2001 From: themeels <64810580+themeels@users.noreply.github.com> Date: Wed, 9 Aug 2023 18:03:07 -0500 Subject: [PATCH 1/4] Update searchhelper.user.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated Dice’s Search Helper to include: User Shops Almost Abandoned Attic (see README) --- searchhelper.user.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/searchhelper.user.js b/searchhelper.user.js index a6b62a0..2b57e3f 100644 --- a/searchhelper.user.js +++ b/searchhelper.user.js @@ -34,6 +34,8 @@ // @match *://*.neopets.com/space/coincidence.phtml // @match *://*.neopets.com/winter/igloo2.phtml // @match *://*.neopets.com/winter/snowfaerie*.phtml* +// @match *://*.neopets.com/browseshop.phtml* +// @match *://*.neopets.com/halloween/garage.phtml* // @icon https://www.neopets.com/favicon.ico // @grant none // ==/UserScript== @@ -363,6 +365,13 @@ if (isBeta) { }); } + // Almost Abandoned Attic + if (document.URL.includes("/garage.phtml")) { + $("img[src*='/items/']").parent().parent().find("b").each(function (k, v) { + $(v).after(makelinks($(v).text())); + }); + } + // Trading Post if (document.URL.includes("/island/tradingpost.phtml")) { $("img[src*='/items/']").each(function (k, v) { @@ -579,6 +588,13 @@ if (isBeta) { } }); } + + // User Shops + if (document.URL.includes("owner=")) { + $("img[src*='/items/']").parent().parent().find("b").each(function (k, v) { + $(v).after(makelinks($(v).text())); + }); + } // Battledome if (document.URL.includes("/dome/neopets")) { From 48fb38d63f25c1862d122b0b24719eae1b87ec6d Mon Sep 17 00:00:00 2001 From: themeels <64810580+themeels@users.noreply.github.com> Date: Wed, 9 Aug 2023 18:06:08 -0500 Subject: [PATCH 2/4] Update searchhelper.user.js --- searchhelper.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searchhelper.user.js b/searchhelper.user.js index 2b57e3f..78018d1 100644 --- a/searchhelper.user.js +++ b/searchhelper.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name Neopets - Search Helper -// @version 1.0.21 +// @version 1.0.21.1 // @namespace neopets // @description Adds convenient search icons to many places // @author diceroll123 From 7701f1768590ae1164e31bc6f19e7dc093eaea73 Mon Sep 17 00:00:00 2001 From: themeels <64810580+themeels@users.noreply.github.com> Date: Wed, 9 Aug 2023 18:21:33 -0500 Subject: [PATCH 3/4] Create README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..a4358c8 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# NeoSearchHelper +Adds search icons under items in various areas. +Almost Abandoned Attic is tricky because the image and text are linked to each other in the No Haggle option. To use the Search Helper icons in the Attic, hit "Cancel" and the link will open. + +![image](https://github.com/themeels/NeoSearchHelper/assets/64810580/3a554a86-1dd7-47df-bf68-6aee02ee1984) From a2e181ee945dd9e4dd142e497dc577f6eb31dd9d Mon Sep 17 00:00:00 2001 From: themeels <64810580+themeels@users.noreply.github.com> Date: Fri, 11 Aug 2023 17:57:43 -0500 Subject: [PATCH 4/4] Update searchhelper.user.js edited @version --- searchhelper.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searchhelper.user.js b/searchhelper.user.js index 78018d1..2b57e3f 100644 --- a/searchhelper.user.js +++ b/searchhelper.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name Neopets - Search Helper -// @version 1.0.21.1 +// @version 1.0.21 // @namespace neopets // @description Adds convenient search icons to many places // @author diceroll123