This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var myWindow = window.open("", "_self", ""); myWindow.document.write(""+ btoa(unescape(encodeURIComponent(document.getElementsByTagName("HTML")[0].innerHTML)))+""); | |
//you can use this as bookmark |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests,configparser | |
filename = "GASsettings.ini" | |
config = configparser.ConfigParser() | |
config.read(filename) | |
if not "GAS" in config: | |
print("Please create "+filename+" file!") | |
exit(1) | |
exportFolder = "./MyGASproject" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sandboxcode(s) { | |
function construct(c, a) { | |
function F(){return c.apply(this, a)} | |
F.prototype = c.prototype; | |
return new F() | |
} | |
let g = ["Function","globalThis","eval"] | |
for (let i in globalThis){g.push(i)} | |
g.push(s); | |
return construct(Function, g).apply({}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Paste this code into console (CTRL+Shift+I / F12) | |
function customGameOver(){ | |
let timer; | |
return ()=>{ | |
clearTimeout(timer); | |
timer = setTimeout(()=>{ | |
this.playSound(this.soundFx.HIT); | |
let csp = this.currentSpeed; | |
if (csp/2 < 4){ |