mirror of
https://github.com/2009scape/2009scape.github.io.git
synced 2024-11-04 10:02:36 +01:00
207 lines
8.4 KiB
HTML
207 lines
8.4 KiB
HTML
<html xmlns:ie="" class=" ihxmqmizq idc0_343" lang="
|
|
en">
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
<meta http-equiv="Content-Language" content="
|
|
en">
|
|
<meta http-equiv="imagetoolbar" content="no">
|
|
<meta http-equiv="PRAGMA" content="NO-CACHE">
|
|
<meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
|
|
<meta name="keywords"
|
|
content="Action, Play Free Online Games, puzzle games, platform games, arcade games, shooter games, action games, java games, casual games, racing games, word games, retro games, classic games, browser games, strategy games, multiplayer games, arcanists, Jagex">
|
|
<meta name="description" content="Play Flash Games!">
|
|
<meta name="title" content="Funorb - Game Loading..">
|
|
<meta name="Author" content="2009scape.org">
|
|
<meta name="Copyright" content="Copyright 2009scape">
|
|
<meta name="ROBOTS" content="INDEX, FOLLOW">
|
|
<meta name="classification" content="GENERAL">
|
|
<meta name="rating" content="General">
|
|
<meta name="Distribution" content="global">
|
|
<meta name="Identifier-URL" content="2009scape.org">
|
|
<link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico">
|
|
<link rel="SHORTCUT ICON" href="/favicon.ico">
|
|
<link rel="image_src" href="img/images/game/bouncedown/small.jpg">
|
|
<title>Funorb - Game Loading..</title>
|
|
<style type="text/css" media="screen">
|
|
/*\*/
|
|
@import url(css/global-44.css);
|
|
/**/
|
|
</style>
|
|
|
|
<style type="text/css" media="screen">
|
|
/*\*/
|
|
@import url("css/game-13.css");
|
|
/**/
|
|
</style>
|
|
<script type="text/javascript"> function getcookies() { return document.cookie; } </script>
|
|
</head>
|
|
|
|
<a name="top"></a>
|
|
|
|
<table id="wrapper">
|
|
<tbody>
|
|
<tr>
|
|
<td class="center bodyTheme">
|
|
<div id="gameContainer">
|
|
<div id="navigation">
|
|
<div class="lft"></div>
|
|
<div class="rght"></div>
|
|
<div id="banner">
|
|
<iframe id="ad1"
|
|
src=""
|
|
scrolling="no" allowtransparency="true" data-ruffle-polyfilled="" c7412ifxb="" width="742" height="92"
|
|
frameborder="0"></iframe>
|
|
</div>
|
|
<div class="container" id="memberhead" style="display:none;">
|
|
<a id="logo" href="./index.html"
|
|
onclick="return cm();" name="home"><b>
|
|
<img
|
|
src="./img/images/layout/logo_voidhunters.jpg"
|
|
alt="FunOrb">
|
|
</b></a>
|
|
|
|
<div id="shell">
|
|
<div class="lft"></div>
|
|
<div class="rght"></div>
|
|
<div id="teleText">
|
|
<h1 id="welcomeText">Welcome to FunOrb - The Best in Free Online Games</h1>
|
|
<span id="teletext_inner">
|
|
Welcome to FunOrb!</span>
|
|
|
|
</div>
|
|
<div id="sessionText">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<ul class="menu">
|
|
<li class="top p1"><a href="./index.html" onclick="return cm();" id="home" name="home"
|
|
class="top_link"><span>Home</span></a></li>
|
|
<li class="top p2"><a href="./gamelist.html" onclick="return cm();" id="gamelist" name="gamelist"
|
|
class="top_link"><span>Game List</span></a></li>
|
|
<li class="top p3"><a href="/" onclick="return cm();" id="serverlist" name="serverlist"
|
|
class="top_link"><span>2009scape</span></a></li>
|
|
<li class="top p11">
|
|
<div class="top_link"><span> </span></div>
|
|
</li>
|
|
</ul>
|
|
<br class="clear">
|
|
</div>
|
|
<div>
|
|
|
|
<div style="color: red; margin-top: 1rem;" id="warning"></div>
|
|
<div id="notFound" style="display: none">
|
|
<br />
|
|
Return to <a href="./gamelist.html">the game list</a> and try again.
|
|
</div>
|
|
|
|
<div id="theGameScreen" style="height: max-content;">
|
|
<script src="https://unpkg.com/@ruffle-rs/ruffle"></script>
|
|
<div style="text-align: center; padding-top: 0.5rem; padding-bottom: 1.5rem;">
|
|
<div id="swfgamecontainer">
|
|
</div>
|
|
</div>
|
|
|
|
<span class="headertitleleft"><span class="headertitleright">
|
|
<a href="SetInJS" id="talkInForums">Talk about it on the Forums!</a>
|
|
</span></span>
|
|
|
|
<p>If the keyboard stops working, try clicking on the game.</p>
|
|
<p>If the game doesn't appear, try minimising and un-minimising your browser.</p>
|
|
<p>If the game still doesn't appear, <a name="options" target="_top" href="options.ws"
|
|
onclick="return cm();">click here</a>.</p>
|
|
|
|
</div>
|
|
<div id="bookmark">
|
|
<span class="bmtg">More about this game:</span>
|
|
|
|
<a href="SetInJS" id="talkInForums2"
|
|
target="_blank" title="Talk about this game on the Forums"
|
|
><img
|
|
src="../../site/img/forum/icons/off_topic_2.gif"
|
|
style="width: 16px; height: 16px; border: none;" alt="Forums"><span
|
|
class="SB_label"> Forums</span></a>
|
|
</div>
|
|
<div id="copyRight">
|
|
|
|
<div id="languagefooter">
|
|
Quick Links:
|
|
<a href="https://forum.2009scape.org/"><img alt="Forums" src="img/forum/icons/suggestions_comments.gif">Forums</a>
|
|
<a href="https://discord.gg/YY7WSttN7H"><img alt="Discord" src="img/forum/icons/forum_recent_updates.gif">Discord</a>
|
|
<a href="https://2009scape.org/"><img alt="2009scape.org" src="img/forum/icons/forum_jmod_clans.gif">2009scape</a>
|
|
<a href="./index.html"><img alt="Funorb home" src="img/forum/icons/platform.gif">Funorb</a>
|
|
</div>
|
|
<div class="cr">
|
|
<p>
|
|
Copyright © 2023 under AGPL.
|
|
<strong>2009Scape is not affiliated with RuneScape or Jagex
|
|
Ltd.</strong><br />
|
|
</p>
|
|
<p>
|
|
Use of our Game's source code is subject to our
|
|
<a href="/site/terms/terms.html">Terms & Conditions</a>
|
|
and
|
|
<a href="/site/privacy/privacy.html">Privacy Policy</a>.<br />
|
|
</p>
|
|
</div>
|
|
<div id="jagex">
|
|
<a href="/" target="_blank">
|
|
<img src="/site/2009scape-resources/img/branding/logo-footer-dark.webp" width="110" height="33"
|
|
alt="2009Scape Logo" />
|
|
</a>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<script>
|
|
fetch("data.json")
|
|
.then(async response => {
|
|
// console.log(response)
|
|
const data = await response.json();
|
|
// console.log(data);
|
|
// Get the current game parameter from URL
|
|
const urlParams = new URLSearchParams(window.location.search);
|
|
const game = urlParams.get('game');
|
|
// Get the game data from the JSON file
|
|
const gameData = data[game];
|
|
console.log(gameData);
|
|
|
|
if (!gameData) {
|
|
document.getElementById('warning').innerHTML = `Game '${game}' Not Found!`;
|
|
document.getElementById('notFound').style.display = '';
|
|
}
|
|
|
|
document.getElementById('talkInForums').setAttribute('href', gameData?.forum || "https://forum.2009scape.org/viewforum.php?f=26-website-games");
|
|
document.getElementById('talkInForums2').setAttribute('href', gameData?.forum || "https://forum.2009scape.org/viewforum.php?f=26-website-games");
|
|
|
|
if (gameData.warn) document.getElementById('warning').innerHTML = gameData.warn;
|
|
|
|
// Update meta tags
|
|
document.title = `${gameData.name} - 2009Scape Funorb`;
|
|
document.head.querySelector('meta[name="title"]').content = `${gameData.name} - 2009Scape Funorb`;
|
|
document.head.querySelector('meta[name="description"]').content = gameData.description;
|
|
|
|
window.RufflePlayer = window.RufflePlayer || {};
|
|
console.log("Loading Ruffle...");
|
|
const ruffle = window.RufflePlayer.newest();
|
|
const player = ruffle.createPlayer();
|
|
const container = document.getElementById("swfgamecontainer");
|
|
container.appendChild(player);
|
|
player.load(gameData.swf);
|
|
player.style.width = "680px";
|
|
player.style.height = "480px";
|
|
console.log(player);
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html> |