Also, I am looking for something my endusers (non-technical) can use. So viewsource, etc. won't help.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
Open page source, find element, copy
If you are using Firefox, install Firebug and use the element selector to select the element with the tooltip you want to copy, then copy the
Done... the entire tooltip text will be on the clipboard now.
Tested in Chrome 54.0.2840.99 m.
Not from the tooltip directly.
But if you're willing to do a little work, there's always ways to get at this stuff:
Babak's comment is kind of important. As it stands right now, it sounds like you're not really writing any code or developing any application; you just want to copy something from your browser to the clipboard.
Assuming that's what you're trying to do, then it's possible that the tooltip is in the HTML code. Explicit text can be placed in HTML that most browsers render as a tooltip on mouseover (such as the
alt property on an
img tag). If the tooltip you want to copy to the clipboard is part of the HTML content, then you can view the source from within your browser and copy it from there.
Some browsers have more modern debugging and inspection tools which allow you to right-click on the element itself and go straight to that point in the source as well.
Alternatively, you may try opening the page source and searching for a part of the description text by manually typing it into the search box.
Also, browsers these days have developer tools built in, so if you're familiar with how they work, it might be easier to just analyze an image and find that text in one of its properties. Or you could search through all connected files using devtools for a part of the description text as well.
If you want easy solution: Move mouse pointer on the item you want to copy its tooltip to show tooltip, mark all contents on webpage (CTRL+A), copy it (CTRL+C) and paste it to text procesor (for example notepad++). The last line is the text in the tooltip. I use this solution and it is easy, not needed knowledge about DOM and HTML.