Skip to content

Commit

Permalink
Add antiaura v2 to web version
Browse files Browse the repository at this point in the history
  • Loading branch information
ManInMyVan committed Dec 28, 2023
1 parent 8b37681 commit 54400ea
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
9 changes: 9 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@ <h3>Number of anticheats: 163 (12 included)</h3>
<th>Price</th>
<th>Links</th>
</tr>
<tr>
<td>AntiAura v2</td>
<td>Bukkit (Java)</td>
<td>Active</td>
<td>1.8 - 1.19</td>
<td id="1368-rating">fetching...</td>
<td><b>£12.00</b> <i>(GBP)</i></td>
<td><a href="https://spigotmc.org/resources/1368">SpigotMC</a></td>
</tr>
<tr>
<td>AntiHaxerman</td>
<td>Bukkit (Java)</td>
Expand Down
10 changes: 5 additions & 5 deletions script.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
function toggleTheme() {
document.body.classList.toggle("dark-mode")
document.body.classList.toggle("light-mode")
}

updateRating(1368) // AntiAura v2
updateRating(83198) // AntiHaxerman
updateRating(111260) // FoxAddition
updateRating(112706) // Gato Anticheat
Expand All @@ -14,6 +10,10 @@ updateRating(90766) // Themis
updateRating(48399) // Negativity v1
updateRating(113143) // Spidey Anticheat v1

async function toggleTheme() {
document.body.classList.toggle("dark-mode")
document.body.classList.toggle("light-mode")
}
async function fetchData(resourceid) {
var data
await fetch(new Request("https://api.spiget.org/v2/resources/"+resourceid))
Expand Down

0 comments on commit 54400ea

Please sign in to comment.