Results 1 to 2 of 2
  1. #1
    leifster is offline Member
    Join Date
    Nov 2010
    Rep Power

    Default Getting the hyperlink URL


    I'm in the process of customizing an Internet Explorer menu by following the example here: Extending the Internet Explorer context menu - The Old New Thing - Site Home - MSDN Blogs

    But I don't want to open the current document in Mozilla.
    Instead I want to right click a hyperlink and select to open this link in the other browser (this is my custom menu item)

    So I need to change this bit of code

    var shell = new ActiveXObject("WScript.Shell");"mozilla \"" + external.menuArguments.document.URL + "\"");

    to something that references to the URL I'm currently hoovering over.
    Any ideas?

    Thank you in advance,


  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Blog Entries
    Rep Power


    Your question is a JavaScript question and this is a Java forum. JavaScript has as much to do with Java as Hamster has to do with Ham. I suggest you Google for a JavaScript forum and ask this question there.


Similar Threads

  1. get data from hyperlink
    By shyameni in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 02-19-2010, 10:32 AM
  2. How to create a hyperlink from a text in Java
    By javanewbie in forum New To Java
    Replies: 2
    Last Post: 06-05-2009, 02:12 PM
  3. Hyperlink in swing
    By aneesahamedaa in forum AWT / Swing
    Replies: 1
    Last Post: 07-28-2008, 03:41 PM
  4. [SOLVED] Hyperlink
    By Mir in forum New To Java
    Replies: 91
    Last Post: 07-09-2008, 11:37 AM
  5. Hide hyperlink address on status bar
    By simon in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 07-24-2007, 10:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts