Update index.html

This commit is contained in:
slweeb 2025-04-12 22:17:28 -04:00
parent ab40601a84
commit e00b614e64
1 changed files with 7 additions and 6 deletions

View File

@ -52,6 +52,7 @@
currentversion = "1.11.1"; currentversion = "1.11.1";
saveVersion = 4; saveVersion = 4;
standalone = false; standalone = false;
standaloneType = null;
</script> </script>
<style> <style>
.setting-span { .setting-span {
@ -12964,6 +12965,12 @@ SEEDRISE: function(pixel) {
}; };
// detect if discord activity
if (location.hostname.match(/discordsays/i)) {
standalone = true;
standaloneType = "discord";
}
// standalone glow.js // standalone glow.js
if (standalone) { if (standalone) {
var script = document.createElement('script'); var script = document.createElement('script');
@ -15799,7 +15806,6 @@ behaviorRules = {
promptState = null; promptState = null;
mouseIsDown = false; mouseIsDown = false;
isMobile = false; isMobile = false;
standaloneType = null;
genericMenuHandler = null; genericMenuHandler = null;
nextElemID = 1; nextElemID = 1;
// detect if mobile // detect if mobile
@ -15816,11 +15822,6 @@ behaviorRules = {
if (settings.invertscroll === undefined && navigator.platform.toUpperCase().indexOf('MAC')>=0) { if (settings.invertscroll === undefined && navigator.platform.toUpperCase().indexOf('MAC')>=0) {
settings.invertscroll = true; settings.invertscroll = true;
} }
// detect if discord activity
if (location.hostname.match(/discordsays/i)) {
standalone = true;
standaloneType = "discord";
}
mouseType = null; mouseType = null;
function mouseClick(e) { function mouseClick(e) {
if (showingMenu && currentElement !== "lookup") { if (showingMenu && currentElement !== "lookup") {