From 8cefdcf2110425075f64d83feefaa9f84a2503d0 Mon Sep 17 00:00:00 2001 From: Nikolas Date: Fri, 30 Sep 2022 17:17:16 -0700 Subject: [PATCH] Update TampermonkeyScriptForMidJourney.js - MidJourney Tools will now display the panel on every page on midjourney.com (including the new /showcase page), except for the "map" page. --- TampermonkeyScriptForMidJourney.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/TampermonkeyScriptForMidJourney.js b/TampermonkeyScriptForMidJourney.js index 738d630..7fade9c 100644 --- a/TampermonkeyScriptForMidJourney.js +++ b/TampermonkeyScriptForMidJourney.js @@ -1,10 +1,10 @@ // ==UserScript== // @name MidJourney Tools // @namespace http://tampermonkey.net/ -// @version 1.3.0 +// @version 1.3.1 // @description Currently this script is able to augment the midjourney.com website to add the ability to easily save individual images, and bulk save images. // @author Nik -// @match https://www.midjourney.com/app/* +// @match https://www.midjourney.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=midjourney.com // @grant none // @require http://code.jquery.com/jquery-3.4.1.min.js @@ -37,6 +37,10 @@ function renderMjToolsPanel() { $(".mj-tools").remove(); + + // We don't want to render when we're in the map view + if (location.href.indexOf("/app/map/") > 0) return; + $("#searchBlock").before("
"); $(".mj-tools").append("

MidJourney Tools

Mouse over the image you want and press 'd' to download it

") .append("

Images surrounded with a green dotted line have already been downloaded before

")