Window.External

UPDATE: The methods below are still valid for use with 'window.external' but, some simplified methods have been added and they make these older methods a bit on the obsolete side.
It's recommended that you use the methods shown on this page, instead, as they make Javascript injection a lot easier to use.

Below is a full listing of the supported API methods you can call from JavaScript. When calling any of these methods via window.external, the nsISupports parameter 'window' should always be passed as 'self' (w/out the quotes) in your script. This parameter is used to determine which browser instance is responsible for running the script. The 'MethodName' parameter is used as an identifier, by your code, to determine what course of action to take.You'll notice that some method names are appended with a number, this number is the number of parameters the method can pass to MozNet.

Any MozDomElement-based instance can be returned as an nsISupports object. To return an element, set the return value equal to the elements 'DomObject', or equivalent, property. XPCom will marshal the object for you. From JavaScript, an nsISupports object is basically a DOM object, e.g. anchors, tables, div’s, applets, embeds, etc.

//se7en-soft.com/Default.aspx//se7en-soft.com/temporary.aspx//se7en-soft.com/FileLocker/KeyMaster.aspx//se7en-soft.com/Software/AZProductFinder/amzsetup.aspx//se7en-soft.com/Software/AZProductFinder/Default.aspx//se7en-soft.com/Software/AZProductFinder/guide.aspx//se7en-soft.com/Software/AZProductFinder/Help/Default.aspx//se7en-soft.com/Software/BatchConvertEZ/Default.aspx//se7en-soft.com/Software/IMDBAPI/Default.aspx//se7en-soft.com/Software/JackHammer/Default.aspx//se7en-soft.com/Software/MozNET/Classic.aspx//se7en-soft.com/Software/MozNET/CodeSnips.aspx//se7en-soft.com/Software/MozNET/Default.aspx//se7en-soft.com/Software/MozNET/Features.aspx//se7en-soft.com/Software/MozNET/Modern.aspx//se7en-soft.com/Software/MozNET/Tutorials/Javascript/Default.aspx//se7en-soft.com/Software/MozNET/Tutorials/Javascript/Page2.aspx//se7en-soft.com/Software/MozNET/Tutorials/Javascript/Page3.aspx//se7en-soft.com/Software/MozNET/Tutorials/Javascript/Page4.aspx//se7en-soft.com/Software/MozNET/Tutorials/ManagedCode/Default.aspx//se7en-soft.com/Software/MozNET/Tutorials/StringBundleService/Default.aspx//se7en-soft.com/Software/MozNET/Tutorials/WindowExternal/Default.aspx//se7en-soft.com/Software/MozNET/Tutorials/XPCOM/AIO/Default.aspx//se7en-soft.com/Software/MozNET/Tutorials/XPCOM/Native/Default.aspx//se7en-soft.com/Software/NoteMagic/Default.aspx//se7en-soft.com/Software/Specter/Default.aspx//se7en-soft.com/Software/SynthEV/Default.aspx//se7en-soft.com/Software/Win7Lib/Default.aspx//se7en-soft.com/Testing/SiteStyle/Default.aspx