Discuz! Board

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1071|回复: 2
打印 上一主题 下一主题

扩展开发

[复制链接]

1228

主题

1998

帖子

7596

积分

认证用户组

Rank: 5Rank: 5

积分
7596
跳转到指定楼层
楼主
发表于 2020-8-19 10:38:54 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 Qter 于 2020-8-20 10:07 编辑

https://addons.thunderbird.net
https://extensionworkshop.com/documentation/develop/debugging/

https://developer.thunderbird.net/add-ons/about-add-ons
https://github.com/cleidigh/ThunderStorm

https://thunderbird.topicbox.com/groups/addons

扩展开发交流
https://developer.thunderbird.net/add-ons/community
https://developer.thunderbird.net/#getting-plugged-into-the-community

解析扩展
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Anatomy_of_a_WebExtension

Thunderbird WebExtension APIs
https://thunderbird-webextensions.readthedocs.io/en/78/index.html
api不能满足时,采用实验型API
https://thunderbird-webextensions.readthedocs.io/en/78/how-to/experiments.html
https://developer.thunderbird.net/add-ons/updating/tb78/experiments

与XUL/XPCOM扩展进行比较
https://extensionworkshop.com/documentation/develop/comparison-with-xul-xpcom-extensions/

storage
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage
https://github.com/thundernest/sample-extensions/tree/master/legacyPrefMigration
多语言api
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/i18n
https://developer.thunderbird.net/add-ons/updating/tb78#converting-locale-files   语言转换
扩展示例
https://github.com/thundernest/sample-extensions/blob/f44d61ad796fa86c04da6add0dda162084aaea44/restart/implementation.js#L19

Replacing XUL windows and dialogs
https://developer.thunderbird.net/add-ons/updating/tb78#replacing-overlays
运行时api
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime

webapi开发
https://firefox-source-docs.mozilla.org/toolkit/components/extensions/webextensions/schema.htmlhttps://firefox-source-docs.mozilla.org/toolkit/components/extensions/webextensions/functions.html


浏览器扩展
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions
thunderbird web扩展
https://thunderbird-webextensions.readthedocs.io/en/68/
https://thunderbird-webextensions.readthedocs.io/en/78/
https://thunderbird-webextensions.readthedocs.io/en/latest/



回复

使用道具 举报

1228

主题

1998

帖子

7596

积分

认证用户组

Rank: 5Rank: 5

积分
7596
沙发
 楼主| 发表于 2020-8-19 15:01:00 | 只看该作者
本帖最后由 Qter 于 2020-8-19 15:04 编辑

清空缓存的方法
增加
nglayout.debug.disable_xul_cache  true


命令行启动时,加入
-purgecaches


https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options#-purgecaches



XUL缓存清理
Components.classes["@mozilla.org/xre/app-info;1"].
    getService(Components.interfaces.nsIXULRuntime).invalidateCachesOnRestart();

userChromeJS


https://developer.thunderbird.net/add-ons/tips-and-tricks
回复 支持 反对

使用道具 举报

1228

主题

1998

帖子

7596

积分

认证用户组

Rank: 5Rank: 5

积分
7596
板凳
 楼主| 发表于 2020-8-19 15:16:17 | 只看该作者
本帖最后由 Qter 于 2020-8-19 15:27 编辑

输的界面元素变更

https://developer.thunderbird.net/add-ons/updating/tb68/changes

查看相关界面元素的实现

In general, check searchfox.com to see the current definitions of tree related implementations:



回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|firemail ( 粤ICP备15085507号-1 )

GMT+8, 2024-5-14 11:24 , Processed in 0.060044 second(s), 18 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表