Add geoButton, getGmina, messages, and translate handler files with initial implementations

This commit is contained in:
2025-06-05 11:33:17 +02:00
parent e3bcf9dd7c
commit 1c97e0610f
5 changed files with 332 additions and 0 deletions

9
js/handlers/geoButton.js Normal file
View File

@@ -0,0 +1,9 @@
const currentUrl = document.location.href;
if (currentUrl.startsWith('https://mapy.geoportal.gov.pl/')) {
// Execute code specific to the example.com website
console.log('This is the example.com website.');
} else {
// Execute default code
console.log('This is a different website.');
}