Update www. replacer to work around an issue with ...wwwwwwww.png

This commit is contained in:
Holly Stubbs 2025-02-26 11:15:13 +00:00
parent 564f326534
commit e21e59fea3

View file

@ -1,7 +1,7 @@
// ==UserScript==
// @name MultiProbe
// @namespace https://*.angusnicneven.com/*
// @version 20241030.0
// @version 20250226.0
// @description Probe with friends!
// @author tgpholly
// @match https://*.angusnicneven.com/*
@ -12,8 +12,8 @@
let continueRunningScript = true;
if (!window.TE_ACTIVE) {
if (window.location.href.includes("www.")) {
window.location.href = window.location.href.replace("www.", "");
if (window.location.href.includes("://www.")) {
window.location.href = window.location.href.replace("://www.", "");
continueRunningScript = false;
}
@ -64,7 +64,7 @@ console.log("[MP] MultiProbe init");
'use strict';
// Make sure to change the userscript version too!!!!!!!!!!
const USERSCRIPT_VERSION_RAW = "20241030.0";
const USERSCRIPT_VERSION_RAW = "20250226.0";
const USERSCRIPT_VERSION = parseInt(USERSCRIPT_VERSION_RAW.replace(".", ""));
if (!continueRunningScript) {