DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: IE extensions: Copy Image Url To Clipboard and Browse To Url  (Read 12,256 times)

NoWhereMan

  • Participant
  • Joined in 2005
  • *
  • Posts: 23
I don't know if this is the correct section, but I just discovered how extensions in IE work, and I would like to share these extensions I made
They are actually just a little more than code samples I found around the web, but I find them very useful.

Copy Image URL

Right click, Copy the URL of the image under the cursor to the clipboard (as seen in Chrome, Firefox)


Browse to highlighted text

Select an URL in plain text (not an anchor <a href>), right click, select Browse to Highlighted text to open a new tab or window for that URL


To install, copy the .html files somewhere, I chose %APPS%\IETools (%APPS% is an environment variable which points to C:\Users\MyUserProfile\Apps)

Then open regedit a browse to HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\

Then create two new keys

1) Browse to Highlighted &Text
2) Copy Image &URL

Set the (default) value to the file path of the corresponding html
And then create a new DWORD named "Contexts" and set it to 16 (highlighted text) for Browse to Highlighted Text, and 10 for Copy Image Url

Hope you'll find these useful :)

Have fun!
« Last Edit: March 28, 2011, 06:32 PM by NoWhereMan »

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • Cody Award
    • Official Forum Clown
    • rotten turkey sandwich - Rotten Turkey Sandwich
Re: IE extensions: Copy Image Url To Clipboard and Browse To Url
« Reply #1 on: March 28, 2011, 05:52 PM »
Thanks for sharing.
Chris

Original address: https://www.donationcoder.com/forum/index.php?topic=26205.0