Giter Site home page Giter Site logo

thunderstorm's Introduction

Thunderstorm icon ThunderStorm

Tips, Tricks & Examples for Thunderbird E-mail New Add-On Development

The goal of this repository is to provide examples in order to better "weather" the transition to Thunderbird's new extension structure. The new paradigm follows the WebExtension standard followed by most browsers these days.

Obviously Thunderbird has different requirements from a browser extension even if Thunderbird relies and is based on Mozilla's Gecko core framework. Focus will be on the differences and transition issues. The new structure adapted to Thunderbird is termed MailExtension.

To get started with MailExtensions, we suggest to check out these resources first:

The approach I have taken is not so much a tutorial, but rather a set of references including working examples and other transition information. Hopefully this approach will help both new and seasoned developers. For both, pointers to other tutorials or related documentation is also included.

Table of Contents

Credits

Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY

thunderstorm's People

Contributors

cleidigh avatar jobisoft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

thunderstorm's Issues

Default Content Security Policy in Thunderbird 78.0.1 blocking loading of the javascript

Hello Christopher,

first thank you for those hello world mail Extention. I was trying to test those mail Extention yesterday and found that the simplest one i.e. Hello world one is not working in the latest Thunderbird 78.0.1. I manage to get it going only after i edited the default content security policy in the manifest.json to

"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self';",

I am sure this is not the best one and in fact is most likely wrong, but for some reason the JavaScript code was not executing with CSP "self". Maybe you can advice a better CSP that we can use per default in the hello world mail Extension?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.