Firefox extension development - reference to extension path
I develop a firefox extension for configuration printer automatically. I want to create a configuration file at where extension was installed. can 开发者_JAVA百科anybody help me?
You do not actually want to store it where your add-on is installed because if you ever need to update the add-on, the configuration file will be overwritten. What you really want to do is to place the configuration file in the profile directory or in a folder you create inside the profile directory.
精彩评论