Tiện ích trình duyệt Firefox
  • Tiện ích mở rộng
  • Chủ đề
    • cho Firefox
    • Từ điển & gói ngôn ngữ
    • Các trang web trình duyệt khác
    • Tiện ích cho Android
Đăng nhập
Biểu tượng tiện ích

Lịch sử phiên bản Kandilli Earthquake Highlight - 2 phiên bản

Kandilli Earthquake Highlight bởi emrearsay.dev

Chưa có xếp hạng nào
0 sao trên 5
5
0
4
0
3
0
2
0
1
0
Lịch sử phiên bản Kandilli Earthquake Highlight - 2 phiên bản
  • Hãy cẩn thận với các phiên bản cũ! Các phiên bản này được hiển thị cho mục đích thử nghiệm và tham khảo.Bạn luôn luôn phải sử dụng phiên bản mới nhất của một tiện ích.

  • Phiên bản mới nhất

    Phiên bản 1.1

    Đã phát hành 26 Thg 05 2025 - 10,02 KB
    Hoạt động với firefox 109.0a1 và lớn hơn
    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

    Mã nguồn được phát hành dưới dạng Giấy phép MIT

    Bạn sẽ cần Firefox để sử dụng tiện ích mở rộng này
    Tải xuống Firefox và tải tiện ích mở rộng
    Tải xuống tập tin
  • Phiên bản cũ hơn

    Phiên bản 1.0

    Đã phát hành 22 Thg 05 2025 - 8,61 KB
    Hoạt động với firefox 109.0a1 và lớn hơn
    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.

    Mã nguồn được phát hành dưới dạng Giấy phép MIT

    Tải xuống tập tin
Đi đến trang chủ Mozilla

Tiện ích

  • Giới thiệu
  • Blog tiện ích Firefox
  • Extension Workshop
  • Trung tâm nhà phát triển
  • Chính sách nhà phát triển
  • Blog cộng đồng
  • Diễn đàn
  • Báo cáo một lỗi
  • Hướng dẫn đánh giá

Trình duyệt

  • Desktop
  • Mobile
  • Enterprise

Sản phẩm

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Riêng tư
  • Cookie
  • Pháp lý

Trừ trường hợp khác đã ghi chú, nội dung trên trang này được cấp phép theo giấy phép Creative Commons Attribution Share-Alike v3.0 hoặc bất kỳ phiên bản nào sau này.