In Mozilla Firefox there are certain privileges that are associated with specific targets, In our code we are using “UniversalXPConnect” privilege to give Unrestricted access to browser APIs using XPConnect.
After assigning privileges just running your local .EXE file by using Mozilla Firefox built in classes.
That’s it just use above code and do let me know your experience about it through comments.
CodeReflex is your foremost source of design practices, coding techniques and quality testing. Over here, you will get the solution of every known issue relevant to programming in mostly all of the top languages. Not only this but you can also download the code snippets by experts and freely incorporate into your project.