Noticed some very interesting code in the one try todey file #337
raisedeyebrowemoji
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
`const urlParams = new URLSearchParams(window.location.search)
const NO_SECRET_MODE = urlParams.has("nosecret")
const NO_FOOLS_MODE = urlParams.has("nofools")
const UNLOCK_MODE = urlParams.has("unlock")
const SCALE = urlParams.get("scale") ?? 1
const DPR = urlParams.get("dpr") ?? devicePixelRatio
print('DPR:', DPR)
if (NO_SECRET_MODE) {
localStorage.setItem("secretHasAlreadyBeenRevealed", "true")
}
const secretHasAlreadyBeenRevealed = localStorage.getItem("secretHasAlreadyBeenRevealed")
`
I personally know nothing about coding and read the file for the flavor text comment at the beginning but what can this imply? What kind of secret is this and how do I activate it?
Beta Was this translation helpful? Give feedback.
All reactions