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

Copy Leetcode Problem version history - 2 versions

Copy Leetcode Problem by Koruto

Rated 5 out of 5
5 Stars out of 5
5
1
4
0
3
0
2
0
1
0
Copy Leetcode Problem 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 10 Aug 2024 - 42.73 kB
    Works with firefox 58.0 and later
    Version: 1.2.0
    New Features:

    DOM Content Load Handling:
    The content script now waits for the DOM to be fully loaded before executing. This ensures that the LeetCode question title and description are reliably captured, even on slower connections or complex pages.
    Introduced a DOMContentLoaded event listener in the background script to trigger the injection and execution of the content script only after the DOM has loaded. This reduces the likelihood of errors caused by attempting to access elements that haven't been rendered yet.

    UI/UX Improvements:

    Loading Indicator:
    Updated the browser action icon to change to a "loading" icon immediately after the button is clicked. This provides visual feedback to users, indicating that the extension is processing their request.
    The icon reverts to either a success or error icon based on the result of the clipboard operation, offering clear and immediate feedback.

    Error Handling:

    Improved error handling and logging in both the background and content scripts. Users will now see more descriptive error messages if the LeetCode question title or description fails to load.
    Additional checks were added to ensure that the extension gracefully handles scenarios where the DOM is not ready or when expected elements are not found.

    Bug Fixes:

    Fixed an issue where the extension might attempt to execute before the DOM is fully loaded, resulting in errors or incomplete data capture.
    Resolved minor issues with clipboard operations not providing immediate feedback in certain edge cases.

    Other Changes:
    Refactored code to improve readability and maintainability, including separating concerns between the background script and content script more clearly.

    Source code released under GNU Lesser General Public Licence v3.0 only

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

    Version 1.0

    Released 4 Aug 2024 - 19.98 kB
    Works with firefox 58.0 and later

    Source code released under GNU Lesser General Public Licence v3.0 only

    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.