Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb">
- <head>
- <script type="text/javascript">
- var siteurl='/';
- var tmplurl='/templates/ja_elastica/';
- var isRTL = false;
- </script>
- <base href="https://www.onworks.net" />
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <meta name="keywords" content="Linux online, windows online, CentOs online, Ubuntu online, Fedora online, RHEL online, Chrome extensions, Firefox applications" />
- <meta name="description" content="Running OnWorks free hosting provider that allows to run your workstations only using your web browser." />
- <title>Running OnWorks Free hosting provider for Linux online</title>
- <link rel="stylesheet" href="https://www.onworks.net/templates/system/css/system.css" type="text/css" media="" />
- <link rel="stylesheet" href="https://www.onworks.net/templates/system/css/general.css" type="text/css" media="" />
- <link rel="stylesheet" href="https://www.onworks.net/plugins/system/jat3/jat3/base-themes/default/css/addons.css" type="text/css" media="" />
- <link rel="stylesheet" href="https://www.onworks.net/plugins/system/jat3/jat3/base-themes/default/css/layout.css" type="text/css" media="" />
- <link rel="stylesheet" href="https://www.onworks.net/plugins/system/jat3/jat3/base-themes/default/css/template.css" type="text/css" media="" />
- <link rel="stylesheet" href="https://www.onworks.net/plugins/system/jat3/jat3/base-themes/default/css/usertools.css" type="text/css" media="" />
- <link rel="stylesheet" href="https://www.onworks.net/plugins/system/jat3/jat3/base-themes/default/css/css3.css" type="text/css" media="" />
- <link rel="stylesheet" href="https://www.onworks.net/plugins/system/jat3/jat3/base-themes/default/css/menu/mega.css" type="text/css" media="" />
- <link rel="stylesheet" href="https://www.onworks.net/templates/ja_elastica/css/typo.css" type="text/css" media="" />
- <link rel="stylesheet" href="https://www.onworks.net/templates/ja_elastica/css/layout.css" type="text/css" media="" />
- <link rel="stylesheet" href="https://www.onworks.net/templates/ja_elastica/css/template.css" type="text/css" media="" />
- <link rel="stylesheet" href="https://www.onworks.net/templates/ja_elastica/css/modules.css" type="text/css" media="all" />
- <link rel="stylesheet" href="https://www.onworks.net/templates/ja_elastica/fonts/font-awesome/css/font-awesome.min.css" type="text/css" media="all" />
- <link rel="stylesheet" href="https://www.onworks.net/templates/ja_elastica/css/layout-mobile.css" type="text/css" media="only screen and (max-width:719px)" />
- <link rel="stylesheet" href="https://www.onworks.net/templates/ja_elastica/css/layout-mobile-port.css" type="text/css" media="only screen and (max-width:479px)" />
- <link rel="stylesheet" href="https://www.onworks.net/templates/ja_elastica/css/layout-tablet.css" type="text/css" media="only screen and (min-width:720px) and (max-width: 985px)" />
- <link rel="stylesheet" href="https://www.onworks.net/templates/ja_elastica/css/layout-normal.css" type="text/css" media="only screen and (min-width:986px) and (max-width: 2235px)" />
- <link rel="stylesheet" href="https://www.onworks.net/templates/ja_elastica/css/layout-wide.css" type="text/css" media="only screen and (min-width:2236px)" />
- <link rel="stylesheet" href="https://www.onworks.net/templates/ja_elastica/css/css3.css" type="text/css" media="" />
- <link rel="stylesheet" href="https://www.onworks.net/templates/ja_elastica/css/menu/mega.css" type="text/css" media="" />
- <script src="https://www.onworks.net/media/system/js/mootools-core.js" type="text/javascript"></script>
- <script src="https://www.onworks.net/media/system/js/core.js" type="text/javascript"></script>
- <script src="https://www.onworks.net/media/system/js/mootools-more.js" type="text/javascript"></script>
- <script src="https://www.onworks.net/media/system/js/caption.js" type="text/javascript"></script>
- <script src="https://www.onworks.net/plugins/system/jat3/jat3/base-themes/default/js/core.js" type="text/javascript"></script>
- <script src="https://www.onworks.net/templates/ja_elastica/js/mega.rjd.js" type="text/javascript"></script>
- <script src="https://www.onworks.net/templates/ja_elastica/js/jquery/jquery-1.8.3.min.js" type="text/javascript"></script>
- <script src="https://www.onworks.net/templates/ja_elastica/js/jquery.noconflict.js" type="text/javascript"></script>
- <script src="https://www.onworks.net/templates/ja_elastica/js/jquery.masonry.js" type="text/javascript"></script>
- <script src="https://www.onworks.net/templates/ja_elastica/js/jquery.mediaqueries.js" type="text/javascript"></script>
- <script src="https://www.onworks.net/templates/ja_elastica/js/menu/mega.js" type="text/javascript"></script>
- <script src="https://www.onworks.net/runos/postscribe.min.js"></script>
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=3.0, user-scalable=yes"/>
- <meta name="HandheldFriendly" content="true" />
- <link href="https://www.onworks.net/plugins/system/jat3/jat3/base-themes/default/images/favicon.ico" rel="shortcut icon" type="image/x-icon" />
- <style type="text/css">
- /*dynamic css*/
- </style>
- <script src="https://www.onworks.net/templates/ja_elastica/js/jquery/jquery-1.8.3.min.js" type="text/javascript"></script>
- <!-- Global site tag (gtag.js) - Google Analytics -->
- <script async src="https://www.googletagmanager.com/gtag/js?id=UA-117545413-4"></script>
- <script>
- window.dataLayer = window.dataLayer || [];
- function gtag(){dataLayer.push(arguments);}
- gtag('js', new Date());
- gtag('config', 'UA-117545413-4');
- </script>
- </head>
- <body onload="myFunction()" id="bd" class="bd fs3 com_content">
- <a name="Top" id="Top"></a>
- <!--
- <div style="display: block; font-size: 20px; background: #36364a; color: #fff; padding-left: 30px; padding-bottom: 5px;">
- <a href="https://www.onworks.net" class="mega first" id="menu673" title="Free hosting online" style="color: #fff; background: #888; padding: 15px 20px 10px 20px; font-size: 15px;">Home</a>
- </div>
- -->
- <div id="ja-wrapper" >
- <div id="ja-header"
- class="wrap ">
- <div class="main">
- <div class="main-inner1 clearfix">
- <h2 class="logo">
- <a href="../" title="OnWorks">
- <img src="../templates/ja_elastica/images/logo-trans.png" alt="OnWorks" />
- </a>
- </h2>
- </div>
- </div>
- </div>
- </div>
- <!-- MAIN CONTAINER -->
- <div id="ja-container" class="wrap ja-r1 clearfix">
- <div id="ja-main-wrap" class="main clearfix" style="margin: 0; min-width: 100%;">
- <div id="ja-main" class="clearfix">
- <style>
- #wrapper{
- width: 100%;
- vertical-align: center;
- height: 170px;
- text-align: center;
- }
- h1{
- color: #4d85a7;
- }
- #square{
- height: 150px;
- width: 260px;
- text-align: center;
- background-color: #D7E2E9;
- border-radius: 5%;
- padding-top: 5px;
- margin: 10px auto auto auto;
- }
- h5{
- padding-top: 30px;
- color: #4d85a7;
- }
- span{
- height: 20px;
- width: 20px;
- display: inline-block;
- border-radius: 50%;
- background-color: #C0D9E4;
- margin-top: 1px;
- animation: preloader 1.2s infinite ease-in-out;
- }
- #square span:nth-child(2){
- animation-delay: 0.0s;
- }
- #square span:nth-child(3){
- animation-delay: 0.2s;
- }
- #square span:nth-child(4){
- animation-delay: 0.4s;
- }
- @keyframes preloader {
- 0% {height:20px;
- width: 20px;
- background:#C0D9E4;}
- 25% {height:14px;
- width: 14px;
- background:#A6CEE0;}
- 50% {height:8px;
- width: 8px;
- transform: translateY(30px);
- background:#4AA6CC;}
- 100% {height:20px;
- width: 20px;
- background:#C0D9E4;}
- }
- </style>
- <div id="wrapper" style="color: #000; text-align: center; font-size: 16px; width: 100%;">
- <div style="color: #000; text-align: center; font-size: 16px; width: 100%;">
- <h2 id="statusx2" style="color: #000; text-align: center; width: 100%; margin-top: 5%; ">Starting ...</h2>
- </div>
- <div style="text-align: center; width: 100%;">
- <div id="square">
- <h2 style="margin-top: 10px; margin-bottom: 0px; font-size: 22px;">Please Wait</h2>
- <p id="numeritos" style="font-size: 30px; height: 50px;"></p>
- <span></span>
- <span></span>
- <span></span>
- </div>
- </div>
- <div style="color: #000; text-align: center; font-size: 16px; width: 100%;">
- <h3 id="statusx1" style="color: #00f; margin-top: 30px; text-align: center; width: 100%; margin-bottom: 5px;">We are preparing the server for you.</h3>
- </div>
- <div class="item-page" style="background: #eee; border-top: 0px; border-bottom: 0px; box-shadow: 0 0 0 0; padding 0px;">
- <div style="padding: 5px 20% 0px 20%;">
- <div>
- <div>
- <p></p>
- </div>
- <div class="item-separator"></div>
- </div>
- </div>
- </div>
- <div style="text-align:center;margin:auto auto 130px auto">
- <a href="https://www.onworks.net" style="width:100px;margin:10px auto 10px auto;background-color:#06c;border:none;color:#fff;padding:15px 32px;text-align:center;text-decoration:none;display:block;font-size:16px;cursor:pointer">Cancel</a>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- //MAIN CONTAINER -->
- <div id="ja-footer" style="position: fixed; bottom: 0;"
- class="wrap ">
- <div class="main clearfix">
- <div class="ja-copyright">
- <ul class="menu">
- <li class="item-505"><a href="/index.php/cloud-apps-policy" >Cloud Apps Policy</a></li><li class="item-532"><a href="/index.php/mobile-apps-policy" >Mobile Apps Policy</a></li><li class="item-642"></li></ul>
- <ul class="menu">
- <li class="item-587"><a href="/index.php/cookies-policy" >Cookies Policy</a></li><li class="item-509"><a href="/index.php/team-company" >Team & Company</a></li><li class="item-643"></li></ul>
- <ul class="menu">
- <li class="item-613"><a href="/index.php/terms-of-service" >Terms of Service</a></li><li class="item-506"><a href="mailto:[email protected]" >Support & Contact</a></li><li class="item-644"></li></ul>
- </div>
- <div id="ja-poweredby" class="t3-logo t3-logo-light" style="display: none;">
- </div>
- </div>
- </div>
- </body>
- </html>
- <script>
- var count = 25;
- function countdown()
- {
- document.getElementById("numeritos").innerHTML = count;
- username = localStorage.getItem("namexxx");
- document.getElementById("statusx2").innerHTML = "Starting " + $_GET("os") + " ...";
- if ( count == 1 )
- {
- document.getElementById("statusx2").innerHTML = "Starting " + $_GET("os") + " not finished yet. Still trying ...";
- count = 25;
- }
- if ( count == 24 )
- document.getElementById("statusx1").innerHTML = "Step 1/7. Reserving HW.";
- if ( count == 21 )
- document.getElementById("statusx1").innerHTML = "Step 2/7. Selecting the OS image.";
- if ( count == 18 )
- document.getElementById("statusx1").innerHTML = "Step 3/7. Copying the OS image.";
- if ( count == 15 )
- document.getElementById("statusx1").innerHTML = "Step 4/7. Mounting the filesystems.";
- if ( count == 12 )
- document.getElementById("statusx1").innerHTML = "Step 5/7. Loading kernel.";
- if ( count == 8 )
- document.getElementById("statusx1").innerHTML = "Step 6/7. Starting the OS.";
- if ( count == 5 )
- document.getElementById("statusx1").innerHTML = "Step 7/7. Starting the GUI. ";
- $timeoutx = 1000;
- if ( $_GET("os") && ( $_GET("os").indexOf("elementary") >= 0 ) )
- $timeoutx = 1500
- if ( $_GET("os") && ( $_GET("os").indexOf("debian-edu") >= 0 ) )
- $timeoutx = 1500
- if ( $_GET("os") && ( $_GET("os").indexOf("openSUSE-Edu") >= 0 ) )
- $timeoutx = 1500
- if ( $_GET("os") && ( $_GET("os").indexOf("uberstudent-4.3") >= 0 ) )
- $timeoutx = 1500
- if ( $_GET("os") && ( $_GET("os").indexOf("ubuntustudio") >= 0 ) )
- $timeoutx = 1500
- if ( $_GET("os") && ( $_GET("os").indexOf("Mageia") >= 0 ) )
- $timeoutx = 1500
- if ( $_GET("os") && ( $_GET("os").indexOf("kodiubuntu") >= 0 ) )
- $timeoutx = 1500
- //console.log("" + $timeoutx );
- $timeoutx = 1200;
- if ( $_GET("os") && ( $_GET("os").indexOf("educationpack") >= 0 ) )
- $timeoutx = 1700
- setTimeout(
- function(){
- count = count - 1;
- if (typeof(Storage) !== "undefined") {
- // Code for localStorage/sessionStorage.
- localStorage.setItem("count", count);
- } else {
- // Sorry! No Web Storage support..
- }
- countdown();
- },
- $timeoutx );
- }
- function myFunction() {
- testelad();
- retamano();
- reverse = false;
- count = 25;
- if ( $_GET("os") )
- {
- count = 25;
- }
- else {
- count = 25;
- }
- var username = $_GET("username"); if ( username ) { localStorage.setItem("namexxx", username); }; var username = localStorage.getItem("namexxx");
- if ( username === null )
- {
- username = Math.floor(Date.now() / 1000);
- localStorage.setItem('namexxx', username);
- }
- localStorage.setItem('namexxx', username);
- setTimeout(
- function(){
- var xhrxxx1 = new XMLHttpRequest();
- xhrxxx1.open('GET', 'https://www.onworks.net/community/user.php?username=' + username, true);
- xhrxxx1.send();
- }
- , 8000);
- setTimeout(
- function(){
- var xhrxxx2 = new XMLHttpRequest();
- xhrxxx2.open('GET', 'https://www.onworks.net/community/user.php?username=' + username, true);
- xhrxxx2.send();
- }
- , 28000);
- setTimeout(
- function(){
- var xhrxxx = new XMLHttpRequest();
- xhrxxx.open('GET', 'https://www.onworks.net/community/user.php?username=' + username, true);
- xhrxxx.send();
- }
- , 18000);
- setTimeout(
- function(){
- var xhrxxx = new XMLHttpRequest();
- xhrxxx.open('GET', 'https://www.onworks.net/community/user.php?username=' + username, true);
- xhrxxx.send();
- }
- , 38000);
- setTimeout(
- function(){
- var xhrxxx = new XMLHttpRequest();
- xhrxxx.open('GET', 'https://www.onworks.net/community/user.php?username=' + username, true);
- xhrxxx.send();
- }
- , 48000);
- var xhr1 = new XMLHttpRequest();
- xhr1.open('GET', 'https://www.onworks.net/community/user.php?username=' + username, true);
- xhr1.onload = function (e) {
- if (xhr1.readyState === 4) {
- if (xhr1.status === 200) {
- console.log(xhr1.responseText);
- var response1 = xhr1.responseText;
- xhr2 = new XMLHttpRequest();
- if ( $_GET("os") )
- {
- xhr2.open('GET', 'https://www.onworks.net/runos/create-os.php?service=' + response1 + '&username=' + username + '&app=' + $_GET("home") + '&os=' + $_GET("os"), true);
- }
- else {
- xhr2.open('GET', 'https://www.onworks.net/runos/create-os.php?service=' + response1 + '&username=' + username + '&app=' + $_GET("home"), true);
- }
- countdown();
- xhr2.onload = function (e) {
- if (xhr2.status === 200) {
- var xhr3 = new XMLHttpRequest();
- xhr3.open('GET', 'https://www.onworks.net/community/user.php?username=' + username, true);
- xhr3.send();
- console.log(xhr2.responseText);
- server = response1;
- numserver = server.replace("onworks", "");
- guest = xhr2.responseText;
- numguest = guest.replace("guest", "");
- if (window.location.protocol === 'http:') {
- finalurl = "https://www.onworks.net/osessionx" + numserver + "/#/?username=" + guest + "&password=server01" + numguest;
- }
- else {
- finalurl = "https://www.onworks.net/osessionx" + numserver + "/#/?username=" + guest + "&password=server01" + numguest;
- }
- if ( $_GET("facebook") )
- {
- setCookie("facebook", "1", 365);
- }
- else {
- if ( $_GET("htmlgame") )
- {
- setCookie("htmlgame", "1", 365);
- }
- else {
- setCookie("facebook", "1", -1);
- setCookie("htmlgame", "1", -1);
- }
- }
- //alert(finalurl);
- //window.location = finalurl;
- $timeouty = 10000;
- if ( $_GET("os") && ($_GET("os").indexOf("elementary") >= 0 ))
- $timeouty = 20000;
- if ( $_GET("os") && ($_GET("os").indexOf("debian-edu") >= 0 ))
- $timeouty = 20000;
- if ( $_GET("os") && ($_GET("os").indexOf("openSUSE-Edu") >= 0 ))
- $timeouty = 20000;
- if ( $_GET("os") && ($_GET("os").indexOf("uberstudent-4.3") >= 0 ))
- $timeouty = 20000;
- if ( $_GET("os") && ($_GET("os").indexOf("ubuntustudio") >= 0 ))
- $timeouty = 20000;
- if ( $_GET("os") && ($_GET("os").indexOf("Mageia") >= 0 ))
- $timeouty = 20000;
- if ( $_GET("os") && ($_GET("os").indexOf("kodiubuntu") >= 0 ))
- $timeouty = 20000;
- $timeouty = 1000;
- setTimeout(
- function(){
- window.location = finalurl;
- }
- , $timeouty);
- // header('Location: ' . $finalurl, true, $permanent ? 301 : 302);
- }
- else {
- console.error(xhr2.statusText);
- }
- };
- xhr2.onerror = function (e) {
- console.error(xhr2.statusText);
- };
- xhr2.send();
- } else {
- console.error(xhr1.statusText);
- }
- }
- };
- xhr1.onerror = function (e) {
- console.error(xhr1.statusText);
- };
- xhr1.send();
- }
- function $_GET(param) {
- var vars = {};
- window.location.href.replace( location.hash, '' ).replace(
- /[?&]+([^=&]+)=?([^&]*)?/gi, // regexp
- function( m, key, value ) { // callback
- vars[key] = value !== undefined ? value : '';
- }
- );
- if ( param ) {
- return vars[param] ? vars[param] : null;
- }
- return vars;
- }
- function getCookie(cname) {
- var name = cname + "=";
- var decodedCookie = decodeURIComponent(document.cookie);
- var ca = decodedCookie.split(';');
- for(var i = 0; i <ca.length; i++) {
- var c = ca[i];
- while (c.charAt(0) == ' ') {
- c = c.substring(1);
- }
- if (c.indexOf(name) == 0) {
- return c.substring(name.length, c.length);
- }
- }
- return "";
- }
- function setCookie(cname, cvalue, exdays) {
- var d = new Date();
- d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
- var expires = "expires="+d.toUTCString();
- document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
- }
- function retamano(){
- }
- </script>
- <script async src="https://cdn.ad.plus/player/adplus.js"></script>
- <script data-playerPro="current">(function(){var s=document.querySelector('script[data-playerPro="current"]');s.removeAttribute("data-playerPro");(playerPro=window.playerPro||[]).push({id:"83ppth8xAgzlFWmCNLx2rXuXwQyFlEo7UWoegeVBZzWepTX1nXmK",after:s});})();</script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement