תוספות לדפדפן Firefox
  • הרחבות
  • ערכות נושא
    • עבור Firefox
    • מילונים וחבילות שפה
    • אתרי דפדפנים אחרים
    • תוספות עבור Android
כניסה
תצוגה מקדימה של Copy DOM and CSS for AI

Copy DOM and CSS for AI Faisal Bhuiyan מאת

A powerful Firefox extension that allows you to select elements or areas on any webpage and copy their DOM structure and CSS styling to your clipboard, formatted perfectly for providing context to AI tools.

‏0 (0 סקירות)‏0 (0 סקירות)
משתמש אחדמשתמש אחד
הורדת Firefox וקבלת ההרחבה
הורדת קובץ

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

צילומי מסך
DOM SelectionPopupOptions Page
על אודות הרחבה זו
Select any element or area on a webpage and instantly copy its full DOM structure + real CSS rules (from stylesheets) to clipboard – perfectly formatted for pasting into ChatGPT, Claude, Gemini, or any AI coding assistant.

Tired of describing layouts or copying messy “View Source” HTML? This add-on lets you point, click (or drag), and get clean, context-rich DOM + CSS ready for any LLM in one second.

Key Features
- Single-click element selection with live hover preview
- Drag-to-select rectangular areas (captures all elements inside)
- Automatically includes ancestor hierarchy up to <body> for proper context
- Extracts actual CSS rules from stylesheets (not just computed styles)
- One-click copy with customizable prompt template
- Visual overlay shows exactly what will be copied
- Full keyboard support (ESC to cancel)

How To Use
- Click the toolbar icon
- Choose Element Mode (default) or Area Mode
- Hover & click, or click-and-drag
- Formatted DOM + CSS is copied instantly – just paste into your AI chat

Output Example

DOM structure:
<div class="container mx-auto">
<section class="card shadow-lg">
<h2 class="text-2xl font-bold">Hello World</h2>
<p class="mt-4 text-gray-600">Lorem ipsum...</p>
</section>
</div>

CSS rules:
/* .container.mx-auto */
.container { max-width: 1200px; margin: 0 auto; }
/* .card.shadow-lg */
.card { padding: 2rem; border-radius: .5rem; background: white; box-shadow: 0 4px 6px rgba(0,0,0,.1); }


Customization Options
- Ancestor levels (0–20, default 3)
- Children depth (-1 = all, default)
- Custom prompt template with {dom}, {css}, {url}, {timestamp} variables
- Toggle between single-element and area selection

Privacy First
- No data collection or transmission
- Only activates when you click the icon
- Runs entirely in your browser
- Settings stored locally

Best Practices for AI Use
- 2–4 ancestors = ideal context for most components
- 0 ancestors = when you want just one exact element
- Higher ancestors = debugging complex page structure

Works Everywhere
Tested on React, Vue, Angular, Shopify, WordPress, Tailwind, Bootstrap, and vanilla sites.
Instant DOM + CSS extraction for developers, designers, and prompt engineers on Firefox. Free, open-source, no tracking.
מדורג 0 על־ידי 0 סוקרים
יש להתחבר כדי לדרג הרחבה זו
אין דירוגים עדיין

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

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

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

  • גישה לנתונים שלך מכל האתרים

איסוף נתונים:

  • המפתח אומר שהרחבה זו אינה דורשת איסוף נתונים.
מידע נוסף
מידע נוסף
קישורים לתוספת
  • דוא״ל לתמיכה
גרסה
1.0.0
גודל
64.88 ק״ב
עדכון אחרון
לפני חודש (1 דצמ׳ 2025)
קטגוריות קשורות
  • פיתוח הרשת
  • כלי חיפוש
  • לשוניות
רישיון
Mozilla Public License 2.0
היסטוריית הגרסאות
  • הצגת כל הגרסאות
תגיות
  • ad blocker
  • chat
  • content blocker
  • download
  • google
  • privacy
  • search
  • torrent
  • user scripts
הוספה לאוסף
דיווח על תוספת זו
מעבר לדף הבית של 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 או כל גרסה עדכנית יותר.