![Preview of AltCopy](https://addons.mozilla.org/user-media/addon_icons/2726/2726528-64.png?modified=84bc13a8)
AltCopy by Max Nikulin
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.
You'll need Firefox to use this extension
Extension Metadata
Screenshots
![Screenshot of AltCopy Firefox add-on: tooltip for a page element, context menu item, that allows to copy it, and result of pasting to a text editor](https://addons.mozilla.org/user-media/previews/thumbs/263/263086.jpg?modified=1635943940)
About this extension
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
- value of
- 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.
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.
Rate your experience
PermissionsLearn more
This add-on may also ask to:
- Input data to the clipboard
- Display notifications to you
- Access your data for all websites
More information
- Add-on Links
- Version
- 0.4.0
- Size
- 34.54 KB
- Last updated
- 2 years ago (Jun 23, 2023)
- Related Categories
- License
- Mozilla Public License 2.0
- Version History
Add to collection
Release notes for 0.4.0
AltCopy-0.4.0
Changes since AltCopy-0.3:
- Walk through enclosing elements looking up for an element with text attributes. It should help if a link is put inside a text element with a tooltip.
- Optional notifications of failures. Grant the relevant permission in the add-ons manager.
- A workaround for browser limitations when context menu opened from keyboard (
- Firefox-112 and newer versions allows to work without the clipboard permission. Hopefully in Firefox-102 ESR the add-on should work a bit more reliable as well.
- This version does not request access to all sites on demand. You may grant this permission in the add-on manager to more reliable extraction of text from frames.
- Promptly fail if extraction script is delayed due to page loading. Stop page loading may help to get text attribute.
Changes since AltCopy-0.3:
- Walk through enclosing elements looking up for an element with text attributes. It should help if a link is put inside a text element with a tooltip.
- Optional notifications of failures. Grant the relevant permission in the add-ons manager.
- A workaround for browser limitations when context menu opened from keyboard (
[Menu]
or [Shift+F10]
) instead of mouse right click. It may be handy when cursor keys navigation (caret brows) is enabled ([F7]
). Only text elements are currently supported.- Firefox-112 and newer versions allows to work without the clipboard permission. Hopefully in Firefox-102 ESR the add-on should work a bit more reliable as well.
- This version does not request access to all sites on demand. You may grant this permission in the add-on manager to more reliable extraction of text from frames.
- Promptly fail if extraction script is delayed due to page loading. Stop page loading may help to get text attribute.
More extensions by Max Nikulin
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet