Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

Commit

Permalink
improve open blank and quote
Browse files Browse the repository at this point in the history
  • Loading branch information
skysthelimitt committed Oct 25, 2023
1 parent f16dd5d commit 96203ad
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions blank.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
iframe.allow = "fullscreen";
iframe.src = location.origin;
win.document.body.appendChild(iframe);
window.location.href = "https://google.com"
}
createBlank();
</script>
Expand Down
2 changes: 2 additions & 0 deletions js/randomquote.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ $.getJSON("/quotes.json", function(data){
if(index.includes("OGNUM1") && index.includes("SQRTNUM1")) {
let ognum = Math.floor(Math.random() * 3000);
index = "the square root of " + ognum + " is " + Math.sqrt(ognum)
} else if(index.includes("CURRENTURL")) {
index = window.location.hostname
}
$("p#randomquote").text(index)
})
6 changes: 4 additions & 2 deletions quotes.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"buy smth from the patreon so i dont have to be in debt anymore",
"https://skysthelimit.dev",
"https://github.com/selenite-cc",
"selenite.pages.dev",
"CURRENTURL",
"the square root of OGNUM1 is SQRTNUM1",
"ZG8geW91ciBzY2hvb2wgd29yaw",
"use the transfer tool to keep ur data from other websites",
Expand All @@ -29,5 +29,7 @@
"what website is this?",
"btw, hcps leaked 30k+ private emails and are hiding it :)",
"we love about:blank",
"make sure to back up ur saves incase we ever get blocked"
"make sure to back up ur saves incase we ever get blocked",
"join the discord to be cool",
""
]

0 comments on commit 96203ad

Please sign in to comment.