Cronologia versioni di Copy Leetcode Problem - 2 versioni
Copy Leetcode Problem di Koruto
Cronologia versioni di Copy Leetcode Problem - 2 versioni
Attenzione alle versioni datate. Sono visualizzate solamente per scopi di test e di riferimento.È raccomandato usare sempre l’ultima versione di un componente aggiuntivo.
Ultima versione
Versione 1.1
Rilasciato 10 ago 2024 - 42,73 kBCompatibile con firefox58.0 e successiveVersion: 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.Codice sorgente rilasciato sotto licenza Solo GNU Lesser General Public License v3.0
Scarica Firefox e installa l’estensioneDevi utilizzare Firefox per poter installare questa estensioneVersioni precedenti
Versione 1.0
Rilasciato 4 ago 2024 - 19,98 kBCompatibile con firefox58.0 e successiveCodice sorgente rilasciato sotto licenza Solo GNU Lesser General Public License v3.0