mirror of
https://github.com/2009scape/2009scape.github.io.git
synced 2024-11-22 02:42:51 +01:00
206 lines
8.9 KiB
HTML
206 lines
8.9 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="{{ page.title }} - Play in Browser Thanks to 2009scape Funorb!">
|
|
<meta name="title" content="{{ page.title }} - Play Classic Flash Games on Modern Browsers on 2009scape Funorb!">
|
|
<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>{{ page.title }} - Play Classic Flash Games on Modern Browsers on 2009scape Funorb!</title>
|
|
<style type="text/css" media="screen">
|
|
/*\*/
|
|
@import url(/services/m=funorb/css/global-44.css);
|
|
/**/
|
|
</style>
|
|
|
|
<style type="text/css" media="screen">
|
|
/*\*/
|
|
@import url("/services/m=funorb/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="/services/m=funorb/index.html" name="home"><b>
|
|
<img src="/services/m=funorb/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="/services/m=funorb/index.html" id="home" name="home"
|
|
class="top_link"><span>Home</span></a></li>
|
|
<li class="top p2"><a href="/services/m=funorb/gamelist.html" id="gamelist" name="gamelist"
|
|
class="top_link"><span>Game List</span></a></li>
|
|
<li class="top p3"><a href="/" 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="/services/m=funorb/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 game is too small, try zooming in with your browser (hold ctrl + scroll).</p>
|
|
<p>If the keyboard stops working, try clicking on the game.</p>
|
|
<p>If the game still doesn't appear, <a name="options" target="_top" href="https://github.com/2009scape/2009scape.github.io/issues">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="/services/m=funorb/img/forum/icons/suggestions_comments.gif">Forums</a>
|
|
<a href="https://discord.gg/YY7WSttN7H"><img alt="Discord"
|
|
src="/services/m=funorb/img/forum/icons/forum_recent_updates.gif">Discord</a>
|
|
<a href="https://2009scape.org/"><img alt="2009scape.org"
|
|
src="/services/m=funorb/img/forum/icons/forum_jmod_clans.gif">2009scape</a>
|
|
<a href="/services/m=funorb/index.html"><img alt="Funorb home" src="/services/m=funorb/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("/services/m=funorb/data.json")
|
|
.then(async response => {
|
|
// console.log(response)
|
|
const data = await response.json();
|
|
// console.log(data);
|
|
// Get the current game from Jekyll variable 'page.id'
|
|
const game = "{{ page.id }}";
|
|
// Get the game data from the JSON file
|
|
const gameData = data[game];
|
|
console.log(`Game id ${game} got data:`, 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({
|
|
url: '/services/m=funorb/' + gameData.swf,
|
|
warnOnUnsupportedContent: false,
|
|
backgroundColor: "#363636",
|
|
splashScreen: false,
|
|
autoplay: true,
|
|
});
|
|
player.style.width = "800px";
|
|
player.style.height = "600px";
|
|
console.log(player);
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html> |