Color tags??? Color tags. Why not.

yes these are tags used in actual geometry dash
This commit is contained in:
GDColon 2021-02-03 13:50:19 -05:00
parent a663589f57
commit c2c0d093d7
21 changed files with 90 additions and 87 deletions

View file

@ -106,6 +106,10 @@ img, .noSelect {
vertical-align: middle; vertical-align: middle;
} }
.underline {
text-decoration: underline;
}
.inline { .inline {
display: inline-block; display: inline-block;
} }
@ -307,8 +311,7 @@ input[type='number'] {
-moz-appearance:textfield; -moz-appearance:textfield;
} }
input::-webkit-outer-spin-button, input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
input::-webkit-inner-spin-button {
-webkit-appearance: none; -webkit-appearance: none;
} }
@ -1173,6 +1176,14 @@ input::-webkit-inner-spin-button {
transition-duration: 0s !important; transition-duration: 0s !important;
} }
cr { color: #ff5a5a }
co { color: #ffa54b }
cy { color: #ffff00 }
cg { color: #40e348 }
ca { color: #00ffff }
cb { color: #60abef }
cp { color: #ff00ff }
.red { .red {
color: #ff0000 !important; color: #ff0000 !important;
} }

View file

@ -1,7 +1,7 @@
<head> <head>
<title>Achievements</title> <title>Achievements</title>
<meta charset="utf-8"> <meta charset="utf-8">
<link href="../assets/css/browser.css?" type="text/css" rel="stylesheet"> <link href="../assets/css/browser.css?v=2" type="text/css" rel="stylesheet">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script>
<link rel="icon" href="../assets/trophies/1.png"> <link rel="icon" href="../assets/trophies/1.png">
<meta id="meta-title" property="og:title" content="Achievements"> <meta id="meta-title" property="og:title" content="Achievements">

View file

@ -6,7 +6,7 @@
<meta id="meta-desc" property="og:description" content="Analyze a Geometry Dash level and view it's objects, portals, color channels, code, and more!"> <meta id="meta-desc" property="og:description" content="Analyze a Geometry Dash level and view it's objects, portals, color channels, code, and more!">
<meta id="meta-image" name="og:image" itemprop="image" content="https://gdbrowser.com/assets/cp.png"> <meta id="meta-image" name="og:image" itemprop="image" content="https://gdbrowser.com/assets/cp.png">
<meta name="twitter:card" content="summary"> <meta name="twitter:card" content="summary">
<link href="../assets/css/browser.css?" type="text/css" rel="stylesheet"> <link href="../assets/css/browser.css?v=2" type="text/css" rel="stylesheet">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script>
<link rel="icon" href="../assets/cp.png"> <link rel="icon" href="../assets/cp.png">
</head> </head>

View file

@ -1,7 +1,7 @@
<head> <head>
<title>Coming Soon...</title> <title>Coming Soon...</title>
<meta charset="utf-8"> <meta charset="utf-8">
<link href="../assets/css/browser.css?" type="text/css" rel="stylesheet"> <link href="../assets/css/browser.css?v=2" type="text/css" rel="stylesheet">
<link rel="icon" href="../assets/coin.png"> <link rel="icon" href="../assets/coin.png">
</head> </head>

View file

@ -1,7 +1,7 @@
<head> <head>
<title>Comments</title> <title>Comments</title>
<meta charset="utf-8"> <meta charset="utf-8">
<link href="../assets/css/browser.css?" type="text/css" rel="stylesheet"> <link href="../assets/css/browser.css?v=2" type="text/css" rel="stylesheet">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script>
<link rel="icon" href="../assets/like.png"> <link rel="icon" href="../assets/like.png">
<meta id="meta-title" property="og:title" content="Level Comments"> <meta id="meta-title" property="og:title" content="Level Comments">
@ -134,7 +134,7 @@
<script> <script>
let {mode, compact} = JSON.parse(localStorage.getItem('commentPreset') || '{"mode": "top", "compact": true}') let {mode, compact} = JSON.parse(localStorage.getItem('commentPreset') || '{"mode": "top", "compact": true}')
let messageText = 'Your <span style="color: yellow">Geometry Dash password</span> will <span style="color: lime">not be stored</span> anywhere on the site, both <span style="color:rgb(113, 234, 255)">locally and server-side.</span> You can view the code used for posting a comment <a class="menuLink" target="_blank" href="https://github.com/GDColon/GDBrowser/blob/master/api/post/postComment.js">here</a>.' let messageText = 'Your <cy>Geometry Dash password</cy> will <cg>not be stored</cg> anywhere on the site, both <ca>locally and server-side.</ca> You can view the code used for posting a comment <a class="menuLink" target="_blank" href="https://github.com/GDColon/GDBrowser/blob/master/api/post/postComment.js">here</a>.'
$('#message').html(messageText) $('#message').html(messageText)
$('#likeMessage').html(messageText.replace("posting", "liking").replace("postComment", "like")) $('#likeMessage').html(messageText.replace("posting", "liking").replace("postComment", "like"))

View file

@ -1,7 +1,7 @@
<head> <head>
<title>Demon Leaderboard</title> <title>Demon Leaderboard</title>
<meta charset="utf-8"> <meta charset="utf-8">
<link href="../assets/css/browser.css?" type="text/css" rel="stylesheet"> <link href="../assets/css/browser.css?v=2" type="text/css" rel="stylesheet">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script>
<link rel="icon" href="../assets/trophy-demon.png"> <link rel="icon" href="../assets/trophy-demon.png">
<meta id="meta-title" property="og:title" content="Demon Leaderboard"> <meta id="meta-title" property="og:title" content="Demon Leaderboard">
@ -18,11 +18,11 @@
<div class="fancybox bounce center supercenter" style="width: 90vh"> <div class="fancybox bounce center supercenter" style="width: 90vh">
<h2 class="smaller center" style="font-size: 5.5vh">Credits</h2> <h2 class="smaller center" style="font-size: 5.5vh">Credits</h2>
<p class="bigger center" style="line-height: 5vh; margin-top: 1.5vh; margin-bottom: 2.5vh;"> <p class="bigger center" style="line-height: 5vh; margin-top: 1.5vh; margin-bottom: 2.5vh;">
<span style="color: orange">Demon rankings</span> made possible thanks to <a target="_blank" href="https://pointercrate.com"><span style="color:aqua; text-decoration: underline">Pointercrate</span></a>! <co>Demon rankings</co> made possible thanks to <a target="_blank" href="https://pointercrate.com"><ca class="underline">Pointercrate</ca></a>!
All demons and rankings are managed by their <span style="color: #4CDA5B">list staff</span>. All demons and rankings are managed by their <cg>list staff</cg>.
</p> </p>
<p class="bigger center" style="margin-top: 1vh"> <p class="bigger center" style="margin-top: 1vh">
Usernames may <span style="color: yellow">differ</span> from what is used in GD Usernames may <cy>differ</cy> from what is used in GD
</p> </p>
<img src="../assets/ok.png" width=15%; class="gdButton center" onclick="$('.popup').hide()"> <img src="../assets/ok.png" width=15%; class="gdButton center" onclick="$('.popup').hide()">
</div> </div>

View file

@ -1,7 +1,7 @@
<head> <head>
<title>Level Search</title> <title>Level Search</title>
<meta charset="utf-8"> <meta charset="utf-8">
<link href="../assets/css/browser.css" type="text/css" rel="stylesheet"> <link href="../assets/css/browser.css?v=2"text/css" rel="stylesheet">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script>
<link rel="icon" href="../assets/coin.png"> <link rel="icon" href="../assets/coin.png">
<meta id="meta-title" property="og:title" content="Level Search"> <meta id="meta-title" property="og:title" content="Level Search">
@ -41,7 +41,7 @@
<div class="brownBox bounce center supercenter" style="width: 100vh; height: 56%; padding-top: 0.3%; padding-bottom: 3.5%; padding-left: 1%"> <div class="brownBox bounce center supercenter" style="width: 100vh; height: 56%; padding-top: 0.3%; padding-bottom: 3.5%; padding-left: 1%">
<img class="gdButton" src="../assets/close.png" width="9%" style="position: absolute; top: -8.5%; left: -5.5vh" onclick="$('#customlist').hide()"> <img class="gdButton" src="../assets/close.png" width="9%" style="position: absolute; top: -8.5%; left: -5.5vh" onclick="$('#customlist').hide()">
<h1>Custom List</h1><br> <h1>Custom List</h1><br>
<p id="listInfo" style="margin-top: 1%; margin-bottom: 1.5%">Paste a <span style="color: yellow">comma-seperated</span> list of <span style="color: cyan">Level IDs</span> to create a custom list!</p> <p id="listInfo" style="margin-top: 1%; margin-bottom: 1.5%">Paste a <cy>comma-separated</cy> list of <ca>Level IDs</ca> to create a custom list!</p>
<textarea id="listLevels" placeholder="18025697, 23189196, 27786218, 27728679, 25706351" style="margin-bottom: 2%; font-size: 2.5vh"></textarea> <textarea id="listLevels" placeholder="18025697, 23189196, 27786218, 27728679, 25706351" style="margin-bottom: 2%; font-size: 2.5vh"></textarea>
<div class="inline" style="width: 60%"> <div class="inline" style="width: 60%">
@ -264,7 +264,7 @@ $('#listLevels, #listName').on('input blur', function (event) {
levels = undupe(levels) levels = undupe(levels)
if (levels.length > 1 && levels.length <= 100) { if (levels.length > 1 && levels.length <= 100) {
$('#listInfo').html(`A list of <span style='color: yellow'>${levels.length}</span> levels will be created.`) $('#listInfo').html(`A list of <cy>${levels.length}</cy> levels will be created.`)
$('#listLink').attr('href', `../search/${levels.join(",")}?list&count=${+$('#pageSize').val()}${$('#listName').val().length ? `&header=${encodeURIComponent($('#listName').val())}` : ""}`) $('#listLink').attr('href', `../search/${levels.join(",")}?list&count=${+$('#pageSize').val()}${$('#listName').val().length ? `&header=${encodeURIComponent($('#listName').val())}` : ""}`)
$('#createList').removeClass('disabled') $('#createList').removeClass('disabled')
} }

View file

@ -1,7 +1,7 @@
<head> <head>
<title>Gauntlets</title> <title>Gauntlets</title>
<meta charset="utf-8"> <meta charset="utf-8">
<link href="../assets/css/browser.css?" type="text/css" rel="stylesheet"> <link href="../assets/css/browser.css?v=2" type="text/css" rel="stylesheet">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script>
<link rel="icon" href="../assets/gauntlet.png"> <link rel="icon" href="../assets/gauntlet.png">
<meta id="meta-title" property="og:title" content="Gauntlets"> <meta id="meta-title" property="og:title" content="Gauntlets">

View file

@ -1,7 +1,7 @@
<head> <head>
<title>GD Multiverse Navigation Terminal</title> <title>GD Multiverse Navigation Terminal</title>
<meta charset="utf-8"> <meta charset="utf-8">
<link href="../assets/css/browser.css?" type="text/css" rel="stylesheet"> <link href="../assets/css/browser.css?v=2" type="text/css" rel="stylesheet">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script>
<link rel="icon" href="../assets/unlock.png"> <link rel="icon" href="../assets/unlock.png">
<meta id="meta-title" property="og:title" content="GD Multiverse Navigation Terminal"> <meta id="meta-title" property="og:title" content="GD Multiverse Navigation Terminal">
@ -19,12 +19,12 @@
<h2 class="smaller center" style="font-size: 5.5vh">Add server</h2> <h2 class="smaller center" style="font-size: 5.5vh">Add server</h2>
<p class="bigger center" style="line-height: 5vh; margin-top: 1.5vh; margin-bottom: 2.5vh;"> <p class="bigger center" style="line-height: 5vh; margin-top: 1.5vh; margin-bottom: 2.5vh;">
Please contact <span style="color: #FF8000">Colon</span></a> on Please contact <span style="color: #FF8000">Colon</span></a> on
<a target="_blank" href="https://twitter.com/TheRealGDColon"><span style="color:aqua; text-decoration: underline">Twitter</span></a> or <a target="_blank" href="https://twitter.com/TheRealGDColon"><ca class="underline">Twitter</ca></a> or
<span style="color: #7289DA">Discord</span> if you are interested in adding your <span style="color: yellow">private server</span> to this list. <span style="color: #7289DA">Discord</span> if you are interested in adding your <cy>private server</cy> to this list.
</p> </p>
<p class="bigger center" style="margin-top: 1vh"> <p class="bigger center" style="margin-top: 1vh">
Please note that I am only adding <span style="color: lime">relatively popular</span> servers at this time. Please note that I am only adding <cg>relatively popular</cg> servers at this time.
Servers which are <span style="color: lightcoral">inactive</span> or have <span style="color: lightcoral">few levels/members</span> will not be accepted. Servers which are <cr>inactive</cr> or have <cr>few levels/members</cr> will not be accepted.
</p> </p>
<img src="../assets/ok.png" width=15%; class="gdButton center" onclick="$('.popup').hide()"> <img src="../assets/ok.png" width=15%; class="gdButton center" onclick="$('.popup').hide()">
</div> </div>

View file

@ -1,7 +1,7 @@
<head> <head>
<title>Geometry Dash Browser!</title> <title>Geometry Dash Browser!</title>
<meta charset="utf-8"> <meta charset="utf-8">
<link href="../assets/css/browser.css?" type="text/css" rel="stylesheet"> <link href="../assets/css/browser.css?v=2" type="text/css" rel="stylesheet">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script>
<link rel="icon" href="../assets/coin.png"> <link rel="icon" href="../assets/coin.png">
<meta id="meta-title" property="og:title" content="Geometry Dash Browser!"> <meta id="meta-title" property="og:title" content="Geometry Dash Browser!">
@ -47,8 +47,8 @@
<div id="dl" style="display: none; position:absolute; top: 15%; right: 0.5%; text-align: center; width: 17%"> <div id="dl" style="display: none; position:absolute; top: 15%; right: 0.5%; text-align: center; width: 17%">
<h1 class="smaller" style="margin-bottom: 1%">Note</h1> <h1 class="smaller" style="margin-bottom: 1%">Note</h1>
<p style="font-size: 2.2vh; margin-top: 1.2%"><span style="color: cyan">Level downloading</span> has been <span style="color: red">blocked</span> by RobTop. <p style="font-size: 2.2vh; margin-top: 1.2%"><ca>Level downloading</ca> has been <cr>blocked</cr> by RobTop.
<span style="color: yellow">Level analysis, daily levels, and downloading extra info</span> will <span style="color: lime">not work</span> until a resolution is made.</p> <cy>Level analysis, daily levels, and downloading extra info</cy> will <cg>not work</cg> until a resolution is made.</p>
</div> </div>
<div class="supercenter center" id="menuButtons" style="bottom: 5%;"> <div class="supercenter center" id="menuButtons" style="bottom: 5%;">

View file

@ -177,7 +177,7 @@ fetch('./api/icons').then(res => {
if (iconStuff.noCopy) $('#getUserIcon').remove() if (iconStuff.noCopy) $('#getUserIcon').remove()
else if (iconStuff.server) { else if (iconStuff.server) {
$('#copyFrom').html(`Copying from the <span style="color: yellow">${iconStuff.server}</span> servers`) $('#copyFrom').html(`Copying from the <cy>${iconStuff.server}</cy> servers`)
$('#stealBox').css('height', '385px') $('#stealBox').css('height', '385px')
} }
@ -450,7 +450,7 @@ fetch('./api/icons').then(res => {
let foundMerch = shopIcons.find(x => x.type == form && x.icon == +iconNumber) let foundMerch = shopIcons.find(x => x.type == form && x.icon == +iconNumber)
if (foundAch) $('#howto').html(foundAch.description.replace("Demon difficulty", "Demon")) if (foundAch) $('#howto').html(foundAch.description.replace("Demon difficulty", "Demon"))
else if (foundMerch) $('#howto').html(`Purchase in ${shops[foundMerch.shop]}shop for <span style="color: aqua">${foundMerch.price}</span> orbs`) else if (foundMerch) $('#howto').html(`Purchase in ${shops[foundMerch.shop]}shop for <ca>${foundMerch.price}</ca> orbs`)
else $('#howto').html("<span style='color: #aaaaaa'>(no info available)</span>") else $('#howto').html("<span style='color: #aaaaaa'>(no info available)</span>")
} }
}) })

View file

@ -1,7 +1,7 @@
<head> <head>
<title>Leaderboard</title> <title>Leaderboard</title>
<meta charset="utf-8"> <meta charset="utf-8">
<link href="../assets/css/browser.css" type="text/css" rel="stylesheet"> <link href="../assets/css/browser.css?v=2"text/css" rel="stylesheet">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script>
<link rel="icon" href="../assets/trophy.png"> <link rel="icon" href="../assets/trophy.png">
<meta id="meta-title" property="og:title" content="Leaderboards"> <meta id="meta-title" property="og:title" content="Leaderboards">
@ -91,30 +91,21 @@ let trophies = [1, 3, 10, 25, 50, 75, 100]
let boomColors = ["red", "orange", "yellow", "green", "teal", "blue", "pink"] let boomColors = ["red", "orange", "yellow", "green", "teal", "blue", "pink"]
let top250Text = let top250Text =
`The <g>Stars<> leaderboard contains the <g>top 250 players<>, sorted by <y>star<> value. However, due to <o>hackers<> flooding the leaderboard, this leaderboard has been <b>frozen<> for well over 2 years and displays <o>very outdated information<>.` `The <cg>Stars</cg> leaderboard contains the <cg>top 250 players</cg>, sorted by <cy>star</cy> value. However, due to <co>hackers</co> flooding the leaderboard, this leaderboard has been <cb>frozen</cb> for well over 2 years and displays <co>very outdated information</co>.`
let topGDPSText = let topGDPSText =
`The <g>Stars<> leaderboard contains the <g>top players<>, sorted by <y>star<> value. It is <o>inaccurate<> in vanilla GD but should be <b>reliable<> on most <y>private servers<>.` `The <cg>Stars</cg> leaderboard contains the <cg>top players</cg>, sorted by <cy>star</cy> value. It is <co>inaccurate</co> in vanilla GD but should be <cb>reliable</cb> on most <cy>private servers</cy>.`
let weeklyText = let weeklyText =
`The <g>Weekly<> leaderboard displays the players who have gained the most <y>stars<> in the <b>past week<>. It was officially <o>removed<> in update 2.0, but lives on in some GDPS'es.` `The <cg>Weekly</cg> leaderboard displays the players who have gained the most <cy>stars</cy> in the <cb>past week</cb>. It was officially <co>removed</co> in update 2.0, but lives on in some GDPS'es.`
let accurateText = let accurateText =
`The <g>Accurate Leaderboard<> is a highly accurate, hacker-proof leaderboard with <y>proper stats and positioning<> (unlike the regular one). It is managed by <b>XShadowWizardX, Pepper360, Octeract<>, and many many other helpers. Be sure to check out their <a target="_blank" href="https://docs.google.com/spreadsheets/d/10lbPnDYJXhbtlA0ls0cGjjX_osFSG559IDrTbhgPHvc"><span style="color:aqua; text-decoration: underline">interactive leaderboard spreadsheet<></a> or join their <a target="_blank" href="https://discord.gg/Uz7pd4d"><span style="color:aqua; text-decoration: underline">Discord server<></a>.` `The <cg>Accurate Leaderboard</cg> is a highly accurate, hacker-proof leaderboard with <cy>proper stats and positioning</cy> (unlike the regular one). It is managed by <cb>XShadowWizardX, Pepper360, Octeract</cb>, and many many other helpers. Be sure to check out their <a target="_blank" href="https://docs.google.com/spreadsheets/d/10lbPnDYJXhbtlA0ls0cGjjX_osFSG559IDrTbhgPHvc"><ca class="underline">interactive leaderboard spreadsheet</ca></a> or join their <a target="_blank" href="https://discord.gg/Uz7pd4d"><ca class="underline">Discord server<ca></a>.`
let creatorText = let creatorText =
`The <g>Creators Leaderboard<> is sorted by <g>creator points<>, rather than stars. A player's <g>creator points<> (CP) is calculated by counting their number of <y>star rated<> levels, plus an extra point for every level that has been <b>featured<>, plus an additional point for <o>epic rated<> levels.` `The <cg>Creators Leaderboard</cg> is sorted by <cg>creator points</cg>, rather than stars. A player's <cg>creator points</cg> (CP) is calculated by counting their number of <cy>star rated</cy> levels, plus an extra point for every level that has been <cb>featured</cb>, plus an additional point for <co>epic rated</co> levels.`
function infoText(text) {
let tweaked = text
.replace(/<g>/g, '<span style="color:#4CDA5B">')
.replace(/<b>/g, '<span style="color:#60ABEF">')
.replace(/<y>/g, '<span style="color:yellow">')
.replace(/<o>/g, '<span style="color:orange">')
.replace(/<>/g, '</span>')
$('#infoText').html(tweaked)
}
function infoText(text) { $('#infoText').html(text) }
infoText(accurateText) infoText(accurateText)
function leaderboard(val) { function leaderboard(val) {
@ -173,7 +164,7 @@ function leaderboard(val) {
/* else if (type == "accurate") { /* else if (type == "accurate") {
$('#searchBox').append(`<div style="width: 100%"> $('#searchBox').append(`<div style="width: 100%">
<h1 style="margin-top: 14%"class="center">The Accurate Leaderboard<br>is temporarily disabled</h1> <h1 style="margin-top: 14%"class="center">The Accurate Leaderboard<br>is temporarily disabled</h1>
<p class="center" style="padding: 0% 10%">Due to RobTop's new <span style="color: yellow">API enforcements</span>, the Accurate Leaderboard is <span style="color: cyan">no longer able to load reliably</span>. A fix is being worked on and will hopefully be released in <span style="color: lime">a day or two</span>.</p> <p class="center" style="padding: 0% 10%">Due to RobTop's new <cy>API enforcements</cy>, the Accurate Leaderboard is <ca>no longer able to load reliably</ca>. A fix is being worked on and will hopefully be released in <cg>a day or two</cg>.</p>
</div>`) </div>`)
} */ } */

View file

@ -1,7 +1,7 @@
<head> <head>
<title>[[NAME]] ([[ID]])</title> <title>[[NAME]] ([[ID]])</title>
<meta charset="utf-8"> <meta charset="utf-8">
<link href="../assets/css/browser.css" type="text/css" rel="stylesheet"> <link href="../assets/css/browser.css?v=2"text/css" rel="stylesheet">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script>
<link rel="icon" href="../assets/difficulties/[[DIFFICULTYFACE]].png"> <link rel="icon" href="../assets/difficulties/[[DIFFICULTYFACE]].png">
<meta id="meta-title" property="og:title" content="[[NAME]] by [[AUTHOR]]"> <meta id="meta-title" property="og:title" content="[[NAME]] by [[AUTHOR]]">
@ -19,9 +19,9 @@
<h2 class="smaller center" style="font-size: 5.5vh">Level Info</h2> <h2 class="smaller center" style="font-size: 5.5vh">Level Info</h2>
<p class="bigger center" id="levelInfo" style="line-height: 5vh; margin-top: 1.5vh;"> <p class="bigger center" id="levelInfo" style="line-height: 5vh; margin-top: 1.5vh;">
<span class="pre" style="color:lime">[[NAME]]</span><br> <span class="pre" style="color:lime">[[NAME]]</span><br>
ID: <span style="color:yellow">[[ID]]</span>[[ORIGINALINFO]][[LOWDETAIL]][[PASS]][[UPLOAD]][[UPDATE]][[TIME1]][[TIME2]][[EXTRA]] ID: <cy>[[ID]]</cy>[[ORIGINALINFO]][[LOWDETAIL]][[PASS]][[UPLOAD]][[UPDATE]][[TIME1]][[TIME2]][[EXTRA]]
<br>Version: <span style="color:yellow">[[VERSION]]</span> <br>Version: <cy>[[VERSION]]</cy>
<br>GD Version: <span style="color:yellow">[[GAMEVERSION]]</span> <br>GD Version: <cy>[[GAMEVERSION]]</cy>
[[OBJECTINFO]][[REQUESTED]] [[OBJECTINFO]][[REQUESTED]]
</p> </p>
<img src="../assets/ok.png" width=20%; class="gdButton center closeWindow"> <img src="../assets/ok.png" width=20%; class="gdButton center closeWindow">
@ -32,7 +32,7 @@
<div class="fancybox bounce center supercenter"> <div class="fancybox bounce center supercenter">
<h2 class="smaller center" style="font-size: 5.5vh">Saved!</h2> <h2 class="smaller center" style="font-size: 5.5vh">Saved!</h2>
<p class="bigger center" style="line-height: 5vh; margin-top: 1.5vh;"> <p class="bigger center" style="line-height: 5vh; margin-top: 1.5vh;">
<span class="pre" style="color:yellow">[[NAME]]</span> has been added to your <a class="youCanClickThis2" style="color:lime" href="../search/levels?type=saved">saved levels</a> list. <cy class="pre">[[NAME]]</cy> has been added to your <a class="youCanClickThis2" style="color:lime" href="../search/levels?type=saved">saved levels</a> list.
</p> </p>
<img src="../assets/ok.png" width=20%; class="gdButton center" onclick="savedLevel()"> <img src="../assets/ok.png" width=20%; class="gdButton center" onclick="savedLevel()">
</div> </div>
@ -42,7 +42,7 @@
<div class="fancybox bounce center supercenter" style="width: 60vh; height: 28%"> <div class="fancybox bounce center supercenter" style="width: 60vh; height: 28%">
<h2 class="smaller center" style="font-size: 5.5vh">Delete Level</h2> <h2 class="smaller center" style="font-size: 5.5vh">Delete Level</h2>
<p class="bigger center" style="line-height: 5vh; margin-top: 1.5vh;"> <p class="bigger center" style="line-height: 5vh; margin-top: 1.5vh;">
Are you sure you want to <span style="color:#C67A7E">delete</span> this level from your <a class="youCanClickThis2"style="color:lime" href="../search/levels?type=saved">saved levels </a>list? Are you sure you want to <cr>delete</cr> this level from your <a class="youCanClickThis2"style="color:lime" href="../search/levels?type=saved">saved levels </a>list?
</p> </p>
<img src="../assets/btn-no.png" height=25%; class="gdButton center closeWindow"> <img src="../assets/btn-no.png" height=25%; class="gdButton center closeWindow">
<img src="../assets/btn-yes.png" height=25%; class="gdButton center sideSpaceB" onclick="deleteLevel()"> <img src="../assets/btn-yes.png" height=25%; class="gdButton center sideSpaceB" onclick="deleteLevel()">
@ -53,7 +53,7 @@
<div class="fancybox bounce center supercenter" style="width: 75vh"> <div class="fancybox bounce center supercenter" style="width: 75vh">
<h2 class="smaller center" style="font-size: 5.5vh">Level Analysis</h2> <h2 class="smaller center" style="font-size: 5.5vh">Level Analysis</h2>
<p class="bigger center" style="line-height: 5vh; margin-top: 1.5vh;"> <p class="bigger center" style="line-height: 5vh; margin-top: 1.5vh;">
<span class="pre" style="color:yellow">Level analysis</span> is currently <span style="color: red">blocked</span> by RobTop. We don't know when or if it will be re-enabled.<br><a class="youCanClickThis" style="color:aqua" href="./analyze/[[ID]]">(click to try anyways)</a> <cy>Level analysis</cy> is currently <cr>blocked</cr> by RobTop. We don't know when or if it will be re-enabled.<br><a class="youCanClickThis" style="color:aqua" href="./analyze/[[ID]]">(click to try anyways)</a>
</p> </p>
<img src="../assets/ok.png" width=20%; class="gdButton center" onclick="$('.popup').hide()"> <img src="../assets/ok.png" width=20%; class="gdButton center" onclick="$('.popup').hide()">
</div> </div>
@ -172,7 +172,7 @@
<script type="text/javascript" src="../sizecheck.js?"></script> <script type="text/javascript" src="../sizecheck.js?"></script>
<script> <script>
let messageText = 'Your <span style="color: yellow">Geometry Dash password</span> will <span style="color: lime">not be stored</span> anywhere on the site, both <span style="color:rgb(113, 234, 255)">locally and server-side.</span> You can view the code used for liking a level <a class="menuLink" target="_blank" href="https://github.com/GDColon/GDBrowser/blob/master/api/post/like.js">here</a>.' let messageText = 'Your <cy>Geometry Dash password</cy> will <cg>not be stored</cg> anywhere on the site, both <ca>locally and server-side.</ca> You can view the code used for liking a level <a class="menuLink" target="_blank" href="https://github.com/GDColon/GDBrowser/blob/master/api/post/like.js">here</a>.'
$('#message').html(messageText) $('#message').html(messageText)
function colonize(secs, timeUp) { function colonize(secs, timeUp) {
@ -214,19 +214,19 @@ if (window.location.href.endsWith('?download')) $('#infoDiv').show()
$('#difficultytext').html('[[DIFFICULTY]]'.replace(' ', "<br>")) $('#difficultytext').html('[[DIFFICULTY]]'.replace(' ', "<br>"))
$('#levelInfo').html($('#levelInfo').html() $('#levelInfo').html($('#levelInfo').html()
.replace('[[ORIGINALINFO]]', [[COPIEDID]] == "0" ? "" : `<br>Original: <a class="youCanClickThis" href="/[[COPIEDID]]"><span style="color:aqua">[[COPIEDID]]</span></a>`) .replace('[[ORIGINALINFO]]', [[COPIEDID]] == "0" ? "" : `<br>Original: <a class="youCanClickThis" href="/[[COPIEDID]]"><ca>[[COPIEDID]]</ca></a>`)
.replace('[[OBJECTINFO]]', '[[OBJECTS]]' == "0" ? "" : `<br>Objects: <span style="color:yellow">${'[[OBJECTS]]' == "65535" ? "65535+" : '[[OBJECTS]]'}</span>`) .replace('[[OBJECTINFO]]', '[[OBJECTS]]' == "0" ? "" : `<br>Objects: <cy>${'[[OBJECTS]]' == "65535" ? "65535+" : '[[OBJECTS]]'}</cy>`)
.replace('[[REQUESTED]]', [[STARSREQUESTED]] == "0" ? "" : `<br>Stars Requested: <span style="color:yellow">[[STARSREQUESTED]]</span>`)) .replace('[[REQUESTED]]', [[STARSREQUESTED]] == "0" ? "" : `<br>Stars Requested: <cy>[[STARSREQUESTED]]</cy>`))
if (!'[[UPLOADED]]'.startsWith('[')) { if (!'[[UPLOADED]]'.startsWith('[')) {
$('#levelInfo').html($('#levelInfo').html() $('#levelInfo').html($('#levelInfo').html()
.replace('[[PASS]]', `<br>Password: <span style="color:orange">${'[[PASSWORD]]' == '0' || '[[PASSWORD]]'.startsWith("[") ? "No copy" : '[[PASSWORD]]' == 1 ? "Free copy" : '[[PASSWORD]]'}</span>`) .replace('[[PASS]]', `<br>Password: <co>${'[[PASSWORD]]' == '0' || '[[PASSWORD]]'.startsWith("[") ? "No copy" : '[[PASSWORD]]' == 1 ? "Free copy" : '[[PASSWORD]]'}</co>`)
.replace('[[LOWDETAIL]]', `<br>Low Detail: <span style="color:orange">${[[LDM]] ? "Yes" : "No"}</span>`) .replace('[[LOWDETAIL]]', `<br>Low Detail: <co>${[[LDM]] ? "Yes" : "No"}</co>`)
.replace('[[TIME1]]', [[EDITORTIME]] == 0 ? "" : `<br>Editor Time: <span style="color:lightgreen">${colonize([[EDITORTIME]])}</span>`) .replace('[[TIME1]]', [[EDITORTIME]] == 0 ? "" : `<br>Editor Time: <span style="color:lightgreen">${colonize([[EDITORTIME]])}</span>`)
.replace('[[TIME2]]', [[TOTALEDITORTIME]] == 0 ? "" : `<br>Editor Time (+copies): <span style="color:lightgreen">${colonize([[TOTALEDITORTIME]])}</span>`) .replace('[[TIME2]]', [[TOTALEDITORTIME]] == 0 ? "" : `<br>Editor Time (+copies): <span style="color:lightgreen">${colonize([[TOTALEDITORTIME]])}</span>`)
.replace('[[EXTRA]]', `<br>Extra String: <span style="color:lightgreen">${'[[EXTRASTRING]]'.length} chars</span>`) .replace('[[EXTRA]]', `<br>Extra String: <span style="color:lightgreen">${'[[EXTRASTRING]]'.length} chars</span>`)
.replace('[[UPLOAD]]', '[[UPLOADED]]' == "0" ? "" : `<br>Uploaded: <span style="color:orange">[[UPLOADED]]</span>`) .replace('[[UPLOAD]]', '[[UPLOADED]]' == "0" ? "" : `<br>Uploaded: <co>[[UPLOADED]]</co>`)
.replace('[[UPDATE]]', '[[UPDATED]]' == "0" ? "" : `<br>Updated: <span style="color:orange">[[UPDATED]]</span>`))} .replace('[[UPDATE]]', '[[UPDATED]]' == "0" ? "" : `<br>Updated: <co>[[UPDATED]]</co>`))}
else { else {
$('#levelInfo').html($('#levelInfo').html() $('#levelInfo').html($('#levelInfo').html()
@ -237,7 +237,7 @@ else {
.replace('[[TIME2]]', "") .replace('[[TIME2]]', "")
.replace('[[UPLOAD]]', "") .replace('[[UPLOAD]]', "")
.replace('[[UPDATE]]', "") + .replace('[[UPDATE]]', "") +
`<br><a id="additional" class="youCanClickThis" href="/[[ID]]?download"><span style="color:aqua">Download additional info</span></a>` `<br><a id="additional" class="youCanClickThis" href="/[[ID]]?download"><ca>Download additional info</ca></a>`
)} )}
if (![[LARGE]]) $('#largeBadge').hide() if (![[LARGE]]) $('#largeBadge').hide()

View file

@ -1,7 +1,7 @@
<head> <head>
<title>Leaderboard</title> <title>Leaderboard</title>
<meta charset="utf-8"> <meta charset="utf-8">
<link href="../assets/css/browser.css?" type="text/css" rel="stylesheet"> <link href="../assets/css/browser.css?v=2" type="text/css" rel="stylesheet">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script>
<link rel="icon" href="../assets/trophy.png"> <link rel="icon" href="../assets/trophy.png">
<meta id="meta-title" property="og:title" content="Level Leaderboard"> <meta id="meta-title" property="og:title" content="Level Leaderboard">

View file

@ -1,7 +1,7 @@
<head> <head>
<title>Map Packs</title> <title>Map Packs</title>
<meta charset="utf-8"> <meta charset="utf-8">
<link href="../assets/css/browser.css?" type="text/css" rel="stylesheet"> <link href="../assets/css/browser.css?v=2" type="text/css" rel="stylesheet">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script>
<link rel="icon" href="../assets/folder.png"> <link rel="icon" href="../assets/folder.png">
<meta id="meta-title" property="og:title" content="Map Packs"> <meta id="meta-title" property="og:title" content="Map Packs">

View file

@ -1,7 +1,7 @@
<head> <head>
<title>Messages</title> <title>Messages</title>
<meta charset="utf-8"> <meta charset="utf-8">
<link href="../assets/css/browser.css?" type="text/css" rel="stylesheet"> <link href="../assets/css/browser.css?v=2" type="text/css" rel="stylesheet">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script>
<script>window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', 'UA-135255146-3');</script> <script>window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', 'UA-135255146-3');</script>
<link rel="icon" href="../assets/messages.png"> <link rel="icon" href="../assets/messages.png">
@ -82,7 +82,7 @@
<div id="preDelete"> <div id="preDelete">
<h2 class="smaller center" style="font-size: 5.5vh">Delete</h2> <h2 class="smaller center" style="font-size: 5.5vh">Delete</h2>
<p class="bigger center" style="line-height: 6vh; margin-top: 1.5vh;"> <p class="bigger center" style="line-height: 6vh; margin-top: 1.5vh;">
Are you sure you want to <span style="color: #F05C5C">delete</span> this message? Are you sure you want to <cr>delete</cr> this message?
</p> </p>
<img src="../assets/btn-cancel-green.png" height=29%; class="gdButton center" onclick="$('#confirmDelete').hide()"> <img src="../assets/btn-cancel-green.png" height=29%; class="gdButton center" onclick="$('#confirmDelete').hide()">
<img src="../assets/btn-delete.png" height=29%; id="deleteCurrentMessage" class="gdButton center sideSpaceB"> <img src="../assets/btn-delete.png" height=29%; id="deleteCurrentMessage" class="gdButton center sideSpaceB">
@ -108,7 +108,7 @@
<div id="preBulkDelete"> <div id="preBulkDelete">
<h2 class="smaller center" style="font-size: 5.5vh">Bulk Delete</h2> <h2 class="smaller center" style="font-size: 5.5vh">Bulk Delete</h2>
<p class="bigger center" style="line-height: 6vh; margin-top: 1.5vh;"> <p class="bigger center" style="line-height: 6vh; margin-top: 1.5vh;">
Are you sure you want to <span style="color: #F05C5C">delete</span> <span class="selectedAmount" Are you sure you want to <cr>delete</cr> <span class="selectedAmount"
style="color: yelow"></span>? style="color: yelow"></span>?
</p> </p>
<img src="../assets/btn-cancel-green.png" height=29%; class="gdButton center" <img src="../assets/btn-cancel-green.png" height=29%; class="gdButton center"
@ -226,7 +226,7 @@
let cache = {}; let cache = {};
let loading = false; let loading = false;
let messageText = 'Your <span style="color: yellow">Geometry Dash password</span> will <span style="color: lime">not be stored</span> anywhere on the site, both <span style="color:rgb(113, 234, 255)">locally and server-side.</span> For security, it will be <span style="color:yellow">forgotten</span> when you exit this page.' let messageText = 'Your <cy>Geometry Dash password</cy> will <cg>not be stored</cg> anywhere on the site, both <ca>locally and server-side.</ca> For security, it will be <cy>forgotten</cy> when you exit this page.'
$('#message').html(messageText) $('#message').html(messageText)
function appendMessages(dontCheckPages) { function appendMessages(dontCheckPages) {
@ -246,7 +246,7 @@
messages.forEach((x, y) => { messages.forEach((x, y) => {
$('#msgList').append(` $('#msgList').append(`
<div messageID=${x.id} playerID="${x.accountID}" ${x.browserColor ? 'browserColor="true" ' : ""}class="commentBG gdMessage"> <div messageID=${x.id} playerID="${x.accountID}" ${x.browserColor ? 'browserColor="true" ' : ""}class="commentBG gdMessage">
<h3 style="color: ${x.browserColor ? 'rgb(120, 200, 255)' : 'white'}; font-size: ${x.subject.length > 35 ? "3" : x.subject.length > 30 ? "3.5" : x.subject.length > 25 ? "3.75" : "4"}vh">${x.subject}${x.unread ? " <span style='color:#00E600'>!</span>" : ""}</h3> <h3 style="color: ${x.browserColor ? 'rgb(120, 200, 255)' : 'white'}; font-size: ${x.subject.length > 35 ? "3" : x.subject.length > 30 ? "3.5" : x.subject.length > 25 ? "3.75" : "4"}vh">${x.subject}${x.unread ? " <cg>!</cg>" : ""}</h3>
<h3 class="gold gdButton msgAuthor hitbox fit"><a href="../u/${x.author}" target="_blank">From: ${x.author}</a></h3> <h3 class="gold gdButton msgAuthor hitbox fit"><a href="../u/${x.author}" target="_blank">From: ${x.author}</a></h3>
<p class="msgDate">${x.date}</p> <p class="msgDate">${x.date}</p>
<div class="labelButton hitbox"> <div class="labelButton hitbox">
@ -278,7 +278,7 @@
// $.post("../messages", { password, accountID, count: true }) // $.post("../messages", { password, accountID, count: true })
// .done(count => { // .done(count => {
// $('#msgCount').html(`Loading <span style="color: yellow">${count}</span> unread messages...`) // $('#msgCount').html(`Loading <cy>${count}</cy> unread messages...`)
// $('#access').hide() // $('#access').hide()
// $('#loading').show() // $('#loading').show()
@ -297,10 +297,10 @@
$('#replyAuthor').html(`<a href="../u/${res.username}" target="_blank">To: ${res.username}</a>`) $('#replyAuthor').html(`<a href="../u/${res.username}" target="_blank">To: ${res.username}</a>`)
messageStatus[res.accountID] = [res.messages, res.username] messageStatus[res.accountID] = [res.messages, res.username]
playerID = res.accountID playerID = res.accountID
if (res.messages == "all") $('#messageStatus').html(`<span style="color:yellow">${res.username}</span> has messages <span style="color:lime">enabled</span>`) if (res.messages == "all") $('#messageStatus').html(`<cy>${res.username}</cy> has messages <cg>enabled</cg>`)
else if (res.messages == "friends") $('#messageStatus').html(`<span style="color:yellow">${res.username}</span> has messages set to <span style="color:orange">friends only</span>`) else if (res.messages == "friends") $('#messageStatus').html(`<cy>${res.username}</cy> has messages set to <co>friends only</co>`)
else { else {
$('#messageStatus').html(`<span style="color:yellow">${res.username}</span> has messages <span style="color:#F05C5C">disabled</span>`) $('#messageStatus').html(`<cy>${res.username}</cy> has messages <cr>disabled</cr>`)
$('#postMessage').addClass('grayscale') $('#postMessage').addClass('grayscale')
} }
$('#sendMessage').show() $('#sendMessage').show()
@ -351,7 +351,7 @@
messageID = $(this).attr('messageID') messageID = $(this).attr('messageID')
playerID = $(this).attr('playerID') playerID = $(this).attr('playerID')
let subject = $(this).find('h3:first') let subject = $(this).find('h3:first')
subject.html(subject.html().replace('<span style="color:#00E600">!</span>', "")) //lazy way to mark as read subject.html(subject.html().replace('<cg>!</cg>', "")) //lazy way to mark as read
$('#theMfMessage').attr('style', '') $('#theMfMessage').attr('style', '')
$('#messageSubject').attr('style', `color: ${$(this).attr('browserColor') ? 'rgb(120, 200, 255)' : "white"}`).html(subject.text().trim().length ? subject.text() : "&nbsp;") $('#messageSubject').attr('style', `color: ${$(this).attr('browserColor') ? 'rgb(120, 200, 255)' : "white"}`).html(subject.text().trim().length ? subject.text() : "&nbsp;")
@ -462,10 +462,10 @@
let status = messageStatus[playerID][0] let status = messageStatus[playerID][0]
let name = messageStatus[playerID][1] let name = messageStatus[playerID][1]
$('#postMessage').removeClass('grayscale') $('#postMessage').removeClass('grayscale')
if (status == "all") $('#messageStatus').html(`<span style="color:yellow">${name}</span> has messages <span style="color:lime">enabled</span>`) if (status == "all") $('#messageStatus').html(`<cy>${name}</cy> has messages <cg>enabled</cg>`)
else if (status == "friends") $('#messageStatus').html(`<span style="color:yellow">${name}</span> has messages set to <span style="color:orange">friends only</span>`) else if (status == "friends") $('#messageStatus').html(`<cy>${name}</cy> has messages set to <co>friends only</co>`)
else { else {
$('#messageStatus').html(`<span style="color:yellow">${name}</span> has messages <span style="color:#F05C5C">disabled</span>`) $('#messageStatus').html(`<cy>${name}</cy> has messages <cr>disabled</cr>`)
$('#postMessage').addClass('grayscale') $('#postMessage').addClass('grayscale')
} }
$('#sendreply').text("Send Reply") $('#sendreply').text("Send Reply")

View file

@ -1,7 +1,7 @@
<head> <head>
<title>Geometry Dash Browser!</title> <title>Geometry Dash Browser!</title>
<meta charset="utf-8"> <meta charset="utf-8">
<link href="../assets/css/browser.css?" type="text/css" rel="stylesheet"> <link href="../assets/css/browser.css?v=2" type="text/css" rel="stylesheet">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script>
<link rel="icon" href="../assets/keymaster-head.png"> <link rel="icon" href="../assets/keymaster-head.png">
<meta id="meta-title" property="og:title" content="Geometry Dash Browser!"> <meta id="meta-title" property="og:title" content="Geometry Dash Browser!">

View file

@ -1,7 +1,7 @@
<head> <head>
<title>[[USERNAME]]'s Profile</title> <title>[[USERNAME]]'s Profile</title>
<meta charset="utf-8"> <meta charset="utf-8">
<link href="../assets/css/browser.css" type="text/css" rel="stylesheet"> <link href="../assets/css/browser.css?v=2"text/css" rel="stylesheet">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script>
<link rel="icon" href="../icon/[[USERNAME]]"> <link rel="icon" href="../icon/[[USERNAME]]">
<meta id="meta-title" property="og:title" content="[[USERNAME]]'s profile"> <meta id="meta-title" property="og:title" content="[[USERNAME]]'s profile">
@ -157,7 +157,7 @@
function clean(text) {return text.replace(/&/g, "&#38;").replace(/</g, "&#60;").replace(/>/g, "&#62;").replace(/=/g, "&#61;").replace(/"/g, "&#34;").replace(/'/g, "&#39;")} function clean(text) {return text.replace(/&/g, "&#38;").replace(/</g, "&#60;").replace(/>/g, "&#62;").replace(/=/g, "&#61;").replace(/"/g, "&#34;").replace(/'/g, "&#39;")}
let messageText = 'Your <span style="color: yellow">Geometry Dash password</span> will <span style="color: lime">not be stored</span> anywhere on the site, both <span style="color:rgb(113, 234, 255)">locally and server-side.</span> You can view the code used for profile posts <a class="menuLink" target="_blank" href="https://github.com/GDColon/GDBrowser/blob/master/api/post/postProfileComment.js">here</a>.' let messageText = 'Your <cy>Geometry Dash password</cy> will <cg>not be stored</cg> anywhere on the site, both <ca>locally and server-side.</ca> You can view the code used for profile posts <a class="menuLink" target="_blank" href="https://github.com/GDColon/GDBrowser/blob/master/api/post/postProfileComment.js">here</a>.'
$('#message').html(messageText) $('#message').html(messageText)
$('#likeMessage').html(messageText.replace("profile posts", "liking posts").replace("postProfileComment", "like")) $('#likeMessage').html(messageText.replace("profile posts", "liking posts").replace("postProfileComment", "like"))
@ -198,9 +198,9 @@ if (`[[TWITCH]]` != "null") $('#twitch').show()
let messages = "[[MESSAGES]]" let messages = "[[MESSAGES]]"
let commenthistory = "[[COMMENTHISTORY]]" let commenthistory = "[[COMMENTHISTORY]]"
let reqMode = [[FRIENDREQUESTS]] ? "<span style='color:lime'>Enabled</span>" : "<span style='color:red'>Disabled</span>" let reqMode = [[FRIENDREQUESTS]] ? "<cg>Enabled</cg>" : "<cr>Disabled</cr>"
let dmMode = messages == "all" ? "<span style='color:lime'>Public</span>" : messages == "friends" ? "<span style='color:yellow'>Friends Only</span>" : "<span style='color:red'>Disabled</span>" let dmMode = messages == "all" ? "<cg>Public</cg>" : messages == "friends" ? "<cy>Friends Only</cy>" : "<cr>Disabled</cr>"
let commentMode = commenthistory == "all" ? "<span style='color:lime'>Public</span>" : commenthistory == "friends" ? "<span style='color:yellow'>Friends Only</span>" : "<span style='color:red'>Disabled</span>" let commentMode = commenthistory == "all" ? "<cg>Public</cg>" : commenthistory == "friends" ? "<cy>Friends Only</cy>" : "<cr>Disabled</cr>"
if (commenthistory == "friends") $('#commentButton').attr('src', '../assets/comments-yellow.png') if (commenthistory == "friends") $('#commentButton').attr('src', '../assets/comments-yellow.png')
else if (commenthistory == "off") $('#commentButton').attr('src', '../assets/comments-grey.png') else if (commenthistory == "off") $('#commentButton').attr('src', '../assets/comments-grey.png')
@ -222,7 +222,7 @@ if (![[FRIENDREQUESTS]]) $('#friendButton').attr('src', '../assets/friends-grey.
$('#userInfo').html($('#userInfo').html() $('#userInfo').html($('#userInfo').html()
.replace("[[REQS]]", reqMode) .replace("[[REQS]]", reqMode)
.replace("[[DMS]]", dmMode) .replace("[[DMS]]", dmMode)
.replace("[[COMMENTS]]", commentMode) + (messages == "friends" ? "<br style='line-height: 69%'><span style='color: lime' class='youCanClickThis2'><a target='_blank' href='../messages?sendTo=[[USERNAME]]'>Send message</a></span><br>(if friended)" : "")) .replace("[[COMMENTS]]", commentMode) + (messages == "friends" ? "<br style='line-height: 69%'><a target='_blank' style='color: lime' class='youCanClickThis2' href='../messages?sendTo=[[USERNAME]]'>Send message</a><br>(if friended)" : ""))
function appendComments() { function appendComments() {

View file

@ -1,7 +1,7 @@
<head> <head>
<title id="tabTitle">Level Search</title> <title id="tabTitle">Level Search</title>
<meta charset="utf-8"> <meta charset="utf-8">
<link href="../assets/css/browser.css?v=1" type="text/css" rel="stylesheet"> <link href="../assets/css/browser.css?v=2" type="text/css" rel="stylesheet">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script>
<link rel="icon" href="../assets/coin.png"> <link rel="icon" href="../assets/coin.png">
<meta id="meta-title" property="og:title" content="Level Search"> <meta id="meta-title" property="og:title" content="Level Search">
@ -35,7 +35,7 @@
<div class="fancybox bounce center supercenter" style="width: 35%; height: 28%"> <div class="fancybox bounce center supercenter" style="width: 35%; height: 28%">
<h2 class="smaller center" style="font-size: 5.5vh">Delete All</h2> <h2 class="smaller center" style="font-size: 5.5vh">Delete All</h2>
<p class="bigger center" style="line-height: 5vh; margin-top: 1.5vh;"> <p class="bigger center" style="line-height: 5vh; margin-top: 1.5vh;">
Delete all saved online levels?<br><span style="color:yellow">Levels will be cleared from your browser.</span> Delete all saved online levels?<br><cy>Levels will be cleared from your browser.</cy>
</p> </p>
<img src="../assets/btn-cancel.png" height=25%; class="gdButton center closeWindow"> <img src="../assets/btn-cancel.png" height=25%; class="gdButton center closeWindow">
<img src="../assets/btn-delete.png" height=25%; id="purgeSaved" class="gdButton center sideSpaceB"> <img src="../assets/btn-delete.png" height=25%; id="purgeSaved" class="gdButton center sideSpaceB">
@ -46,8 +46,8 @@
<div class="fancybox bounce center supercenter"> <div class="fancybox bounce center supercenter">
<h2 class="smaller center" style="font-size: 5.5vh">Random Level</h2> <h2 class="smaller center" style="font-size: 5.5vh">Random Level</h2>
<p class="bigger center" id="levelInfo" style="line-height: 5vh; margin-top: 1.5vh;"> <p class="bigger center" id="levelInfo" style="line-height: 5vh; margin-top: 1.5vh;">
A random level cannot be picked with your current <span style="color:yellow">search filters!</span> A random level cannot be picked with your current <cy>search filters!</cy>
This is because there is no way to tell how many results were found, due to the GD servers inaccurately saying there's <span style="color:lime">9999</span>. This is because there is no way to tell how many results were found, due to the GD servers inaccurately saying there's <cg>9999</cg>.
</p> </p>
<img src="../assets/ok.png" width=20%; class="gdButton center closeWindow"> <img src="../assets/ok.png" width=20%; class="gdButton center closeWindow">
</div> </div>

View file

@ -1,8 +1,8 @@
$('body').append(` $('body').append(`
<div data-nosnippet id="tooSmall" class="brownbox center supercenter" style="display: none; width: 80%"> <div data-nosnippet id="tooSmall" class="brownbox center supercenter" style="display: none; width: 80%">
<h1>Yikes!</h1> <h1>Yikes!</h1>
<p>Your <span style="color:#4CDA5B">screen</span> isn't <span style="color:aqua">wide</span> enough to <span style="color:yellow">display</span> this <span style="color:#4CDA5B">page</span>.<br> <p>Your <cg>screen</cg> isn't <ca>wide</ca> enough to <cy>display</cy> this <cg>page</cg>.<br>
Please <span style="color:yellow">rotate</span> your <span style="color:#4CDA5B">device</span> <span style="color:aqua">horizontally</span> or <span style="color:yellow">resize</span> your <span style="color:#4CDA5B">window</span> to be <span style="color:aqua">longer</span>. Please <cy>rotate</cy> your <cg>device</cg> <ca>horizontally</ca> or <cy>resize</cy> your <cg>window</cg> to be <ca>longer</ca>.
</p> </p>
<p style="font-size: 1.8vh">Did I color too many words? I think I colored too many words.</p> <p style="font-size: 1.8vh">Did I color too many words? I think I colored too many words.</p>
</div> </div>

View file

@ -7,7 +7,8 @@
"id": "", "id": "",
"endpoint": "http://boomlings.com/database/", "endpoint": "http://boomlings.com/database/",
"timestampSuffix": " ago", "timestampSuffix": " ago",
"demonList": "https://pointercrate.com/" "demonList": "https://pointercrate.com/",
"downloadsDisabled": true
}, },
{ {