Merge branch 'main' into main

This commit is contained in:
LEGALISE_PIRACY 2024-02-05 22:11:23 +00:00
commit 293e1c6377
3 changed files with 201 additions and 207 deletions

View File

@ -86,8 +86,6 @@ const head = document.getElementsByTagName("head")[0];
document.addEventListener( document.addEventListener(
"DOMContentLoaded", "DOMContentLoaded",
function () { function () {
var _0x10efd9=_0x4eb0;function _0x4eb0(_0x46fefc,_0x4eb0e3){var _0x417da5=_0x46fe();return _0x4eb0=function(_0xf6e324,_0x532945){_0xf6e324=_0xf6e324-0x0;var _0x3b7a2c=_0x417da5[_0xf6e324];return _0x3b7a2c;},_0x4eb0(_0x46fefc,_0x4eb0e3);}function _0x46fe(){var _0x17c355=['self','top','body','innerHTML'];_0x46fe=function(){return _0x17c355;};return _0x46fe();}window[_0x10efd9('0x0')]!==window[_0x10efd9('0x1')]&&(this[_0x10efd9('0x2')][_0x10efd9('0x3')]='<h1>failed\x20to\x20load..\x20contact\x20owner\x20for\x20help</h1>');
// improve game loading
setCloak(); setCloak();
const gscript = document.createElement("script"); const gscript = document.createElement("script");
gscript.setAttribute("async", ""); gscript.setAttribute("async", "");

View File

@ -1,25 +1,11 @@
var interval; var interval;
function check() { function check() {
if ($("#panicmode").length > 0) {
$("#panicmode").prop({ href: panicurl });
}
if ($(".seleniteminified").length > 0) {
$.get("https://raw.githubusercontent.com/skysthelimitt/selenite-optimized/main/build/bookmark.txt", function (data) {
$(".seleniteminified").prop({ href: data });
});
if ($(".seleniteminified").length > 0) {
$.get("https://raw.githubusercontent.com/car-axle-client/car-axle-client/main/dist/build.js", function (data) {
$(".caraxle").prop({ href: `javascript:${encodeURI(data)}` });
});
}
}
} }
document.addEventListener("DOMContentLoaded", function () { document.addEventListener("DOMContentLoaded", function () {
if(document.querySelectorAll('[id=adcontainer]')) { if (document.querySelectorAll("[id=adcontainer]")) {
for(let i = 0; i < document.querySelectorAll('[id=adcontainer]').length; i++) { for (let i = 0; i < document.querySelectorAll("[id=adcontainer]").length; i++) {
if(Math.random() < 0.5 || localStorage.getItem("selenite.adblock") == "true") if (Math.random() < 0.5 || localStorage.getItem("selenite.adblock") == "true") document.querySelectorAll("[id=adcontainer]")[i].innerHTML = "";
document.querySelectorAll('[id=adcontainer]')[i].innerHTML = "";
} }
} }
const iconSetting = document.querySelector("input#discordIcon"); const iconSetting = document.querySelector("input#discordIcon");
@ -69,16 +55,26 @@ document.addEventListener("DOMContentLoaded", function () {
win = window.open(); win = window.open();
win.document.body.style.margin = "0"; win.document.body.style.margin = "0";
win.document.body.style.height = "100vh"; win.document.body.style.height = "100vh";
html = html = `
`
<style>*{margin:0;padding:0;border:none}body,iframe{height:100vh;width:100vw}iframe{height:96vh}header{display:flex;height:4vh;justify-content:center;}button{margin-right:100px;height:100%;aspect-ratio: 1 / 1}#reload{background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M480-160q-134 0-227-93t-93-227q0-134 93-227t227-93q69 0 132 28.5T720-690v-110h80v280H520v-80h168q-32-56-87.5-88T480-720q-100 0-170 70t-70 170q0 100 70 170t170 70q77 0 139-44t87-116h84q-28 106-114 173t-196 67Z'/%3E%3C/svg%3E");background-size:cover;}#goBack{background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M240-200h120v-240h240v240h120v-360L480-740 240-560v360Zm-80 80v-480l320-240 320 240v480H520v-240h-80v240H160Zm320-350Z'/%3E%3C/svg%3E");background-size:cover;}</style><script> <style>*{margin:0;padding:0;border:none}body,iframe{height:100vh;width:100vw}iframe{height:96vh}header{display:flex;height:4vh;justify-content:center;}button{margin-right:100px;height:100%;aspect-ratio: 1 / 1}#reload{background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M480-160q-134 0-227-93t-93-227q0-134 93-227t227-93q69 0 132 28.5T720-690v-110h80v280H520v-80h168q-32-56-87.5-88T480-720q-100 0-170 70t-70 170q0 100 70 170t170 70q77 0 139-44t87-116h84q-28 106-114 173t-196 67Z'/%3E%3C/svg%3E");background-size:cover;}#goBack{background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M240-200h120v-240h240v240h120v-360L480-740 240-560v360Zm-80 80v-480l320-240 320 240v480H520v-240h-80v240H160Zm320-350Z'/%3E%3C/svg%3E");background-size:cover;}</style><script>
</script><header><button id=goBack></button><button id=reload></button></header><iframe id=selenite></iframe>`; </script><header><button id=goBack></button><button id=reload></button></header><iframe id=selenite></iframe>`;
win.document.querySelector("html").innerHTML = html; win.document.querySelector("html").innerHTML = html;
win.eval(`let selenite = document.getElementById("selenite");console.log(selenite);selenite.setAttribute("src", "${location.origin}");console.log(selenite);document.getElementById("goBack").addEventListener("click", function () {selenite.contentDocument.location.href = selenite.contentDocument.location.origin;});document.getElementById("reload").addEventListener("click", function () {selenite.contentDocument.location.href = selenite.contentDocument.location.href;})`); win.eval(`let selenite = document.getElementById("selenite");console.log(selenite);selenite.setAttribute("src", "${location.origin}");console.log(selenite);document.getElementById("goBack").addEventListener("click", function () {selenite.contentDocument.location.href = selenite.contentDocument.location.origin;});document.getElementById("reload").addEventListener("click", function () {selenite.contentDocument.location.href = selenite.contentDocument.location.href;})`);
location.href = "https://google.com"; location.href = "https://google.com";
close(); close();
}) });
checkAlert(); checkAlert();
if ($("#panicmode").length > 0) {
$("#panicmode").prop({ href: panicurl });
}
if ($(".seleniteminified").length > 0) {
$.get("https://raw.githubusercontent.com/skysthelimitt/selenite-optimized/main/build/bookmark.txt", function (data) {
$(".seleniteminified").prop({ href: data });
});
$.get("https://raw.githubusercontent.com/car-axle-client/car-axle-client/v8.1/dist/build.js", function (data) {
$(".caraxle").prop({ href: `javascript:${encodeURI(data)}` });
});
}
}); });
function checkAlert() { function checkAlert() {

354
style.css
View File

@ -2,112 +2,112 @@
@import url('bootstrap3.css'); @import url('bootstrap3.css');
@keyframes loadInAnimation { @keyframes loadInAnimation {
0% { 0% {
opacity: 0 !important; opacity: 0 ;
} }
100% { 100% {
opacity: 100 !important; opacity: 100 ;
} }
} }
:root { :root {
--inputbg: #3c096c !important; --inputbg: #3c096c ;
--inputborder: #5a189a !important; --inputborder: #5a189a ;
--uibg: #240046 !important; --uibg: #240046 ;
--textcolor: #fff !important; --textcolor: #fff ;
--bg: #10002b !important; --bg: #10002b ;
} }
.suggest { .suggest {
fill: white; fill: white;
} }
.hiddenUpload { .hiddenUpload {
display:none !important; display:none ;
visibility: hidden !important; visibility: hidden ;
} }
* { * {
transition-duration: 0.5s !important; transition-duration: 0.5s ;
outline: none !important; outline: none ;
border: none !important; border: none ;
box-sizing: border-box !important; box-sizing: border-box ;
align-content: center !important; align-content: center ;
text-align: center !important; text-align: center ;
font-family: 'Prompt', sans-serif !important; font-family: 'Prompt', sans-serif ;
color: var(--textcolor) !important; color: var(--textcolor) ;
} }
.modal-content { .modal-content {
background:var(--uibg)!important; background:var(--uibg);
} }
#myModal { #myModal {
color:white!important; color:white;
} }
.modal-footer { .modal-footer {
border:0!important; border:0;
} }
.modal-header { .modal-header {
border:0!important; border:0;
} }
body { body {
margin: 0 !important; margin: 0 ;
padding: 0 !important; padding: 0 ;
background: var(--bg) !important; background: var(--bg) ;
color: var(--textcolor) !important; color: var(--textcolor) ;
background-position: center !important; background-position: center ;
background-repeat: no-repeat !important; background-repeat: no-repeat ;
background-size: cover !important; background-size: cover ;
background-attachment: fixed !important; background-attachment: fixed ;
} }
header, header,
footer { footer {
background-color: var(--uibg) !important; background-color: var(--uibg) ;
display: flex !important; display: flex ;
padding: 0.7rem !important; padding: 0.7rem ;
width: 100% !important; width: 100% ;
z-index: 1 !important; z-index: 1 ;
justify-content: center !important; justify-content: center ;
} }
header { header {
top: 0 !important; top: 0 ;
border-radius: 0 0 20px 20px !important; border-radius: 0 0 20px 20px ;
position: fixed !important; position: fixed ;
box-shadow: 0 5px 10px var(--uibg) !important; box-shadow: 0 5px 10px var(--uibg) ;
} }
footer.noscroll { footer.noscroll {
position: fixed !important; position: fixed ;
overflow: hidden !important; overflow: hidden ;
} }
footer { footer {
bottom: 0 !important; bottom: 0 ;
border-radius: 20px 20px 0 0 !important; border-radius: 20px 20px 0 0 ;
box-shadow: 0 -5px 10px var(--uibg) !important; box-shadow: 0 -5px 10px var(--uibg) ;
} }
footer a, footer a,
footer a:visited, footer a:visited,
header a, header a,
header a:visited { header a:visited {
text-align: center !important; text-align: center ;
font-weight: 700 !important; font-weight: 700 ;
text-decoration: none !important; text-decoration: none ;
margin-right: 2rem !important; margin-right: 2rem ;
margin-left: 1rem !important; margin-left: 1rem ;
} }
footer a:hover, footer a:hover,
header a:hover { header a:hover {
text-shadow: 2px 2px 6px var(--textcolor) !important; text-shadow: 2px 2px 6px var(--textcolor) ;
} }
main { main {
animation: 1.25s ease-in-out 0s 1 loadInAnimation !important; animation: 1.25s ease-in-out 0s 1 loadInAnimation ;
align-items: center !important; align-items: center ;
flex-direction: column !important; flex-direction: column ;
display: flex !important; display: flex ;
min-height: calc(100vh - (2 * 0.7rem)) !important; min-height: calc(100vh - (2 * 0.7rem)) ;
gap: 0 !important; gap: 0 ;
flex-wrap: wrap !important; flex-wrap: wrap ;
margin: auto !important; margin: auto ;
margin-top: 4rem !important; margin-top: 4rem ;
width: 90% !important; width: 90% ;
} }
main#main.noscroll { main#main.noscroll {
justify-content: center !important; justify-content: center ;
} }
h1, h1,
h2, h2,
@ -115,217 +115,217 @@ h3,
p, p,
a, a,
label { label {
margin: 0 !important; margin: 0 ;
padding: 0 !important; padding: 0 ;
text-shadow: var(--shadow) !important; text-shadow: var(--shadow) ;
} }
.samerow { .samerow {
display: flex !important; display: flex ;
justify-content: center !important; justify-content: center ;
gap: 0 !important; gap: 0 ;
flex-wrap: wrap !important; flex-wrap: wrap ;
} }
h1 { h1 {
font-size: 60px !important; font-size: 60px ;
} }
h2 { h2 {
font-size: 40px !important; font-size: 40px ;
} }
h3 { h3 {
font-size: 20px !important; font-size: 20px ;
} }
p, a { p, a {
font-size: 16px !important; font-size: 16px ;
} }
button, input#websubmit.submit, input[type=submit] { button, input#websubmit.submit, input[type=submit] {
cursor: pointer !important; cursor: pointer ;
background-color: var(--inputbg) !important; background-color: var(--inputbg) ;
border-color: var(--inputborder) !important; border-color: var(--inputborder) ;
border-width: 3px !important; border-width: 3px ;
border-radius: 10px !important; border-radius: 10px ;
border-style: solid !important; border-style: solid ;
padding: 7px !important; padding: 7px ;
margin-left: 20px !important; margin-left: 20px ;
margin-right: 20px !important; margin-right: 20px ;
margin: 10px !important; margin: 10px ;
} }
button:hover, input#websubmit.submit:hover, input[type=submit]:hover { button:hover, input#websubmit.submit:hover, input[type=submit]:hover {
filter: brightness(80%) !important; filter: brightness(80%) ;
transform: scale(1.07) !important; transform: scale(1.07) ;
} }
img { img {
width: 100% !important; width: 100% ;
aspect-ratio: auto !important; aspect-ratio: auto ;
user-select: none !important; user-select: none ;
filter: drop-shadow(var(--shadow)) !important; filter: drop-shadow(var(--shadow)) ;
image-rendering: pixelated !important; image-rendering: pixelated ;
} }
.img-container a { .img-container a {
width: 100% !important; width: 100% ;
} }
.img-container { .img-container {
display: flex !important; display: flex ;
justify-content: center !important; justify-content: center ;
align-items: center !important; align-items: center ;
flex-direction: row !important; flex-direction: row ;
gap: 0 !important; gap: 0 ;
flex-wrap: wrap !important; flex-wrap: wrap ;
width: 6% !important; width: 6% ;
aspect-ratio: 1 / 1 !important; aspect-ratio: 1 / 1 ;
margin: 2% !important; margin: 2% ;
} }
.game, .suggest { .game, .suggest {
width: 15% !important; width: 15% ;
border-radius: 20px !important; border-radius: 20px ;
display: inline-block; display: inline-block;
background-color: var(--uibg) !important; background-color: var(--uibg) ;
margin: 15px !important; margin: 15px ;
cursor: pointer !important; cursor: pointer ;
box-shadow: 0px 0px 5px 5px var(--uibg) !important; box-shadow: 0px 0px 5px 5px var(--uibg) ;
} }
.game:hover, .suggest:hover { .game:hover, .suggest:hover {
transform: scale(1.1) !important; transform: scale(1.1) ;
filter: brightness(85%) !important; filter: brightness(85%) ;
box-shadow: 0px 0px 5px 5px var(--uibg) !important; box-shadow: 0px 0px 5px 5px var(--uibg) ;
} }
.game h1, .suggest h1 { .game h1, .suggest h1 {
font-size: 12px !important; font-size: 12px ;
float: right !important; float: right ;
margin-right: 10px !important; margin-right: 10px ;
margin-top: 3px !important; margin-top: 3px ;
margin-bottom: 3px !important; margin-bottom: 3px ;
} }
.game img, .suggest img { .game img, .suggest img {
width: 100% !important; width: 100% ;
border-radius: 20px !important; border-radius: 20px ;
aspect-ratio: 1 / 1 !important; aspect-ratio: 1 / 1 ;
} }
img.star { img.star {
float: left !important; float: left ;
width: 10% !important; width: 10% ;
margin-top: 3px !important; margin-top: 3px ;
margin-bottom: 3px !important; margin-bottom: 3px ;
margin-left: 10px !important; margin-left: 10px ;
} }
#noscroll { #noscroll {
overflow-y: hidden !important; overflow-y: hidden ;
justify-content: center !important; justify-content: center ;
} }
#games, #games,
#pinned { #pinned {
width: 100% !important; width: 100% ;
justify-content: center !important; justify-content: center ;
} }
a { a {
font-size: 16px !important; font-size: 16px ;
} }
input[type="text"] { input[type="text"] {
width: 50% !important; width: 50% ;
background-color: var(--inputbg) !important; background-color: var(--inputbg) ;
box-sizing: border-box !important; box-sizing: border-box ;
font-size: 20px !important; font-size: 20px ;
padding: 0.8% 0.8% !important; padding: 0.8% 0.8% ;
text-align: center !important; text-align: center ;
border-radius: 5px !important; border-radius: 5px ;
outline: none !important; outline: none ;
margin: 10px !important; margin: 10px ;
border: 2px solid var(--inputborder) !important; border: 2px solid var(--inputborder) ;
border-radius: 5px !important; border-radius: 5px ;
transition: opacity 0.25s ease-in-out !important; transition: opacity 0.25s ease-in-out ;
opacity: 100% !important; opacity: 100% ;
} }
input[type=text]:hover { input[type=text]:hover {
opacity: 80% !important; opacity: 80% ;
} }
::placeholder { ::placeholder {
color: var(--textcolor) !important; color: var(--textcolor) ;
opacity: 0.4 !important; /* Firefox */ opacity: 0.4 ; /* Firefox */
} }
.bookmarkletdiv { .bookmarkletdiv {
width: 30% !important; width: 30% ;
background-color: var(--uibg) !important; background-color: var(--uibg) ;
box-shadow: 0px 0px 5px 5px var(--uibg) !important; box-shadow: 0px 0px 5px 5px var(--uibg) ;
padding: 5px !important; padding: 5px ;
margin: 15px !important; margin: 15px ;
border-radius: 10px !important; border-radius: 10px ;
display: inline-block !important; display: inline-block ;
} }
.bookmarkletdiv a { .bookmarkletdiv a {
font-size: 30px !important; font-size: 30px ;
} }
form { form {
width: 100% !important; width: 100% ;
} }
.samerow.themebtns { .samerow.themebtns {
width: 70% !important; width: 70% ;
} }
select { select {
border-radius: 5px !important; border-radius: 5px ;
background-color: var(--inputbg) !important; background-color: var(--inputbg) ;
border-color: var(--inputborder) !important; border-color: var(--inputborder) ;
border-width: 5px !important; border-width: 5px ;
border-radius: 10px !important; border-radius: 10px ;
border-style: solid !important; border-style: solid ;
padding: 0.5% 0.5% !important; padding: 0.5% 0.5% ;
margin: 0.25% !important; margin: 0.25% ;
} }
gameframe { gameframe {
width: 100vw !important; width: 100vw ;
height: 90vh !important; height: 90vh ;
} }
gameframe iframe { gameframe iframe {
width: 100% !important; width: 100% ;
height: 100% !important; height: 100% ;
} }
gameframe.header { gameframe.header {
display: flex !important; display: flex ;
justify-content: space-between !important; justify-content: space-between ;
} }
sl-icon-button { sl-icon-button {
font-size: 2rem !important; font-size: 2rem ;
padding-right: 5px !important; padding-right: 5px ;
} }
h3#gametitle { h3#gametitle {
font-size: 2rem !important; font-size: 2rem ;
}thumb.png }thumb.png
.img-credits { .img-credits {
height: 40vh !important; height: 40vh ;
width: auto !important; width: auto ;
box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.555) !important; box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.555) ;
} }
label { label {
font-size: 20px !important; font-size: 20px ;
padding-left: 5px !important; padding-left: 5px ;
} }
.avatar { .avatar {
margin: 5px !important; margin: 5px ;
} }
#bgimg { #bgimg {
width: 30vw !important; width: 30vw ;
font-size: 16px !important; font-size: 16px ;
} }