opera.general
[Top] [All Lists]

How modify "Link Popup Menu" in Opera 9.50?

Subject: How modify "Link Popup Menu" in Opera 9.50?
From: Jane
Date: Mon, 16 Jun 2008 11:22:58 +0100
Newsgroups: opera.general

I would like to modify the link popup menu in Opera 9.50.  How can I 
do it?

------------

When I modified Opera 8's "Hotclick Popup Menu" (which is used when 
text on the web page is selected) I made changes to the file 
STANDARD_MENU.INI in the Opera profile folder.  I put all the 
command lines for the hotclick popup menu that I wanted into that 
file:

    [Hotclick Popup Menu]
    --------------------1
    Item, 50872=Copy
    Item, 65184=Hotclick search, 200
    Item, 67394="Go to page, "%t""
    Item, 65187=Hotclick search, 50
    Item, 65188=Hotclick search, 51
    --------------------2
    Item, "Find on Google streetmap"=Go to page,
    "http://maps.google.com/maps?f=q&hl=en&geocode=&q=%t     
        &btnG=Search+Maps&z=14&om=1"
    Submenu, 291920, Internal Search With
    --------------------3
    Item, "Add tax"=Go to nickname, "add_tax", "%t"
    Item, "Remove tax"=Go to nickname, "remove_tax", "%t"
    Item, "Play DTMF tones"=Execute program, 
        "C:/Program Files/DTMF Dial/Dial.exe", "%t /x"
    --------------------4
    Item, 67652=Copy to note


Now I look at Opera 9.50, I see there are some strange entries in 
the file EMBEDDED_MENU.INI in the PROGRAM FILES folder:

    [Hotclick Popup Menu]
    Item, MI_IDM_DOCCOPY                        = Copy
    --------------------1
    Include, Document Popup Menu

Presumably that string "MI_IDM_DOCCOPY" gets text from somewhere and 
substitutes it into the file, and then after that I guess my own new 
menu entries in the profile folder overrode those entries.

But turning to "Link Popup Menu", how do I work this all out to add 
some extra lines?  

    [Link Popup Menu]
    Item, M_BOOKM_ITEM_POPUP_MENU_OPEN          = Open link
    Item, MI_IDM_POPUP_LINK_ADDRESS             = Copy link
    --------------------1
    Submenu, MI_IDM_ENCODING_AUTOMATIC_PARENT, Encoding Menu    
                = 
    Submenu, MI_IDM_CONTROL_MENU_ACCEPT_POPUPS_PARENT, 
         Quick Preferences Menu = 
         Show popup menu, "Quick Preferences Menu"

In the end, what i want is to be able to right click a link on a web 
page and see a menu entry which calls up Google Cache with the 
selected link's URL.  I suppose could do this either using one of my 
bookmarklets or alternatively I could put the full URL in to the 
menu file.

Any info please!

<Prev in Thread] Current Thread [Next in Thread>