Ctrl+RightClick Element Copier

按住 Ctrl + 右键点击即可复制网页元素的 HTML 代码

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Autor
狗屎
Installationen heute
0
Installationen gesamt
1
Bewertungen
0 0 0
Version
1.0
Erstellt am
19.12.2025
Letzte Aktualisierung
19.12.2025
Größe
4,77 KB
Lizenz
GPL-3.0
Wird angewandt auf
Alle Seiten

https://github.com/ELDERJiangneverdies/Ctrl-RightClick-Element-Copier-tempermonkey

一个轻量的用户脚本(适用于 Tampermonkey/Greasemonkey),按住 Ctrl 并右键点击页面元素即可复制该元素的 outerHTML。操作时会短暂高亮目标元素并显示提示信息,优先使用 Clipboard API,失败时自动回退到 execCommand 方案,便于快速抓取 DOM 片段和调试页面结构。

A lightweight userscript (for Tampermonkey/Greasemonkey). Hold Ctrl and right‑click any page element to copy its outerHTML. The target element is briefly highlighted and a toast confirms the copy. It prefers the Clipboard API and falls back to execCommand when needed — handy for quickly extracting DOM snippets for debugging.