Update index3.html

This commit is contained in:
Ethan O'Brien 2021-09-19 12:46:41 -05:00 committed by GitHub
parent d9d8c21cc2
commit 56f4829e0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,12 +26,12 @@ function decryptButton() {
var a = body.split("['") var a = body.split("['")
for (var i=1; i<a.length; i++) { for (var i=1; i<a.length; i++) {
var error = false var error = false
a[i] = a[i].split("']") a[i] = a[i].split("']")[0]
if (a[i].split('\\x').length != 1 || a[i].split('\\u').length != 1 || a[i].split("'").length != 1 || a[i].split('"').length != 1) { if (a[i].split('\\x').length != 1 || a[i].split('\\u').length != 1 || a[i].split("'").length != 1 || a[i].split('"').length != 1) {
var error = true var error = true
} }
if (! error) { if (! error) {
window.body = body.replaceAll('\\x'+a[i], code.replaceAll("'", "\\'").replaceAll('"', '\\"').replaceAll('\\', '\\\\')) window.body = body.replaceAll("['"+a[i]+"']", '.' + a[i].replaceAll("'", "\\'").replaceAll('"', '\\"').replaceAll('\\', '\\\\'))
} }
} }
finished() finished()