diff --git a/ba_steam/check_steam.php b/ba_steam/check_steam.php new file mode 100644 index 0000000..40317d0 --- /dev/null +++ b/ba_steam/check_steam.php @@ -0,0 +1,39 @@ + 'Fehler beim Laden der Seite', + 'curl_error' => $curl_error, + 'http_code' => $httpcode + ]); + exit; +} + +if ($httpcode !== 200) { + echo json_encode([ + 'error' => 'HTTP-Statuscode nicht 200', + 'http_code' => $httpcode, + 'html_snippet' => substr($html, 0, 500) + ]); + exit; +} + +// Nach dem Sperr-Hinweis suchen +if (strpos($html, 'Dieses Produkt steht in Ihrem Land derzeit nicht zur Verfügung.') !== false) { + echo json_encode(['status' => 'not_available', 'source' => 'steam']); +} else { + echo json_encode(['status' => 'available', 'source' => 'steam']); +} \ No newline at end of file diff --git a/ba_steam/header.png b/ba_steam/header.png new file mode 100644 index 0000000..4fd4935 Binary files /dev/null and b/ba_steam/header.png differ diff --git a/ba_steam/icon.png b/ba_steam/icon.png new file mode 100644 index 0000000..124de36 Binary files /dev/null and b/ba_steam/icon.png differ diff --git a/ba_steam/index.html b/ba_steam/index.html new file mode 100644 index 0000000..390b85b --- /dev/null +++ b/ba_steam/index.html @@ -0,0 +1,113 @@ + + +
+ + +Analysiere deine Chrome Extensions lokal und sicher.
+ +Prüfe automatisch, ob Blue Archive aktuell auf Steam in Deutschland verfügbar ist.
+ diff --git a/sitemap.txt b/sitemap.txt index 375b02d..6c0f6b4 100644 --- a/sitemap.txt +++ b/sitemap.txt @@ -27,4 +27,5 @@ https://tools.ponywave.de/url_expander https://tools.ponywave.de/minesweeper https://tools.ponywave.de/anime_graph https://tools.ponywave.de/favorites_viewer -https://tools.ponywave.de/chrome_extensions_checker \ No newline at end of file +https://tools.ponywave.de/chrome_extensions_checker +https://tools.ponywave.de/ba_steam \ No newline at end of file