Skip to content

Commit

Permalink
v2 upload
Browse files Browse the repository at this point in the history
  • Loading branch information
supermonkeycat committed Sep 20, 2024
1 parent daa403d commit 7705ea7
Show file tree
Hide file tree
Showing 779 changed files with 150,019 additions and 35 deletions.
6 changes: 3 additions & 3 deletions config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
wwindow.config = {
entryPhrase: "letmein", // phrase to enter the real site
window.config = {
entryPhrase: "getmein", // phrase to enter the real site
proxyLink: "https://example.com", // proxy link, highly recommended you change it
blanker: "byebye", // opens your proxy link in about blank
leverofdoom: "no",
alternativeproxy: "https://youtube.com", // alternative Proxy
useproxy: "true" // Some schools have certain restrictions on proxies that can cause students to get in massive trouble. Ticking this to false changes the website to only have games & movies (not in current use)
useproxy: "false" // Some schools have certain restrictions on proxies that can cause students to get in massive trouble. Ticking this to false changes the website to only have games & movies (not in current use)
};
75 changes: 75 additions & 0 deletions gversion/anime.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<!DOCTYPE html>
<head>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>This content is blocked!</title>
<link href="../lock-icon.png" rel="icon" type="image/png">
<link id="stylesheet" rel="stylesheet" href="../gversion/gdesign.css?v=21">
<script src="../script.js?v=21" defer></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/css-doodle/0.40.0/css-doodle.min.js"></script>
<script src="../security.js?v=21"></script>
<script src="../config.js?v=21"></script>
<script src="../gversion/newpage.js?v=21"></script>
<!-- cache busting -->
</head>
<body>
<css-doodle><style>
--color: #51eaea, #fffde1, #ff9d76, #FB3569;

@grid: 30x1 / 100vw 100vh / #270f34;

:container {
perspective: 30vmin;
--deg: @p(-180deg, 180deg);
}

:after, :before {
content: '';
background: @p(--color);
@place: @r(100%) @r(100%);
@size: @r(6px);
@shape: heart;
}

@place: center;
@size: 18vmin;

box-shadow: @m2(0 0 50px @p(--color));
background: @m100(
radial-gradient(@p(--color) 50%, transparent 0)
@r(-20%, 120%) @r(-20%, 100%) / 1px 1px
no-repeat
);

will-change: transform, opacity;
animation: scale-up 12s linear infinite;
animation-delay: calc(-12s / @I * @i);

@keyframes scale-up {
0%, 95.01%, 100% {
transform: translateZ(0) rotate(0);
opacity: 0;
}
10% {
opacity: 1;
}
95% {
transform:
translateZ(35vmin) rotateZ(var(--deg));
}
}
</style></css-doodle>
<div class = "searchmedia">
<input type="text" id="searchinputanime" class="searchinput" placeholder="Search for any anime" autocomplete="off">
</div>
<div class="mediascroller" id="animeContainer">
</div>
<script src="../gversion/animehandler.js?v=221"></script>
<button class="return" onclick="window.location.href = '../gversion/mainsite.html';">
<img src="../gversion/images/return.gif" class="returnbuttonimage">
</button>

</body>
56 changes: 56 additions & 0 deletions gversion/animehandler.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
const searchtheanime = document.getElementById('searchinputanime');
const clientId = 'a908c3ca90ddc6f29b894427e8361e4e';
function newpage(url) {
window.location.href = url;
}
function searchAnime(query) {
fetch(`https://cors-anywhere.herokuapp.com/https://api.myanimelist.net/v2/anime?q=${encodeURIComponent(query)}&limit=10`, {
headers: {
'X-MAL-CLIENT-ID': clientId
}
})
.then(response => response.json())
.then(data => {
document.getElementById('animeContainer').innerHTML = '';
data.data.forEach(anime => {
addAnimeButton(anime.node.title, anime.node.main_picture ? anime.node.main_picture.medium : null, anime.node.id);
});
})
.catch(error => console.error('Error fetching anime:', error));
}
function addAnimeButton(title, imageUrl, animeId) {
const button = document.createElement('button');
button.className = 'animebutton';

const image = document.createElement('img');
image.src = imageUrl ? imageUrl : 'placeholder.jpg';
image.className = 'animebutton-image';
button.appendChild(image);

const text = document.createElement('span');
text.innerText = title;
button.appendChild(text);

button.onclick = () => {
handleAnimeClick(title, animeId);
};

document.getElementById('animeContainer').appendChild(button);
}

function handleAnimeClick(animeId) {
let id = animeId;
let season = -2
let seasonnumber = season
let episode = prompt('What episode?');
let episodenumber = Number(episode)
if(!isNaN(seasonnumber) && !isNaN(episodenumber && episodenumber > 0) ) {
newpage(`portal.html?id=${encodeURIComponent(id)}&season=${encodeURIComponent(season)}&episode=${encodeURIComponent(episode)}`);
}
}
searchtheanime.addEventListener('input', () => {
const query = searchtheanime.value.trim();
if (query.length > 2) {
searchAnime(query);
}
});
75 changes: 75 additions & 0 deletions gversion/g.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<!DOCTYPE html>
<head>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>This content is blocked!</title>
<link href="../lock-icon.png" rel="icon" type="image/png">
<link id="stylesheet" rel="stylesheet" href="../gversion/gdesign.css?v=21">
<script src="../script.js?v=21" defer></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/css-doodle/0.40.0/css-doodle.min.js"></script>
<script src="../security.js?v=21"></script>
<script src="../config.js?v=21"></script>
<script src="../gversion/newpage.js?v=21"></script>
<!-- cache busting -->
</head>
<body>
<css-doodle><style>
--color: #51eaea, #fffde1, #ff9d76, #FB3569;

@grid: 30x1 / 100vw 100vh / #270f34;

:container {
perspective: 30vmin;
--deg: @p(-180deg, 180deg);
}

:after, :before {
content: '';
background: @p(--color);
@place: @r(100%) @r(100%);
@size: @r(6px);
@shape: heart;
}

@place: center;
@size: 18vmin;

box-shadow: @m2(0 0 50px @p(--color));
background: @m100(
radial-gradient(@p(--color) 50%, transparent 0)
@r(-20%, 120%) @r(-20%, 100%) / 1px 1px
no-repeat
);

will-change: transform, opacity;
animation: scale-up 12s linear infinite;
animation-delay: calc(-12s / @I * @i);

@keyframes scale-up {
0%, 95.01%, 100% {
transform: translateZ(0) rotate(0);
opacity: 0;
}
10% {
opacity: 1;
}
95% {
transform:
translateZ(35vmin) rotateZ(var(--deg));
}
}
</style></css-doodle>
<div class = "searchmedia">
<input type="text" id="searchInput" class="searchinput" placeholder="Search..." autocomplete="off">
</div>
<div class="gamescroller" id="gamescroller">

</div>
<script src="../gversion/gamehandler.js?v=21"></script>
<button class="return" onclick="window.location.href = '../gversion/mainsite.html';">
<img src="../gversion/images/return.gif" class="returnbuttonimage">
</button>
</body>
17 changes: 17 additions & 0 deletions gversion/g.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[
{
"name": "Cookie Clicker",
"imageUrl": "/gversion/gs/cookieclicker/clicker.jpeg",
"variable": "/gversion/gs/cookieclicker/index.html"
},
{
"name": "ovo",
"imageUrl": "/gversion/gs/ovo/ovospaceprogram.png",
"variable": "/gversion/gs/ovo/index.html"
},
{
"name": "Tunnel Run 2",
"imageUrl": "/gversion/gs/tunnelrush2/tunnel-rush-favicon-m135x135.jpg",
"variable": "/gversion/gs/tunnelrush2/tunnel-rush.html"
}
]
61 changes: 61 additions & 0 deletions gversion/gamehandler.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
function addGameButton(name, imageUrl, variable) {
const container = document.getElementById('gamescroller');
const button = document.createElement('button');
button.className = 'gamebutton';

button.onclick = function() {
handleButtonClick(variable);
};

const image = document.createElement('img');
image.src = imageUrl;
image.alt = name;
image.className = 'gamebutton-image';
button.appendChild(image);

const text = document.createElement('span');
text.innerText = name;
text.className = 'gamebutton-text';
button.appendChild(text);

container.appendChild(button);
}

function handleButtonClick(variable) {
window.location.href = variable;
}

function filterGames() {
const query = document.getElementById('searchInput').value.toLowerCase();
const buttons = document.querySelectorAll('#gamescroller .gamebutton');

buttons.forEach(button => {
const name = button.querySelector('.gamebutton-text').innerText.toLowerCase();
if (name.includes(query)) {
button.style.display = 'block';
} else {
button.style.display = 'none';
}
});
}


function loadGameButtons() {
fetch('../gversion/g.json')
.then(response => {
if (!response.ok) throw new Error('Network response was not ok');
return response.json();
})
.then(data => {
data.forEach(item => {
const { name, imageUrl, variable } = item;
addGameButton(name, imageUrl, variable);
});
})
.catch(error => {
console.error('Failed to fetch JSON:', error);
});
}
document.getElementById('searchInput').addEventListener('input', filterGames);
document.addEventListener('DOMContentLoaded', loadGameButtons);

Loading

0 comments on commit 7705ea7

Please sign in to comment.