Add geoButton, getGmina, messages, and translate handler files with initial implementations
This commit is contained in:
9
js/handlers/geoButton.js
Normal file
9
js/handlers/geoButton.js
Normal 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.');
|
||||
}
|
||||
Reference in New Issue
Block a user