Update index.html
This commit is contained in:
parent
ab40601a84
commit
e00b614e64
13
index.html
13
index.html
|
|
@ -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") {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue