Most content of this gist is outdated, as the TB addon system has changed and now uses the same addon system, that is used by firefox
- https://developer.mozilla.org/en-US/Add-ons/Thunderbird
- https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Thunderbird_API_documentation
- Thunderbird classes which can be used by addons:
- Source code of Thunderbird components:
- http://mdn.beonex.com/en/Extensions/Thunderbird/HowTos.html
- https://github.com/protz/thunderbird-stdlib
- https://developer.mozilla.org/en-US/Add-ons/Thunderbird/Finding_the_code_for_a_feature
Returns OS as string e.g. "WINNT".
Complete list at https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/OS_TARGET
function getOS() {
var { classes: Cc, interfaces: Ci, utils: Cu } = Components;
var xulRuntime = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULRuntime);
return xulRuntime.OS;
}
https://developer.mozilla.org/en-US/docs/Adding_preferences_to_an_extension
- https://gist.github.com/eddiejaoude/0076739fe610189581d0
- http://bernaerts.dyndns.org/linux/74-ubuntu/271-ubuntu-firefox-thunderbird-addon-commandline
- Storage: SQLite & Memory-BLOB
- Calling native Libraries
- https://developer.mozilla.org/en-US/docs/Mozilla/js-ctypes
- Examples: https://developer.mozilla.org/en-US/docs/Mozilla/js-ctypes/Examples
- Basic Example: https://mar10.noblogs.org/post/2014/10/02/loading-a-native-library-in-firefox-via-the-add-ons-sdk/
- Complex Example: https://mar10.noblogs.org/post/2014/10/13/js-ctypes-from-c-to-javascript-to-c/
- Returning a String: http://stackoverflow.com/questions/30738818/js-ctypes-third-part-dll-with-string-return
- Casting Examples: https://gist.github.com/Noitidart/081ef49002a90fe43005
- Preference Window with XUL
- Close Tab with Escape key
Hey,
most of the information listed here is outdated.
Thunderbirds addon system has been changed to the same, that is used by firefox. If you really still need working links, you may try to enter it at archive.org into the wayback machine.
Hope this helps