תוספות לדפדפן Firefox
  • הרחבות
  • ערכות נושא
    • עבור Firefox
    • מילונים וחבילות שפה
    • אתרי דפדפנים אחרים
    • תוספות עבור Android
כניסה
תצוגה מקדימה של Copy Leetcode Problem

Copy Leetcode Problem Koruto מאת

Easily copy the current LeetCode problem description to your clipboard.

5 (1 reviews)5 (1 reviews)
4 Users4 Users
יש צורך ב־Firefox כדי להשתמש בהרחבה זו
הורדת Firefox וקבלת ההרחבה
הורדת קובץ

נתוני העל של ההרחבה

על אודות הרחבה זו
LeetCode QuestionClip

A Firefox add-on that allows you to effortlessly copy LeetCode question descriptions to your clipboard with custom formatting.

Features:
Easy Copying: Quickly copy LeetCode question descriptions with desired Markdown formatting.

Icon States:
Save Icon: Displayed when you are on a valid LeetCode problem URL and have the description tab active.
Tick Mark: Indicates that the question description has been successfully copied to the clipboard.
Error Icon: Signals an error occurred while copying. Refreshing the page may resolve the issue.
Forbidden Icon: Shown when the current URL is not a valid LeetCode problem description page.

Usage:
1. Navigate to a LeetCode problem URL.
2. Click on the "Description" tab to ensure the problem description is visible.
3. Click the extension icon to copy the description.
4. The icon will update to indicate the status:
Save Icon: Ready to copy.
Tick Mark: Copy successful.
Error Icon: Error occurred. Try refreshing the page.
Forbidden Icon: Invalid URL. Ensure you are on a valid LeetCode problem description page.

Notes:
Ensure you are on a LeetCode problem URL ending with /description/ for the extension to work correctly.
In case of errors, try refreshing the page and ensure the problem description is visible.

Author: Koruto
מדורג 5 על־ידי סוקר אחד
יש להתחבר כדי לדרג הרחבה זו
אין דירוגים עדיין

דירוג הכוכבים נשמר

5
1
4
0
3
0
2
0
1
0
קריאת סקירה אחת
הרשאות ונתוניםמידע נוסף

הרשאות נדרשות:

  • הזנת נתונים בלוח העריכה
  • גישה ללשוניות
מידע נוסף
קישורים לתוספת
  • דוא״ל לתמיכה
גרסה
1.1
גודל
42.73 ק״ב
עדכון אחרון
לפני שנה (10 אוג׳ 2024)
קטגוריות קשורות
  • ניהול הורדות
  • לשוניות
רישיון
GNU Lesser General Public License v3.0 only
היסטוריית הגרסאות
  • הצגת כל הגרסאות
הוספה לאוסף
דיווח על תוספת זו
הערות שחרור עבור 1.1
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.
עוד הרחבות מאת Koruto
  • אין דירוגים עדיין

  • אין דירוגים עדיין

  • אין דירוגים עדיין

  • אין דירוגים עדיין

  • אין דירוגים עדיין

  • אין דירוגים עדיין

מעבר לדף הבית של Mozilla

תוספות

  • על אודות
  • בלוג התוספות של Firefox
  • Extension Workshop
  • מרכז המפתחים
  • מדיניות למפתחים
  • בלוג קהילה
  • פורום
  • דיווח על תקלה
  • מדריך סקירה

דפדפנים

  • Desktop
  • Mobile
  • Enterprise

מוצרים

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • פרטיות
  • עוגיות
  • מידע משפטי

למעט היכן שצוין אחרת, התוכן באתר זה מוגש בכפוף לגרסה 3.0 של הרשיון Creative Commons Attribution Share-Alike או כל גרסה עדכנית יותר.