copyTextContent

Simple browser extension to copy text content of selected element

MIT License

Stars
5
Committers
2

Copy Text Content

Copies selected element's textContent

Firefox | Chrome | Chrome (Lite)

Why not just Ctrl + C?

Because it's inconsistent between browsers

  • Chrome will observe text-transform but FF will not
  • It's difficult to select text in links without enough whitepsaces
  • Some sites will hijack and/ or prevent copy events - this might get around that?

Demo

Why does it need permission for all sites?

Because chrome is still missing methods to get the contextMenu targets [1] [2]

Version Comparison

Firefox Chrome Chrome (Lite)
Can copy from any element
Can copy from selected elements
Needs permission for all sites

It solves an annoying problem in my life, I hope it helps with yours


Icon by ionicons licenced under MIT