Use scripting language and IE right-click menu

zhaozj2021-02-16  93

Use scripting language and IE right-click menu:

We can use the registry to control the IE right-key menu. When you installed the flashget (Internet Express), you will find that IE right-key menu is more than: "Use Internet Express Download" and "All links to download online", At this time, you open the registry, there is two primary keys in hkey_current_user / softwarer / menxt / under the two primary keys, one is the default string value, specified this menu The URL of the command is to open, IE opens it in a hidden window, and this hidden window's external.Menuarguments value is set to the current window object, and the script containing the URL dialog page is automatically turned off. The other name is contexts DWORD value, specify where it needs to display this menu item. For details, see.

(0x1 << Context_Menu_Default) (equal to 0x1) // Display

(0x1 << Context_Menu_Image) (equal to 0x2) // Right click on the image to display the item

(0x1 << Context_Menu_Control) (equal to 0x4) // Right-click on the form element to display the item

(0x1 << Context_Menu_Table) (equal to 0x8) // Right click on the table to display the item

(0x1 << Context_Menu_TextSelect) (equal to 0x10) // Right-click on the highlight selection text display this item

(0x1 << Context_Menu_anchor) (equal to 0x20) // Right click on the link When displaying the item

(0x1 << Context_Menu_Unknown) (equal to 0x40) / / Right-click on the page except the page to display the item

Now we write a script program to get the value of the password box.