Added Games

This commit is contained in:
QuiteAFancyEmerald 2021-01-19 23:00:37 +00:00
parent ed88ef11c0
commit faa05290b8
271 changed files with 79295 additions and 5 deletions

View file

@ -32,6 +32,32 @@ $('dino').onclick = function() {
document.getElementById('frame').contentWindow.focus();
return false;
};
$('gopher').onclick = function() {
var frame = document.getElementById("frame");
var url = $('url').value;
var det = document.domain;
var domain = det.replace('www.', '').split(/[/?#]/)[0];
frame.src = "https://" + domain + "/archive/gopher/index.html";
frame.style['visibility'] = "visible";
frame.setAttribute('allow', 'fullscreen');
frame.setAttribute('sandbox', 'allow-same-origin allow-scripts allow-popups allow-forms');
document.cookie = 'oldsmobile=badcar; expires=' + (Date.now() + 259200) + '; SameSite=Lax; domain=.' + auth + '; path=/; Secure;';
document.getElementById('frame').contentWindow.focus();
return false;
};
$('mc').onclick = function() {
var frame = document.getElementById("frame");
var url = $('url').value;
var det = document.domain;
var domain = det.replace('www.', '').split(/[/?#]/)[0];
frame.src = "https://" + domain + "/archive/mc/index.html";
frame.style['visibility'] = "visible";
frame.setAttribute('allow', 'fullscreen');
frame.setAttribute('sandbox', 'allow-same-origin allow-scripts allow-popups allow-forms');
document.cookie = 'oldsmobile=badcar; expires=' + (Date.now() + 259200) + '; SameSite=Lax; domain=.' + auth + '; path=/; Secure;';
document.getElementById('frame').contentWindow.focus();
return false;
};
// Cookie Auth
var host = location.hostname.split('.');