Grammalecte  Check-in [126234b371]

Overview
Comment:[fx] action when extension is installed
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fx
Files: files | file ages | folders
SHA3-256: 126234b3713e21d9c4fc60d6fdf9b4237b019c3a82d3a69cd93f2270aa7dc820
User & Date: olr on 2017-11-13 20:18:14
Other Links: manifest | tags
Context
2017-11-14
08:10
[fr] gestion nous/vous +V infi check-in: f400225333 user: olr tags: trunk, fr
2017-11-13
20:18
[fx] action when extension is installed check-in: 126234b371 user: olr tags: trunk, fx
17:05
[build] fix setup.py, shebang and rename cli.py and server.py check-in: 099f103bb1 user: olr tags: trunk, build
Changes

Modified gc_lang/fr/webext/background.js from [01b8a8402c] to [a75a4f8ff8].

97
98
99
100
101
102
103











104
105
106
107
108
109
110
        return;
    }
    browser.storage.local.get("gc_options").then(initGrammarChecker, showError);
    browser.storage.local.get("ui_options").then(initUIOptions, showError);
}

init();













/*
    Ports from content-scripts
*/

let dConnx = new Map();







>
>
>
>
>
>
>
>
>
>
>







97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
        return;
    }
    browser.storage.local.get("gc_options").then(initGrammarChecker, showError);
    browser.storage.local.get("ui_options").then(initUIOptions, showError);
}

init();


browser.runtime.onInstalled.addListener(function (oDetails) {
    // launched at installation or update
    // https://developer.mozilla.org/fr/Add-ons/WebExtensions/API/runtime/onInstalled
    if (oDetails.reason == "update"  ||  oDetails.reason == "installed") {
        // todo
        //browser.tabs.create({url: "http://grammalecte.net"});
    }
});



/*
    Ports from content-scripts
*/

let dConnx = new Map();