Categories

Developer

Max Nikulin

AltCopy v0.4.0

  • rating
  • rating
  • rating
  • rating
  • rating
5.00 (2 reviews)
Context menu item to copy tooltip text: link title, "alt" image description, value of date input field, etc. to struggle with pages pretending to be friendly with text like "7 days ago" when you need actual date from tooltip for your notes. AltCopy

A helper to copy link title, "alt" image description, full timestamp, etc.

Developer tools are certainly more powerful when some text can not be selected directly but they are less convenient in some frequent cases. In addition to "title" and "alt" attributes, the following properties are tried:
- chosen option of <select> element,
- value of <input> form element that is suitable for date, time, color, range, etc. or its placeholder,
- text of an element when selection is suppressed through CSS,
- selected text, link target, or image source if nothing "better" is available.

Grant the notification permission in the add-on manager to be aware of failures to extract or to copy text.

The clipboard permission in add-on preferences makes copy action more reliable in Firefox-102 ESR,

Due to the browser security policy the add-on features are rather limited on privileged sites including addons.mozilla.org, for PDF files, etc.

See the project page for more details.