This is not code I am writing. Otherwise I would use CSS, JavaScript, or an Internet Explorer 8 accelerator for what I need.
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 communityThis is not code I am writing. Otherwise I would use CSS, JavaScript, or an Internet Explorer 8 accelerator for what I need.
Also, I am looking for something my endusers (non-technical) can use. So viewsource, etc. won't help.
Open page source, find element, copy title
attribute. Assuming that the attribute is not set with JavaScript.
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 title
attribute from the DOM tree displayed. This will work even if the attribute is set with JavaScript.
In Chrome:
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:
Nope, unfortunately not ... unless someone writes some sort of browser plugin that does this.
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.
SnagIt, a commercial screen capture tool, can extract text out of a tool tip as well.
There are also other alternatives but I haven't tried them.
Clearly by Evernote evernote.com/clearly/ works for me - it shows all the tooltips in a list after any normal text in the page.
(I've only tried this on one type of page, which didn't provide any useful information in in Source Page for the htm.)
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.