Do not display options page when updating firefox
This commit is contained in:
parent
7bb911a6e9
commit
738d7f0f6a
|
@ -4,7 +4,9 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
//初回起動時にオプションページを表示して設定を初期化
|
||||
browser.runtime.onInstalled.addListener(function () {
|
||||
browser.runtime.onInstalled.addListener((details) => {
|
||||
if (details.reason != 'install' && details.reason != 'update') return;
|
||||
|
||||
browser.tabs.create({
|
||||
url: "options/options.html#information",
|
||||
active: false
|
||||
|
|
Loading…
Reference in a new issue