stop crashing on heaven_online pages with no loader
This commit is contained in:
parent
f04444bb1b
commit
5ecb6e7a5c
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
// ==UserScript==
|
||||
// @name MultiProbe
|
||||
// @namespace https://*.angusnicneven.com/*
|
||||
// @version 20241013.1
|
||||
// @version 20241013.2
|
||||
// @description Probe with friends!
|
||||
// @author tgpholly
|
||||
// @match https://*.angusnicneven.com/*
|
||||
|
@ -64,7 +64,7 @@ console.log("[MP] MultiProbe init");
|
|||
'use strict';
|
||||
|
||||
// Make sure to change the userscript version too!!!!!!!!!!
|
||||
const USERSCRIPT_VERSION_RAW = "20241013.1";
|
||||
const USERSCRIPT_VERSION_RAW = "20241013.2";
|
||||
const USERSCRIPT_VERSION = parseInt(USERSCRIPT_VERSION_RAW.replace(".", ""));
|
||||
|
||||
if (!continueRunningScript) {
|
||||
|
@ -450,7 +450,7 @@ mp_button {
|
|||
}
|
||||
|
||||
// Cursed way of detecting heavenonline load
|
||||
if (window.location.href.split("://")[1].split("/")[0] === "heavenonline.xyz") {
|
||||
if (window.location.href.split("://")[1].split("/")[0] === "heavenonline.xyz" && typeof(finished) !== "undefined") {
|
||||
pageLoadCompleted = false;
|
||||
const oldConsoleLog = console.log;
|
||||
console.log = function(...args) {
|
||||
|
|
Loading…
Reference in a new issue