Skip to content

Commit

Permalink
base64
Browse files Browse the repository at this point in the history
  • Loading branch information
nano2dev committed Feb 6, 2024
1 parent 3d15260 commit 3307bb7
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions latest.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,14 @@

var all = document.querySelectorAll(element);

for (var i=0, max=all.length; i < max; i++) {
all[i].innerHTML = locked_content[i];
all[i].style.position = null;
all[i].classList.add("unlocked");
for (var i=0, max=all.length; i < max; i++) {\
if (original_config.decode) {
all[i].innerHTML = btoa(locked_content[i].replace('A', ''))
} else {
all[i].innerHTML = locked_content[i]
}
all[i].style.position = null
all[i].classList.add("unlocked")
}

var locked = document.querySelectorAll('.nano-locked');
Expand Down

0 comments on commit 3307bb7

Please sign in to comment.