From e8009cc9a2041101a48ab545a8ad8f93fab77e28 Mon Sep 17 00:00:00 2001 From: Glorfindel Date: Sun, 6 Jan 2019 20:17:05 +0100 Subject: [PATCH] - --- show-flag-responses/show-flag-responses.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/show-flag-responses/show-flag-responses.user.js b/show-flag-responses/show-flag-responses.user.js index 0924429..1278b65 100644 --- a/show-flag-responses/show-flag-responses.user.js +++ b/show-flag-responses/show-flag-responses.user.js @@ -5,7 +5,7 @@ // @author Glorfindel // @updateURL https://raw.githubusercontent.com/Glorfindel83/SE-Userscripts/master/show-flag-responses/show-flag-responses.user.js // @downloadURL https://raw.githubusercontent.com/Glorfindel83/SE-Userscripts/master/show-flag-responses/show-flag-responses.user.js -// @version 0.1 +// @version 0.1.1 // @match *://*.stackexchange.com/admin/history/* // @match *://*.stackoverflow.com/admin/history/* // @match *://stackoverflow.com/admin/history/* @@ -37,7 +37,7 @@ let postID = parseInt(matches[1]); // Load Post Flag History page - $.get("https://apple.stackexchange.com/admin/posts/" + postID + "/show-flags", function(data) { + $.get("https://" + document.location.host + "/admin/posts/" + postID + "/show-flags", function(data) { // Search for rows corresponding to the time of handling let deletionDate = $(data).find("span[title='" + time + "']"); if (deletionDate.length == 0)