I know about window, gBrowser, gContextMenu and some more but what are all global variables available to Firefox extensions?
I know about window , gBrowser , gContextMenu and some more but what are
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Open the JS shell in Extension Developer. Click
enumerateWindows()and thenchrome://browser/content/browser.xul. Then typeprops(window)to see all the global variables (since global variables in JavaScript are really just properties ofwindow. Note however that there have been some reports of Extension Developer causing weird stuff to happen on Firefox 4.