How to get Browser window title ?
Jeff
jeff at virgin.net
Mon Mar 7 15:56:55 UTC 2005
Not sure if you can get the info from the browser itself but why not
write a small script to pull it from the html code..
$ lynx -source www.yahoo.com | grep -i "<title>"
<title>Yahoo!</title>
not sure if this is what you're looking for but its the easiest way i
can think of.
Jeff
Jay Chandran wrote:
>Hi All,
>
>I have been trying to find a solution to this, but still I couldn't.
>What is the way to find the title of an opened Browser Window say for e.g.. in Mozilla.
>
>Say for e.g.. I have opened in Mozilla Browser, http://www.yahoo.com.
>How can I find out the title of the page. In the above case it would be "Yahoo!"
>
>What is the way I can get this title programmatically? Can I find it out using Shell Script? If yes could someone give me an example.
>
>Thanks in advance.
>
>Regards,
>
>jAY
>
>
More information about the redhat-list
mailing list