logo

ScriptCat

  • Home
  • Community
  • Script List
  • Browser Extension
  1. /
  2. Script Market
  3. /
  4. Email Copy Button for All Sites
  • Overview
  • Code
  • Feedback
  • Ratings
  • Version List
ScriptCat
GitHub
Audit Logs
Service Agreement
Privacy Policy
Disclaimer

© 2022-Present ScriptCat. All rights reserved.

Version History

View all published versions, including stable and prerelease versions. You can install any version or view its source code.
Total 9 versionsStable 9Pre-release 0
Showing 1-9, total 9
2.8.1Latest Version
a month ago

Loading…
Install This Version
2.7.1
a month ago

Loading…
Install This Version
2.6
2 months ago

Loading…
Install This Version
2.5
5 months ago

Loading…
Install This Version
1.9
6 months ago

Loading…
Install This Version
1.8
6 months ago

Loading…
Install This Version
1.7
6 months ago

Loading…
Install This Version
1.6
6 months ago

Loading…
Install This Version
1.5
6 months ago

Loading…
Install This Version

v2.8.1 — Cosmetic: store icon changed to an envelope (✉️) via inline SVG data URI. No changes to detection, copy, or injection logic.

v2.7.1 — Fix: Runaway button injection. BTN_ATTR was dropped in 2.7's stylesheet refactor, breaking the guard against re-processing our own buttons. Restored it + added BUTTON to SKIP_TAGS.

v2.6 — ContentEditable Isolation & Input Handling Guard NEW: Added comprehensive isInEditableRegion guards to completely skip contenteditable elements (such as webmail composers, CRM editors, and Notion blocks), preventing text-node splitting or cursor corruption on live editing surfaces.

Fixed: Isolated TEXTAREA elements from TreeWalker text-node parsing to avoid reading static default values; live text values are now correctly handled via a dedicated querySelectorAll form-field scan.

Improved: Added double-protection hostname check (apps.sfc.hk) directly inside the code to run alongside @exclude metadata rules for better edge-case compatibility.

Enhanced: Re-entrancy guards and safety logic refined inside the MutationObserver scan cycle.

v2.5 Fix: Duplicate buttons on sites like HK01 where mailto already contains a native button child. Now marks immediately and hijacks the existing button's click instead of inserting a new one. Also: walkNode skips children of processed mailto links; injectIntoAria skips elements inside processed mailto .

v1.9 — Enterprise Dashboard Compatibility & Bug Fixes

  • Improved detection for emails in read-only fields, table detail panels, drawers, and modal forms
  • Added scanning of title, aria-label, placeholder, data-email, and data-value attributes for hidden email hints
  • Fixed duplicate copy buttons on paginated/filtered lists by strengthening the deduplication marker logic
  • Fixed trailing punctuation (commas, brackets, semicolons) being included in copied email addre

v1.8 — Input Field Email Detection

  • NEW: Detect emails inside input and textarea value attributes
  • Fixes compatibility with admin dashboards and back-office pages (e.g. Ant Design systems)
  • Now works on SPA form-heavy sites
  • Automatically inserts copy button next to read-only/disabled inputs containing emails

新增 input/textarea value 邮箱识别,修复后台管理系统(如 Ant Design)兼容性,支持表单密集型 SPA 页面。

v1.7 — Gumloop & AI Chat Compatibility Fix

  • Removed CODE and PRE from SKIP_TAGS — fixes emails in code-block AI chat output (e.g. Gumloop) being silently ignored
  • Added characterData: true to MutationObserver — captures streamed text mutations from AI platforms
  • Extended retry scan delays to 15s (was 5s) — covers slow AI agent responses

移除 CODE/PRE 跳过规则,修复 Gumloop 等 AI 聊天界面中邮箱无法识别的问题;新增流式文本变化监听;重试延迟延长至 15 秒。

优化中英文介绍,新增功能对照表和适用场景说明 / Updated bilingual description with feature table and use cases

  • Added fallback clipboard support for older browsers (execCommand)
  • Fixed DOM safety checks to prevent errors on detached nodes
  • Added try/catch for getComputedStyle on detached elements
  • Improved MutationObserver stability
  • Performance: idle callback batching, max 50 nodes per batch