Updated all sources and search page

This commit is contained in:
IdleEndeavor 2024-06-29 15:02:33 +01:00
parent 08d34f700a
commit 89d5b154d1
3 changed files with 6 additions and 15 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@ -71,7 +71,8 @@ body {
.games-found a { .games-found a {
padding: 5px; padding: 5px;
font-size: 20px; font-size: 16px;
width: 20%;
color: white; color: white;
text-decoration: none; text-decoration: none;
} }
@ -88,7 +89,7 @@ body {
.terms a { .terms a {
padding: 5px; padding: 5px;
font-size: 20px; font-size: 16px;
color: white; color: white;
text-decoration: none; text-decoration: none;
} }
@ -124,6 +125,7 @@ body {
background-color: transparent !important; background-color: transparent !important;
border-color: transparent !important; border-color: transparent !important;
} }
/* gets rid of 'x results in x seconds' text */ /* gets rid of 'x results in x seconds' text */
.gsc-result-info { .gsc-result-info {
display: none; display: none;

View File

@ -71,20 +71,9 @@
</div> </div>
<!-- Games Found Counter --> <!-- Games Found Counter -->
<div class="games-found"> <div class="games-found">
<a class="count">0</a> <a>If the search result is a website, it indicates that the website hosts the game, and you may need to search within the site to locate the download page.</a>
<a>Games Found</a> <a>It is recommended to use an AdBlocker such as uBlock Origin</a>
</div> </div>
<script type="text/javascript">
function updateCounter() {
fetch('https://api.countapi.xyz/update/ravegamesearch/ravesearch/?amount=1')
.then(res => res.json())
.then(data => counterElement.innerHTML = data.value)
}
updateCounter()
counterElement = document.getElementsByClassName('count')[0];
</script>
<!-- Terms of Use, Privacy Policy and GitHub Link --> <!-- Terms of Use, Privacy Policy and GitHub Link -->
<div class="terms"> <div class="terms">
<a href="https://github.com/IdleEndeavor/gamesearch">GitHub |</a> <a href="https://github.com/IdleEndeavor/gamesearch">GitHub |</a>