Skip to content

Instantly share code, notes, and snippets.

@morkin1792
Last active November 11, 2022 19:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save morkin1792/7f91164fe1ae2a2d8a9401ac5d62d1bf to your computer and use it in GitHub Desktop.
Save morkin1792/7f91164fe1ae2a2d8a9401ac5d62d1bf to your computer and use it in GitHub Desktop.
var newhtml = `
<html>
<head>
<style>
iframe {
height: 100%;
width: 100%;
}
body {
background-color: black;
height: 100%;
margin: 0;
}
html {
height: 100% !important;
}
</style>
</head>
<body>
</body>
</html>
`
document.getElementsByTagName('html')[0].innerHTML = newhtml
function play() {
if (window.gaming) {
return;
}
window.gaming = 1
var iframe = document.createElement('iframe');
iframe.src = 'https://dos.zone/player/?bundleUrl=https://cdn.dos.zone/original/2X/3/320c1d875fba0f53476ae188195d2bec2cefdf8b.jsdos'
iframe.setAttribute('allowfullscreen', 1)
document.body.appendChild(iframe);
}
document.body.onload = play
// curl -s URL | nc termbin.com 9999
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment