-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxploredownload.html
123 lines (119 loc) · 5.75 KB
/
xploredownload.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<!DOCTYPE html>
<html lang="en" draggable="false">
<head>
<link rel="icon" href="XploreInstaller.ico" type="image/x-icon">
<meta charset="UTF-8">
<meta name="description" content="Steps and links for downloading and installing the Xplore web browser by Teenage Tech on your Mac.">
<meta name="keywords" content="Xplore, Web Browser, Xplore Browser, Download, Download Xplore, Explore, Teenage Tech, Teenage Tech browser, Web, browser, xplore, good web browser, web%20browser, safari, chrome, firefox, edge, brave">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Download Xplore | Teenage Tech</title>
<link rel="stylesheet" href="styles.css">
<style>
body {
background-color: #171717;
color: #FFFFFF;
}
#version-alert {
color: #df6d6d;
display: none;
}
</style>
<meta name="theme-color" content="#77a4b6">
</head>
</head>
<body>
<div id="header-container"></div>
<main>
<div>
<!--If you're seeing this, you are most likely 1) a nerd/geek, 2) a hacker, or 3) somebody tring to figure out what the heck I'm releasing.
In any case, you can uncomment the code, but it won't really do much, as this has happened to the Xplore page, too, and the link for the .dmg file removed.
If you'd like an unstable beta version of Xplore, contact me at hi@owen.uno.
Also, if you're a hacker, this is a static site and therefore, if you hack this, you'll be hacking GitHub ;)
Like I said, you'll see this same message on the Xplore page.
<h1 style="font-size: 70px; font-weight: 100;">Download Xplore.</h1>
<img src="XploreInstaller.png" alt="" id="logo"
width="200"
height="200">
<p>Exclusively for Mac.
<br>
Comes in an easy-to install Disk Image (.dmg) file.
<br>
Approximate installer size: 0.94 Megabytes
<br>
Version: <span id="current-version">1.0.0</span>
<br>
<span id="version-alert">You're running an outdated version of Xplore. Follow the "Update Xplore" instructions at the bottom of the page.</span>
</p>
<h1>Installation steps</h1>
<h2>1. Download the installer.</h2>
<a href="XploreInstaller.dmg" target="_self">
<b>Click here to download the Xplore Installer.<br>By doing so, you agree to the<br>Xplore License Agreement.</b></a>
<h2>2. Mount the installer.</h2>
<p>Once the installer is downloaded, control-click the installer and select <i>Open</i>, then <i>Open Anyway</i>.</p>
<h2>3. Install Xplore.</h2>
<p>When the installer window opens, drag and drop the Xplore icon into the Applications folder Icon.
<br>
Finder may ask for your username and/or password to verify installation.
<br>
If prompted, do so. Once Xplore has been installed to your Applications folder, eject the installer by dragging it into Trash.
<br>Then, navigate to your Applications folder and control-click on the Xplore app and select "Open" then, when the alert opens, select "Open" again.</p>
<h2>That's it! Thanks for installing Xplore.</h2>
<p>To get the most out of Xplore, we suggest taking a look at our <a href="xploretipstricks">Tips and Tricks</a> page.
<br>
<h2>Update Xplore</h2>
To update your version of Xplore, simply quit the Xplore app and then follow Steps 1, 2, and 3.
<br>
Some alerts may not show up, since you aren't installing for the first time.
<br>
<h2>License</h2>
Don't forget to read the <a href="XploreLicense.pdf" target="_self">License Agreement</a>
</p>-->
</div>
</main>
<footer>
<p>© Teenage Tech. All rights reserved.</p>
</footer>
<script src="header.js"></script>
<script type="module" src="firebaseconfig.js"></script>
<script>
window.location.href = "xplore.html";
</script>
<script>
function getBrowserInfo() {
const ua = navigator.userAgent;
let browserName = "Unknown";
let fullVersion = "Unknown";
if (ua.indexOf("Xplore/") > -1) {
browserName = "Xplore";
const start = ua.indexOf("Xplore/") + 7;
const end = ua.indexOf(" ", start);
fullVersion = ua.substring(start, end > -1 ? end : ua.length);
}
return {
name: browserName,
version: fullVersion
};
}
function compareVersions(v1, v2) {
const v1parts = v1.split('.').map(Number);
const v2parts = v2.split('.').map(Number);
for (let i = 0; i < Math.max(v1parts.length, v2parts.length); i++) {
const v1part = v1parts[i] || 0;
const v2part = v2parts[i] || 0;
if (v1part > v2part) return 1;
if (v1part < v2part) return -1;
}
return 0;
}
function showUpdateAlert() {
const browserInfo = getBrowserInfo();
const currentVersionElement = document.getElementById("current-version");
const currentVersion = currentVersionElement ? currentVersionElement.textContent.trim() : "0.0.0";
if (browserInfo.name === "Xplore" && compareVersions(browserInfo.version, currentVersion) < 0) {
document.getElementById("version-alert").style.display = "inline";
}
}
showUpdateAlert();
</script>
</body>
</html>