开发者

Firefox extension development - reference to extension path

开发者 https://www.devze.com 2022-12-15 14:14 出处:网络
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 wa

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号