
Kandilli Earthquake Highlight Autor: emrearsay.dev
Highlights earthquakes based on magnitude on KANDİLLİ RASATHANESİ last eathquakes data.
Na použitie tohto rozšírenia budete potrebovať Firefox
Metadáta rozšírenia
Snímky obrazovky

O tomto rozšírení
Highlights earthquake entries on the Kandilli Observatory's lst1.asp page by changing the background color of rows according to the earthquake magnitude, making it easier to quickly identify significant seismic events.
Magnitude
5.0 and above -> 🔴 Red
4.0–4.9 -> 🟠 Orange
3.0–3.9 -> 🟢 Green
< 3.0 -> No color
Magnitude
5.0 and above -> 🔴 Red
4.0–4.9 -> 🟠 Orange
3.0–3.9 -> 🟢 Green
< 3.0 -> No color
Ohodnoťte svoju skúsenosť
PovoleniaĎalšie informácie
Požadované oprávnenia:
- Pristupovať k údajom pre www.koeri.boun.edu.tr
Ďalšie informácie
- Odkazy doplnku
- Verzia
- 1.1
- Veľkosť
- 10,02 kB
- Posledná aktualizácia
- pred 18 dňami (26. máj 2025)
- Príbuzné kategórie
- Licencia
- Licencia MIT
- História verzií
Pridať do kolekcie
Poznámky k vydaniu pre verziu 1.1
Safety:
- HTML escaping - Prevents XSS attacks
- Removed debug logs - No console spam
- Error handling - Silent failure in production
- Memory cleanup - Observer disconnects on page unload
Performance:
- Debouncing - Limits how often highlighting runs (250ms)
- Skip re-processing - Uses dataset.highlighted flag
- Smarter observer - Only reacts to significant DOM changes
- Early returns - Exits fast when no work needed
- Efficient parsing - Tries common position first, fallback second
Additional Benefits:
More precise magnitude detection (0.1-9.9 range)
Better decimal place validation
Handles edge cases gracefully
- HTML escaping - Prevents XSS attacks
- Removed debug logs - No console spam
- Error handling - Silent failure in production
- Memory cleanup - Observer disconnects on page unload
Performance:
- Debouncing - Limits how often highlighting runs (250ms)
- Skip re-processing - Uses dataset.highlighted flag
- Smarter observer - Only reacts to significant DOM changes
- Early returns - Exits fast when no work needed
- Efficient parsing - Tries common position first, fallback second
Additional Benefits:
More precise magnitude detection (0.1-9.9 range)
Better decimal place validation
Handles edge cases gracefully
Ďalšie rozšírenia od autora emrearsay.dev
- Doplnok zatiaľ nie je ohodnotený
- Doplnok zatiaľ nie je ohodnotený
- Doplnok zatiaľ nie je ohodnotený
- Doplnok zatiaľ nie je ohodnotený
- Doplnok zatiaľ nie je ohodnotený
- Doplnok zatiaľ nie je ohodnotený