This repository has been archived by the owner on Sep 29, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3f66583
commit 78e9265
Showing
1 changed file
with
71 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
<iframe class="iframe" id="iframe" onload="newscript();"></iframe> | ||
<script src="/games/gfiles/nowgg.js"></script> | ||
<style> | ||
.back{ | ||
position: absolute; | ||
width: 50px; | ||
height: 50px; | ||
top:1%; | ||
left:1%; | ||
} | ||
.iframe{ | ||
position: absolute; | ||
width:100%; | ||
height: 100%; | ||
left:0px; | ||
top:0px; | ||
border: none; | ||
} | ||
</style> | ||
|
||
<script> | ||
window.navigator.serviceWorker.register('/sw.js'); | ||
function get_cookie(cookie_name) { const value = "; " + document.cookie; const parts = value.split("; " + cookie_name + "="); if (parts.length === 2) return parts.pop().split(";").shift(); } | ||
|
||
var title2=get_cookie("title2"); | ||
var favicon=get_cookie("favicon"); | ||
|
||
if (favicon==null || favicon==undefined || favicon==""){ | ||
favicon="/img/logo.png"; | ||
document.cookie="favicon="+favicon+"; expires=Thu, 18 Dec 9013 12:00:00 UTC; path=/"; | ||
(function() { | ||
var link=document.querySelector("link[rel*='icon']") || document.createElement('link'); | ||
link.type='image/x-icon'; | ||
link.rel='shortcut icon'; | ||
link.href=favicon; | ||
document.getElementsByTagName('head')[0].appendChild(link); | ||
})(); | ||
} | ||
else{ | ||
(function() { | ||
var link=document.querySelector("link[rel*='icon']") || document.createElement('link'); | ||
link.type='image/x-icon'; | ||
link.rel='shortcut icon'; | ||
link.href=favicon; | ||
document.getElementsByTagName('head')[0].appendChild(link); | ||
})(); | ||
} | ||
if (title2==null || title2==undefined || title2==""){ | ||
title2="DM Unbl0cker"; | ||
document.cookie="title2="+title2+"; expires=Thu, 18 Dec 9013 12:00:00 UTC; path=/"; | ||
document.title=title2; | ||
} | ||
else{ | ||
document.title=title2; | ||
} | ||
</script> | ||
|
||
<script> | ||
function newscript(){ | ||
var script=document.createElement("script"); | ||
script.src="/games/gfiles/nowgg.js"; | ||
document.body.appendChild(script); | ||
} | ||
|
||
function reroutetogames(){ | ||
window.location.pathname="/games"; | ||
} | ||
</script> | ||
<script> | ||
iframe.src=window.location.origin+"/service/hvtrs8%2F-nmw%2Cge%2Fcprs-artmife-1642%2Fcpvokdg.jtol"; | ||
</script> |
78e9265
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failed to deploy: