Tool that worked from IE4-Ie8 no longer works - by Susan Bradley

Status : 

  By Design<br /><br />
		The product team believes this item works according to its intended design.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

ID 654260 Comments
Status Closed Workarounds
Type Bug Repros 1
Opened 3/29/2011 11:18:52 AM
Access Restriction Public
Primary Feedback Item 693109


Asked over here:

Was told to post over here even though it was already asked over here

now told to bug it in here --

 I use this titleurl file and it doesn't work in IE9 The htm has this: The registry key adds a value in the right mouse click context menu to call this html file and then it copies the title and url of a page into your clip board. On IE9 it fails with An error has occurred in the script on this page Line 17 Char 3 Error Permission denied Code 0 url: file:///c:/windows/web/TITLE_URL.HTM What do I need to do to get this to work?

Title_URL right-click context tool for IE4+
Bill James - - rev 2 Nov 2000
<form name=a><textarea name=a1></textarea>
<SCRIPT language=javascript defer>
//To disable popup confirmation, change "showConfirm=1" to "showConfirm=0"
var showConfirm=0
var oExtArgs=external.menuArguments;
var sTitle=oExtArgs.document.title;
if(sTitle=='')(sTitle='No Title');
kludge - to keep newlines we must set text in
textarea, then create textRange and copy that.
var oTarget=document.a.a1;
oTarget.value=sTitle+': \r\n'+oExtArgs.location.href+'\r\n';;
var oTextRange=oTarget.createTextRange();
Sign in to post a comment.
Posted by Microsoft on 10/19/2011 at 8:35 AM
Thank you for your feedback. This turns out to be the same issue as Connect Feedback 693109. Please follow the progress of this bug there. Thank you.

Best regards,

The Internet Explorer Team
Posted by Microsoft on 5/30/2011 at 5:52 PM
Thank you for your feedback.

We were able to reproduce the issue and are investigating it.

Please implement the workaround available today:

Posted by Ramesh Srinivasan on 3/31/2011 at 5:41 AM
Changing the following line:

oTarget.value=sTitle+': \r\n'+oExtArgs.location.href+'\r\n';


oTarget.value=sTitle+': \r\n'+oExtArgs.document.URL+'\r\n';

Makes it work in IE9/IE8 (and probably in earlier versions as well).

Credits to Socrates (Soc) Trikes, IE MVP

Best regards,

The Internet Explorer Team
Posted by Smittychat on 3/30/2011 at 8:26 AM
Re: Edit a Bug. It's been requested. You can vote on it here.
Posted by Susan Bradley on 3/29/2011 at 11:47 PM
Another user, Kevin Su-, has replied to a thread you have subscribed to in the Internet Explorer Forum.

Thread Title How do I get this title url menu to work in IE9?
Started by: Susan Bradley


Hello Susan,

Thank you for your post and glad to see you here.

I have done a lot of research on this issue, and I can reproduce it from my side. Seems that the issue happens due to the following line (line 17) of the Java script.

oTarget.value=sTitle+': \r\n'+oExtArgs.location.href+'\r\n';

After some further test, I found “oExtArgs.location.href” seems by default not compatible with IE9. For example, if we change the script line above to this:

oTarget.value=sTitle+': \r\n'+'\r\n';


oTarget.value=sTitle+': \r\n'+location.href+'\r\n';

Then the script does work, but cannot copy the URL. Regarding this issue, I will do some further research and then let you know how it goes. However, I appreciate your understanding that script is not supported in the forum, and I may not find out the root cause since I’m not familiar with script.

Thanks for your time and I look forward to being in touch with you.
Best regards,

Kevin Su
Partner Online Technical Community
We hope you get value from our new forums platform! Tell us what you think:
This posting is provided "AS IS" with no warranties, and confers no rights.

The Microsoft Developer Network
Posted by Susan Bradley on 3/29/2011 at 11:23 AM
Do you know you can't edit a bug once you've posted it?

The download for the title url tool is here: