Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Add-on icon

Kandilli Earthquake Highlight version history - 2 versions

Kandilli Earthquake Highlight by emrearsay.dev

There are no ratings yet
0 Stars out of 5
5
0
4
0
3
0
2
0
1
0
Kandilli Earthquake Highlight version history - 2 versions
  • Be careful with old versions! These versions are displayed for testing and reference purposes.You should always use the latest version of an add-on.

  • Latest version

    Version 1.1

    Released 26 May 2025 - 10.02 kB
    Works with firefox 109.0a1 and later
    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

    Source code released under MIT Licence

    You'll need Firefox to use this extension
    Download Firefox and get the extension
    Download file
  • Older versions

    Version 1.0

    Released 22 May 2025 - 8.61 kB
    Works with firefox 109.0a1 and later
    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.

    Source code released under MIT Licence

    Download file
Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Twitter (@firefox)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike Licence v3.0 or any later version.