在面板html视图中使用SDK插件重用firefox图标

时间:2015-09-17 15:57:46

标签: firefox-addon firefox-addon-sdk

我正在尝试在firefox中创建我的第一个插件,所以我按照建议使用jpm:

var panel = panels.Panel({
  contentURL: './view/downloads.html',
  contentScriptFile: [
    './../lib/vendor/jquery-1.11.3.min.js',
    './contentScript.js'
  ]
});

据我所知,xul(xml + moz DTD之前的东西)允许制作“mozilla native”界面。

但是我如何在我的html中使用一些图标(例如下载图标,或图像,文件等的主机本机通用图标)? 有什么可能使我的html面板看起来更原生(即使已经应用了一些样式,如灰色背景等)?

我找不到关于在mdn上创建接口的更完整信息。

0 个答案:

没有答案