mb. REVIVE DELETED EDITORS

musicbrainz.org: reveal deleted editors’ names and emphasizes your own name to standout in MB pages

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği yüklemek için Tampermonkey gibi bir uzantı yüklemeniz gerekir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

Bu stili yüklemek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için Stylus gibi bir uzantı kurmanız gerekir.

Bu stili yükleyebilmek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı kurmanız gerekir.

Bu stili yükleyebilmek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         mb. REVIVE DELETED EDITORS
// @version      2026.3.5
// @description  musicbrainz.org: reveal deleted editors’ names and emphasizes your own name to standout in MB pages
// @namespace    https://github.com/jesus2099/konami-command
// @supportURL   https://github.com/jesus2099/konami-command/labels/mb_REVIVE-DELETED-EDITORS
// @author       jesus2099
// @licence      CC-BY-NC-SA-4.0; https://creativecommons.org/licenses/by-nc-sa/4.0/
// @licence      GPL-3.0-or-later; http://www.gnu.org/licenses/gpl-3.0.txt
// @since        2012-11-16
// @icon         data:image/gif;base64,R0lGODlhEAAQAOMMAAAAAP8A/wJR1MosEqGhBPyZUAD/APW1hQD///vPp///AP7++P///////////////yH5BAEKAA8ALAAAAAAQABAAAARbUMlJq0Ll6AN6z0liYNnWLV84FmUBLIsAAyqpuTEgA4VomzFUyMfaaDy9WhFw/PRoK6Zn2lFyqNio58DKSAEjQnczPtTEN+ww3AIMBrM1Qpxxud80VWDP7/sNEQA7
// @grant        none
// @match        *://*.musicbrainz.org/*edits*
// @match        *://*.musicbrainz.org/area/*/users*
// @match        *://*.musicbrainz.org/artist/*
// @match        *://*.musicbrainz.org/edit/*
// @match        *://*.musicbrainz.org/election*
// @match        *://*.musicbrainz.org/label/*
// @match        *://*.musicbrainz.org/recording/*
// @match        *://*.musicbrainz.org/release/*
// @match        *://*.musicbrainz.org/release-group/*
// @match        *://*.musicbrainz.org/search*type=editor*
// @match        *://*.musicbrainz.org/statistics/editors*
// @match        *://*.musicbrainz.org/user/*
// @match        *://*.musicbrainz.org/work/*
// @match        *://musicbrainz.eu/*edits*
// @match        *://musicbrainz.eu/area/*/users*
// @match        *://musicbrainz.eu/artist/*
// @match        *://musicbrainz.eu/edit/*
// @match        *://musicbrainz.eu/election*
// @match        *://musicbrainz.eu/label/*
// @match        *://musicbrainz.eu/recording/*
// @match        *://musicbrainz.eu/release/*
// @match        *://musicbrainz.eu/release-group/*
// @match        *://musicbrainz.eu/search*type=editor*
// @match        *://musicbrainz.eu/statistics/editors*
// @match        *://musicbrainz.eu/user/*
// @match        *://musicbrainz.eu/work/*
// @run-at       document-idle
// ==/UserScript==
"use strict";
/* - --- - --- - --- - START OF CONFIGURATION - --- - --- - --- - */
var editors = {
	      "208": ["2001-01-19", "2014-01-28", "bawjaws"],
	      "387": ["2001-05-22", "2010-10-29", "tturner"],
	    "10698": ["2002-07-01", "2020-12-29", "djce"],
	    "31952": ["2003-12-02", "2005-10-30", "supershawn"],
	    "32978": ["2003-12-13", "2005-12-16", "tenebrous"],
	    "39883": ["2004-03-06", "2017-06-10", "HairMetalAddict"],
	    "49249": ["2004-05-15", "2017-04-21", "inhouseuk"],
	    "52273": ["2004-06-14", "2015-06-06", "DrMuller"],
	    "62590": ["2004-09-04", "2021-09-09", "Senax"],
	    "90166": ["2005-01-24", "2017-06-07", "SenRepus"],
	    "93418": ["2005-02-08", "2013-03-05", "Rhymeless"],
	    "95678": ["2005-02-18", "2012-09-24", "brianfreud"],
	    "99308": ["2005-03-06", "2022-08-31", "istartedajoke"],
	   "112569": ["2005-04-24", "2014-05-30", "c777"],
	   "127397": ["2005-06-19", "2024-04-17", "notmebug"],
	   "129671": ["2005-06-30", "2009-02-02", "Shlublu"],
	   "135888": ["2005-07-28", "2015-09-21", "artysmokes"],
	   "150844": ["2005-09-26", "2020-05-24", "insolite", "theless"],
	   "157767": ["2005-10-20", "2010-01-05", "michael"],
	   "161352": ["2005-11-01", "2006-07-08", "claiborne"],
	   "163497": ["2005-11-09", "2012-07-12", "RedHotHeat"],
	   "186010": ["2005-12-30", "2012-11-29", "robojock"],
	   "193948": ["2006-01-20", "2008-01-27", "syserror"],
	   "240330": ["2006-07-03", "2012-11-27", "theirfour"],
	   "273412": ["2006-10-28", "2011-02-25", "Sturla"],
	   "296720": ["2007-01-22", "2012-03-12", "radiopilote"],
	   "313128": ["2007-03-31", "2009-02-06", "mistoffeles"],
	   "339844": ["2007-07-31", "2022-01-05", "Hape40"],
	   "346478": ["2007-08-31", "2011-05-28", "neothe0ne"],
	   "373252": ["2007-12-28", "2012-01-09", "frhoo"],
	   "385667": ["2008-02-29", "2019-10-22", "abelcheung"],
	   "386354": ["2008-03-04", "2008-04-03", "grosnombril"],
	   "420821": ["2008-09-10", "2014-07-19", "kaik", "a.k.a. jozo"],
	   "448034": ["2009-02-07", "2012-03-05", "maviles"],
	   "450522": ["2009-02-21", "2011-05-24", "dr_zepsuj"],
	   "457889": ["2009-04-12", "2014-01-12", "deivsonscherzinger"],
	   "477405": ["2009-10-06", "2015-02-01", "asmodood"],
	   "503832": ["2010-05-04", "2014-09-02", "Arctic"],
	   "563581": ["2011-06-13", "2015-04-04", null, "Russian 39,274 edits"],
	   "619363": ["2012-01-02", "2013-01-15", "ra7h35m20s"],
	   "629372": ["2012-04-04", "2014-04-08", "nightspirit"],
	   "636638": ["2012-06-15", "2020-04-22", "ssri"],
	   "638936": ["2012-07-07", "2014-12-21", "betegouveia", "puppet master"],
	   "639228": ["2012-07-08", "2014-12-21", "ritaavenida", "betegouveia sockpuppet"],
	   "639229": ["2012-07-08", "2013-07-12", null, "betegouveia sockpuppet"],
	   "639231": ["2012-07-08", "2014-12-21", "harrystykes", "betegouveia sockpuppet"],
	   "639236": ["2012-07-08", "2014-12-21", "niallhoran", "betegouveia sockpuppet"],
	   "659136": ["2012-08-17", "2022-02-23", "rwheaton1"],
	   "660026": ["2012-08-23", "2017-09-21", "Sami-Perkele"],
	   "667117": ["2012-10-16", "2015-01-02", "m___ah", "the 555,555 edits editor"],
	   "678525": ["2012-11-05", "2016-05-16", "hcm"],
	   "688976": ["2012-11-09", "2023-09-02", "fka.co"],
	   "692638": ["2012-11-23", "2013-06-25", "macs0647-jd", "puppet master"],
	   "692651": ["2012-11-24", "2013-06-29", "devore_imperium / rama_3", "macs0647-jd sockpuppet"],
	   "692817": ["2012-11-25", "2013-06-30", "rama_3 / devore_imperium", "macs0647-jd sockpuppet"],
	   "696572": ["2012-12-17", "2013-07-02", "commander.atvar", "macs0647-jd sockpuppet"],
	   "701624": ["2013-01-06", "2014-07-12", "Honorable"],
	   "701715": ["2013-01-07", "2013-01-30", "remdia"],
	   "705720": ["2013-01-27", "2017-01-03", "j7n"],
	   "726919": ["2013-03-26", "2013-09-06", "dirkvd"],
	   "774387": ["2013-06-06", "2014-12-21", "Wanddis"],
	   "774638": ["2013-06-06", "2015-10-03", "MusicMatch Inc."],
	   "791672": ["2013-06-14", "2013-12-08", "georg187", "only some test edits"],
	   "800638": ["2013-06-19", "2014-12-21", "nicolebahls", "betegouveia sockpuppet"],
	   "809366": ["2013-06-23", "2014-12-21", "xoxtina", "betegouveia sockpuppet"],
	   "864612": ["2013-07-18", "2017-03-24", "rohfrane"],
	   "984246": ["2013-09-14", "2015-03-25", "♀girls"],
	  "1024627": ["2013-10-04", "2014-12-21", "bvlgari", "betegouveia sockpuppet"],
	  "1220077": ["2014-01-24", "2014-06-11", "DCEX"],
	  "1288668": ["2014-06-29", "2014-12-21", "khaleesi", "betegouveia sockpuppet"],
	  "1304704": ["2014-10-12", "2015-03-22", "superpoota"],
	  "1306704": ["2014-10-22", "2014-10-24", null, "betegouveia sockpuppet"], /* LOL https://musicbrainz.org/edit/29794898 */
	  "1460614": ["2015-11-29", "2022-05-20", "LevisGuy569"],
	  "1481087": ["2015-12-22", "2016-11-13", "FEarBG"],
	  "1525830": ["2016-02-12", "2020-11-14", "Indya_UKMusic"],
	  "1603482": ["2016-05-12", "2016-05-13", "kemecat"],
	  "1629393": ["2016-06-08", "2016-06-28", "Minaya69"],
	  "1642944": ["2016-06-23", "2016-10-21", "🖕"],
	  "1667628": ["2016-07-23", "2016-08-02", "gerff93"],
	  "1668275": ["2016-07-24", "2020-09-17", "German Industrial"],
	  "1676087": ["2016-08-02", "2016-09-06", "itsgbitch", "1st, seung3panda"], /* https://musicbrainz.org/edit/40556089 */
	  "1687525": ["2016-08-17", "2016-09-14", "seung3panda", "itsgbitch"],
	  "1702177": ["2016-09-04", "2017-09-01", "Remix42"],
	  "1712953": ["2016-09-16", "2016-09-17", "itsgbitch", "2nd"],
	  "1713810": ["2016-09-18", "2017-02-12", "itsgbitch", "3rd"],
	  "1720612": ["2016-09-26", "2019-09-14", "d3reu"],
	  "1725712": ["2016-10-02", "2021-06-27", "mothermantrarecords"],
	  "1726052": ["2016-10-02", "2020-05-05", "Savonarolla", "PeteFr"],
	  "1732753": ["2016-10-10", "2016-10-11", "aidenpearce", "에이든"],
	  "1776918": ["2016-12-27", "2016-12-30", "psycosid08"],
	  "1801019": ["2017-02-07", "2020-10-13", "Jorgosch"],
	  "1807782": ["2017-02-17", "2022-10-11", "librious", "now wtfislibrious"],
	  "1821469": ["2017-03-08", "2017-03-10", "RiaTimkin", "now WhatsGoingOnHere"],
	  "1902342": ["2017-06-20", "2019-08-26", "Leon Thompson"],
	  "1902982": ["2017-06-21", "2017-11-26", "lucascarvalho"],
	  "1907093": ["2017-06-27", "2021-05-03", "luchengue"],
	  "1967224": ["2017-11-27", "2020-06-08", "frankied1974"],
	  "1985555": ["2018-02-16", "2020-01-11", "reianasmiley"],
	  "1996939": ["2018-03-24", "2021-01-01", "suitmadeofacid"],
	  "1999552": ["2018-04-04", "2020-08-05", "Rautechre"],
	  "2000516": ["2018-04-07", "2020-03-09", "officialandyriversmusic"],
	  "2014752": ["2018-06-10", "2020-02-25", "Extra Ego"],
	  "2015866": ["2018-06-16", "2019-12-27", "Ash_Kusanagi"],
	  "2016994": ["2018-06-22", "2020-08-26", "kidnplay1992"],
	  "2019808": ["2018-07-07", "2024-03-21", "lessblue"],
	  "2029401": ["2018-09-09", "2019-09-27", "kimmyschmidt"],
	  "2031553": ["2018-09-23", "2021-01-23", "Herman Nick"],
	  "2033920": ["2018-10-09", "2019-01-17", "therealdero"],
	  "2037442": ["2018-10-31", "2021-11-21", "xoPlanet"],
	  "2039971": ["2018-11-16", "2019-08-28", "Dyekho"],
	  "2040792": ["2018-11-22", "2019-08-07", "fhm0096"],
	  "2049662": ["2019-01-16", "2019-01-17", "therealdero", "2nd"],
	  "2055537": ["2019-02-23", "2020-03-05", "sogato"],
	  "2057975": ["2019-03-11", "2021-03-31", "NeroA"],
	  "2058627": ["2019-03-16", "2019-09-07", "Sabiel"],
	  "2067274": ["2019-05-10", "2019-09-19", "mczn", "Dyekho related"],
	  "2069823": ["2019-05-26", "2019-08-27", "psycosid08"],
	  "2071313": ["2019-06-04", "2024-06-20", "Echelon69", "Piotr Sakowski (WindowsLover)"],
	  "2073100": ["2019-06-17", "2020-04-20", "austinthecat_"],
	  "2077649": ["2019-07-15", "2019-07-23", "gabriel17"],
	  "2077726": ["2019-07-15", "2021-08-19", "Syknro"],
	  "2079098": ["2019-07-23", "2019-09-27", "johnminaj", "kimmyschmidt sockpuppet"],
	  "2079481": ["2019-07-25", "2019-09-27", "paulcharles", "kimmyschmidt sockpuppet"],
	  "2079868": ["2019-07-28", "2019-09-27", "adidua", "kimmyschmidt sockpuppet"],
	  "2081027": ["2019-08-04", "2019-09-27", "mabelmcvey", "kimmyschmidt sockpuppet"],
	  "2081491": ["2019-08-06", "2019-09-27", "remixes", "kimmyschmidt sockpuppet"],
	  "2081988": ["2019-08-09", "2019-09-27", "kimpetras", "kimmyschmidt sockpuppet"],
	  "2082150": ["2019-08-10", "2019-08-13", "Sanz_Jaume"],
	  "2085412": ["2019-08-29", "2019-09-20", "akzarseraff", "Dyekho related"],
	  "2088948": ["2019-09-19", "2019-09-27", "baharakuhssain", "Dyekho related"],
	  "2089142": ["2019-09-20", "2019-09-22", "zeneto", "Dyekho related"],
	  "2091257": ["2019-10-02", "2020-03-03", "patrikstan", "Dyekho related"],
	  "2091259": ["2019-10-02", "2020-07-07", "jamesclaus", "Dyekho related"],
	  "2091262": ["2019-10-02", "2020-02-17", "eriksonfaust", "Dyekho related"],
	  "2091263": ["2019-10-02", "2020-11-01", "susanst", "Dyekho related"],
	  "2094767": ["2019-10-22", "2020-11-05", "richswit"],
	  "2094889": ["2019-10-23", "2025-02-21", "bonchiver"],
	  "2095818": ["2019-10-29", "2020-02-09", "selflesswhere"],
	  "2096579": ["2019-11-03", "2019-11-07", "Copticrain"],
	  "2098294": ["2019-11-13", "2019-11-22", "kidindigo"],
	  "2098471": ["2019-11-14", "2023-10-30", "hammerhead hillbilly"],
	  "2099778": ["2019-11-22", "2019-12-01", "raja123456kumar"],
	  "2101303": ["2019-12-01", "2020-02-05", "raja123456kumar", "2nd"],
	  "2102815": ["2019-12-10", "2019-12-11", "EnricoDAniello"],
	  "2104175": ["2019-12-18", "2021-01-03", "quentinn51"],
	  "2107500": ["2020-01-07", "2020-01-27", "stopcatfishingme"],
	  "2108563": ["2020-01-13", "2020-01-19", "twain.m"],
	  "2109527": ["2020-01-19", "2020-01-21", "st.layney"],
	  "2113176": ["2020-02-07", "2020-02-08", "SVPetey"],
	  "2115873": ["2020-02-20", "2020-03-23", "panica"],
	  "2119631": ["2020-03-06", "2021-03-19", "reloxx"],
	  "2120024": ["2020-03-08", "2020-03-09", "KashChaching"],
	  "2126958": ["2020-04-11", "2021-02-25", "Gigga"],
	  "2128769": ["2020-04-20", "2022-10-12", "Reacher888"],
	  "2128948": ["2020-04-21", "2020-04-23", "dreamonates"],
	  "2130532": ["2020-04-28", "2020-06-04", "bkuli"],
	  "2135553": ["2020-05-21", "2022-03-24", "robertson2000"],
	  "2135970": ["2020-05-23", "2020-05-29", "Stef Gez", "Ash_Kusanagi"],
	  "2138248": ["2020-06-04", "2021-03-29", "theless", "insolite"],
	  "2138975": ["2020-06-08", "2020-06-15", "Gueguerre", "Ash_Kusanagi"],
	  "2140306": ["2020-06-15", "2023-01-30", "irimi1"],
	  "2140492": ["2020-06-16", "2020-07-29", "ballenby"],
	  "2146822": ["2020-07-19", "2025-01-18", "Leonard0056"],
	  "2152377": ["2020-08-17", "2020-08-19", "Chris TDL"],
	  "2153382": ["2020-08-22", "2020-08-23", "senatorfan71"],
	  "2157396": ["2020-09-12", "2023-02-23", "RML"],
	  "2165201": ["2020-10-21", "2020-10-29", "Smallthing", "Ash_Kusanagi"],
	  "2169689": ["2020-11-13", "2025-12-17", "Eric Haynes"],
	  "2171912": ["2020-11-25", "2021-04-29", "nosechoser"],
	  "2178133": ["2020-12-24", "2020-12-24", "rusti4"],
	  "2179996": ["2021-01-01", "2021-05-16", "teichmaster2021"],
	  "2182152": ["2021-01-11", "2021-10-18", "Misty_Pond"],
	  "2183329": ["2021-01-17", "2021-10-06", "~", "insolite"],
	  "2192825": ["2021-02-28", "2021-05-15", "Sufi Parveen"],
	  "2194024": ["2021-03-05", "2021-04-20", "kesenwang"],
	  "2208833": ["2021-05-10", "2021-05-17", "farhanxmd1"],
	  "2209388": ["2021-05-13", "2021-08-17", "dragongandon"],
	  "2209736": ["2021-05-15", "2021-05-16", "Serj P."],
	  "2209780": ["2021-05-15", "2021-05-17", "Xi789"],
	  "2229737": ["2021-09-03", "2021-09-15", "Nightrob"],
	  "2244710": ["2021-11-29", "2024-09-08", "awrc"],
	  "2261819": ["2022-03-04", "2022-08-17", "junglejim1999"],
	  "2261832": ["2022-03-04", "2023-01-03", "ice 9"],
	  "2264788": ["2022-03-21", "2023-10-13", "NaiJi"],
	  "2273743": ["2022-05-08", "2022-11-07", "vapidllama"],
	  "2290727": ["2022-08-04", "2022-08-15", "somemusicdude"],
	  "2292618": ["2022-08-16", "2022-08-20", "kennycostoya"],
	  "2324456": ["2022-11-10", "2023-02-28", "dynamiteisfired999"],
	  "2418856": ["2023-10-12", "2023-12-29", "Kushisu"],
	  "2421684": ["2023-10-24", "2023-12-26", "Jeffrey2107"],
	  "2423474": ["2023-10-31", "2023-11-09", "chris19087"],
	  "2433209": ["2023-12-06", "2024-02-01", "thisdata48", "Mr. ban evader"],
	  "2433852": ["2023-12-09", "2024-06-12", "ftfwstg"],
	  "2439008": ["2023-12-29", "2025-01-29", "esspeecy"],
	  "2499129": ["2024-06-26", "2025-03-03", "ianm_sings"],
	  "2531358": ["2024-10-05", "2025-08-02", "Cosmos88"],
	  "2582476": ["2025-02-17", "2025-06-17", "DJ Lamberto DJ"],
	  "2589042": ["2025-03-11", "2025-04-22", "bingusbogus"],
	  "2594625": ["2025-03-31", "2025-10-23", "Asawin"],
	  "2598968": ["2025-04-16", "2025-06-15", "Antichrist01", "Piotr Sakowski (WindowsLover)"],
	  "2603539": ["2025-05-04", "2025-05-22", "Daredevil5150"],
	  "2513197": ["2024-08-15", "2024-09-22", "Echelon666", "Piotr Sakowski (WindowsLover)"],
	  "2530114": ["2024-10-02", "2025-01-31", "Peter69", "Piotr Sakowski (WindowsLover)"],
	  "2577447": ["2025-02-01", "2025-02-11", "PS123", "Piotr Sakowski (WindowsLover)"],
	  "2707154": ["2025-12-17", "2026-02-17", "aricoleman"],
	  "2731977": ["2026-02-01", "", "WindowsLover", "Piotr Sakowski"],
 "WindowsLover": "Piotr Sakowski: Weblate / Antichrist01 / Echelon69 / Echelon666 / Peter69 / PS123 / WindowsLover",
	/* “funny” stuff */
	"jesus2099": "GOLD MASTER KING",
	    "%you%": "BEST MB EDITOR EVER",
};
var standout /* from the crowd */ = true;
/* - --- - --- - --- - END OF CONFIGURATION - --- - --- - --- - */
var MBS = location.protocol + "//" + location.host;
var you = document.querySelector("div.header ul.menu li.account a[href^='/user/']");
var css = document.createElement("style");
css.setAttribute("type", "text/css");
document.head.appendChild(css);
css = css.sheet;
css.insertRule("a.j2revivededitor {color: darkred !important; text-decoration: line-through}", 0);
if (document.querySelector("div.header ul.menu li.account a[href$='/logout'], div#page") == null) { return; }
if (you) {
	if (editors["%you%"]) {
		you = unescape(you.getAttribute("href").match(/[^/]+$/));
		if (!editors[you]) { editors[you] = editors["%you%"]; }
		delete editors["%you%"];
	}
	if (standout) {
		css.insertRule("div#page a[href='" + MBS + "/user/" + you + "'], div#page a[href='/user/" + you + "'] { background-color: yellow; color: purple; }", 0);
	}
}
for (var editor in editors) if (Object.prototype.hasOwnProperty.call(editors, editor)) {
	var deletedEditor = typeof editors[editor] != "string";
	var editorName = deletedEditor ? "Deleted Editor #" + editor : editor;
	var namewas = editors[editor][2] ? editors[editor][2] : "?";
	document.title = deletedEditor ? document.title.replace(new RegExp(editorName + "(”)?"), namewas + "$1") : document.title.replace(new RegExp("^Editor( “" + editorName + "”)"), editors[editor] + "$1");
	if (deletedEditor) {
		editors[editor] = {begin: editors[editor][0], end: editors[editor][1], namewas: namewas, comment: editors[editor][3]};
		if (document.title.match(/^editor not found/i) && location.pathname.match("^/user/" + editors[editor].namewas)) {
			var node = document.querySelector("div#page > h1");
			if (node) {
				node.replaceChild(document.createTextNode(" “" + editors[editor].namewas + "” → “" + editorName + "”"), node.firstChild);
				node.insertBefore(document.createElement("img"), node.firstChild).setAttribute("src", "/static/images/icons/loading.gif");
			}
			node = document.querySelector("div#page > p");
			if (node) {
				removeChildren(node);
				node.style.setProperty("color", "darkred");
				node.appendChild(document.createTextNode("Please wait while you are redirected to the editor page (" + editors[editor].namewas + " has been renamed to " + editorName + ")…"));
			}
			location.replace(MBS + "/user/" + encodeURIComponent(editorName));
			return;
		} else {
			editors[editor].fullspan = editors[editor].begin + " 〜 " + editors[editor].end;
			editors[editor].shortend = "until " + editors[editor].end.substring(0, 4);
			var dur = (new Date(editors[editor].end) - new Date(editors[editor].begin)) / 1000 / 60 / 60 / 24 + 1;
			var unit = "day";
			if (dur % 30  < dur) {
				if (dur % 365 < dur) {
					dur /= 365;
					unit = "year";
				} else {
					dur /= 30;
					unit = "month";
				}
			}
			dur = Math.round(dur);
			editors[editor].duration = "active " + dur + " " + unit + (dur == 1 ? "" : "s");
			editors[editor].title = editorName + "\n" + editors[editor].namewas + (editors[editor].comment ? " (" + editors[editor].comment + ")" : "") + "\n" + editors[editor].duration + " (" + editors[editor].fullspan + ")";
			var as = document.querySelectorAll("a[href='/user/" + encodeURIComponent(editorName) + "']");
			for (var a = 0; a < as.length; a++) {
				for (var n = 0; n < as[a].childNodes.length; n++) {
					if ((as[a].childNodes[n].nodeType == Node.TEXT_NODE || as[a].childNodes[n].nodeType == Node.ELEMENT_NODE && as[a].childNodes[n].matches("bdi")) && as[a].childNodes[n].textContent == editorName) {
						as[a].replaceChild(document.createTextNode(editors[editor].namewas), as[a].childNodes[n]);
						as[a].setAttribute("title", editors[editor].title);
						as[a].classList.add("tooltip", "j2revivededitor");
						var moreInfo = document.createDocumentFragment();
						moreInfo.appendChild(document.createTextNode("("));
						if (editors[editor].comment) {
							moreInfo.appendChild(document.createElement("b")).appendChild(document.createTextNode(editors[editor].comment));
							moreInfo.appendChild(document.createTextNode(", "));
						}
						moreInfo.appendChild(document.createTextNode(editors[editor].duration + " " + editors[editor].shortend + ")"));
						moreInfo.normalize();
						var comment = document.createElement("span");
						comment.classList.add("comment");
						comment.appendChild(moreInfo);
						addAfter(comment, as[a]);
						addAfter(document.createTextNode(" "), as[a]);
						break;
					}
				}
			}
			var inputs = document.querySelectorAll("form#edit-search li.condition span.field-editor > span.autocomplete.editor > input.name.ui-autocomplete-input.lookup-performed[value='" + editorName + "']");
			for (var i = 0; i < inputs.length; i++) {
				inputs[i].setAttribute("_deletedEditor", inputs[i].value);
				inputs[i].value = editors[editor].namewas;
				inputs[i].setAttribute("title", editors[editor].title);
				inputs[i].style.setProperty("color", "darkred");
				inputs[i].addEventListener("focus", swapValues);
				inputs[i].addEventListener("blur", swapValues);
				document.querySelector("form#edit-search").addEventListener("submit", function() {
					var oldValues = document.querySelectorAll("input.name.ui-autocomplete-input.lookup-performed[_focus-value]");
					for (var v = 0; v < oldValues.length; v++) {
						oldValues[v].value = oldValues[v].getAttribute("_focus-value");
					}
				});
			}
		}
	}
	if (location.href.match(new RegExp("^" + MBS + "/user/" + escape(editorName) + "$"))) {
		var entryHeader = document.querySelectorAll("table.profileinfo > tbody > tr > th");
		for (var h = 0; h < entryHeader.length; h++) {
			if (entryHeader[h].textContent.match(/user type/i)) {
				var userType = getSibling(entryHeader[h], "td");
				if (userType) {
					userType.setAttribute("title", userType.textContent.trim());
					removeChildren(userType);
					userType.appendChild(document.createTextNode(deletedEditor ? editorName : editors[editor]));
					userType.style.setProperty("font-weight", "bold");
					userType.style.setProperty("text-shadow", "0 0 4px gold");
				}
			} else if (entryHeader[h].textContent.match(/member since/i)) {
				if (deletedEditor) {
					document.title = document.title.replace(new RegExp("(“" + editors[editor].namewas + "”)"), "$1 (" + editors[editor].shortend + ")");
					entryHeader[h].parentNode.parentNode.insertBefore(profileEntry("Membership", editors[editor].duration + " (" + editors[editor].fullspan + ")"), entryHeader[h].parentNode);
					if (editors[editor].comment) {
						entryHeader[h].parentNode.parentNode.insertBefore(profileEntry("Comment", editors[editor].comment), entryHeader[h].parentNode);
					}
				}
				break;
			}
		}
	}
}
function profileEntry(content, header) {
	var entry = document.createElement("tr");
	entry.appendChild(document.createElement("th")).appendChild(document.createTextNode(content + ":"));
	var dd = entry.appendChild(document.createElement("td"));
	dd.appendChild(document.createTextNode(header));
	dd.style.setProperty("font-weight", "bold");
	dd.style.setProperty("text-shadow", "0 0 4px gold");
	return entry;
}
function swapValues(event) {
	switch (event.type) {
		case "focus":
			var deletedEditorName = this.getAttribute("_deletedEditor");
			if (deletedEditorName) {
				this.value = deletedEditorName;
				this.removeAttribute("_deletedEditor");
			}
			break;
		case "blur":
			var deletedEditorID = this.value.match(/Deleted Editor #(\d+)/);
			if (deletedEditorID && editors[deletedEditorID[1]]) {
				this.setAttribute("_deletedEditor", this.value);
				this.value = editors[deletedEditorID[1]].namewas;
			}
			break;
	}
}
function removeChildren(p) {
	while (p && p.hasChildNodes()) { p.removeChild(p.firstChild); }
}
function getSibling(obj, tag, cls, prev) {
	var cur = obj;
	if ((cur = prev ? cur.previousSibling : cur.nextSibling)) {
		if (cur.tagName == tag.toUpperCase() && (!cls || cls && cur.classList.contains(cls))) {
			return cur;
		} else {
			return getSibling(cur, tag, cls, prev);
		}
	} else {
		return null;
	}
}
function addAfter(n, e) {
	if (n && e && e.parentNode) {
		if (e.nextSibling) {
			return e.parentNode.insertBefore(n, e.nextSibling);
		} else {
			return e.parentNode.appendChild(n);
		}
	} else { return null; }
}