4sp-dv 1.1.13 → 1.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/logged-in/games.html +7 -1
- package/package.json +1 -1
package/logged-in/games.html
CHANGED
|
@@ -1248,7 +1248,13 @@
|
|
|
1248
1248
|
allGames = [...strongdogGames, ...othersGames];
|
|
1249
1249
|
}
|
|
1250
1250
|
|
|
1251
|
-
|
|
1251
|
+
let blacklistedTerms = ['bitlife', 'soundboard', 'epstei'];
|
|
1252
|
+
try {
|
|
1253
|
+
const blacklistRes = await fetch("https://cdn.jsdelivr.net/npm/4sp-asset-library@latest/blacklisted_games.json");
|
|
1254
|
+
if (blacklistRes.ok) blacklistedTerms = await blacklistRes.json();
|
|
1255
|
+
} catch (e) { console.warn("Blacklist fetch failed", e); }
|
|
1256
|
+
|
|
1257
|
+
allGames = allGames.filter(g => !blacklistedTerms.some(term => g.name.toLowerCase().includes(term.toLowerCase())));
|
|
1252
1258
|
|
|
1253
1259
|
searchableGames = [];
|
|
1254
1260
|
allGames.forEach(game => {
|