Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How do I get Internet Explorer 8 to display every single web page with its own title?

I want the full URL of the web page I am viewing to be displayed in the title bar, and so in the task bar button too.

Windows XP and IE8. Tabbed Browsing is off.

share|improve this question
add comment

migrated from stackoverflow.com Aug 27 '10 at 10:16

This question came from our site for professional and enthusiast programmers.

1 Answer

You can not change the built-in behaviour of a web browser when it is written to display the text contained in the <title> tags of an HTML document.

That said, the following bookmarklet works in Firefox, Opera, Safari and Google Chrome, but unfortunately does not work(*) in any version of Internet Explorer from 6 through 8 that I tested it in:

javascript:void(window.document.title=window.location.href);

(*) - It actually does seem to set document.title to the requested value in Internet Explorer, but does not update the titlebar.

Your options for Internet Explorer at this point are:

  1. Have all your web traffic go through a proxy that appends <script>document.title=window.location.href</script> immediately before </body> for every document.
  2. Use some sort of server-side solution to frame every page you want to browse to and control the <title> of the top-level frameset document yourself.
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.