Quick Copy IE open Web page URL and title

Source: Internet
Author: User
Tags blank page

If you are a micro-blogging control, see good content is always used to share with others. At present, most of the Web site also has a share to the micro-blog button, as long as the click on the Share button can immediately reprint the site and title to micro-blog.

Without the button, I would have to manually copy the URL and the title. It's usually easy to copy URLs, but to make it easier for others to see, you need to copy the title. Although it is only a manual copy of the URL and the title of the page, but often this is a very troublesome thing.

Is there a simple way to easily and quickly copy URLs and page titles? In IE browser, we can directly in the IE right-click menu to add a copy of the "title and url" function option, when you need to copy the URL and the title of the page, just click the right mouse button in the blank page, in the selection " Copy the title and URL item.

Add Method:

Hands-on users can copy the following code into Notepad and save it as a Web page file named title_url.htm.

This code applies to IE6 users under XP system

 <!--title_url Right-click context Tool  for  ie4+ Bill James-[EMAIL]BILL@BILLSW Ay.com[/email]-Rev 2 Nov Name=a><textarea--> <form name=a1></textarea> <SCRIPT language=j Avascript defer> //to Disable popup Confirmation, change ' showconfirm=1 ' to ' showconfirm=0 '   var<
  /span> 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  ';
  Otarget.select ();
   var  otextrange=otarget.createtextrange ();
  Otextrange.execcommand (' copy ');  if  (showconfirm) (Oextargs.alert (otarget.value+ '  R  n  Copied to Clipboard '); </script> 

This code applies to IE8, IE9 users under XP, Win7 systems

 <!--title_url Right-click context Tool  for  ie4+ Bill James-[EMAIL]BILL@BILLSW Ay.com[/email]-Rev 2 Nov Name=a><textarea--> <form name=a1></textarea> <SCRIPT language=j Avascript defer> //to Disable popup Confirmation, change ' showconfirm=1 ' to ' showconfirm=0 '   var<
  /span> 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.document.url+ '  r   n  ';
  Otarget.select ();
   var  otextrange=otarget.createtextrange ();
  Otextrange.execcommand (' copy ');  if  (showconfirm) (Oextargs.alert (otarget.value+ '  r  N 
Copied to Clipboard ')); </script> 

Then copy the following code to Notepad as well, and save it as a registry file named Title_url.reg.

The code is different from IE users can general

Windows Registry Editor Version 5.00

[hkey_current_usersoftwaremicrosoftinternet explorermenuext copy title and URL]

@= "C:windowswebtitle_url.htm"

"Contexts" =dword:00000001

Then we will save the title_url.htm file to the C:windowsweb directory, and then double-click the Title_url.reg file execution, the hint poured after the completion.

In the newly opened IE browser window, click the right button to see the "copy title and url" menu option in the IE right-click menu.

Now we click on the blank page of the right button, in the selection "copy title and URL", this time will automatically copy the page title and URL, and then go to the QQ Chat window or micro-blog press CTRL + V to paste directly.

The feature is very simple, but it is really useful to solve the problem that sometimes the page title (that is, the top of the browser window header content) can not directly replicate the obsession, but also faster to copy URLs and titles when the efficiency.

In addition to the IE right-click menu to add the "copy title and url" option, the small is also introduced in the IE right menu to add the "Copy Picture address" and "Copy link address" option, these two features in the daily use of the number may be more.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.