Kandilli Earthquake Highlight의 버전 기록 - 2개 버전
Kandilli Earthquake Highlight 제작자: emrearsay.dev
Kandilli Earthquake Highlight의 버전 기록 - 2개 버전
이전 버전의 사용에 주의하십시오! 이 버전들은 테스트 및 참조 용도로만 표시되는 것입니다.항상 최신 버전의 부가 기능을 사용해야 합니다.
최신 버전
버전 1.1
2025년 5월 26일에 출시 - 10.02 KBfirefox 109.0a1 이상에서 작동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 gracefullyMIT 라이선스에 따라 릴리스된 소스 코드
Firefox를 다운로드하고 확장 기능을 받으세요이 확장 기능을 사용하려면 Firefox가 필요함이전 버전
버전 1.0
2025년 5월 22일에 출시 - 8.61 KBfirefox 109.0a1 이상에서 작동Security Improvements:
-XSS Protection: Added HTML escaping to block malicious data injection.
-Reduced Exposure: Removed debug console logs to avoid leaking sensitive info.
-Robust Errors: Improved error handling with silent fails in production to avoid disrupting users.
Performance Boost:
-Debounced Processing: Added a 250ms delay to reduce unnecessary work.
-Smarter Highlighting: Flags now prevent duplicate processing.
-Optimized DOM Watching: MutationObserver now ignores minor changes.
-Memory Cleanup: Observers disconnect when the page unloads.
-Early Bailout: Skips work when no updates are needed.
Bug Fixes:
-Magnitude Detection: Now accurately picks up earthquake values.
-Flexible Parsing: Tries standard formats first, then falls back to broader searches.
-Strict Validation: Magnitudes are now capped at 0.1–9.9 for realism.
Code Refinements:
-Cleaner Structure: Rewrote for better readability and maintenance.
-Sharper Logic: More precise magnitude detection.
-Separation of Concerns: Logic is now better organized.MIT 라이선스에 따라 릴리스된 소스 코드