background.js (596B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this file, 3 * You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 /* eslint-env webextensions */ 6 7 "use strict"; 8 9 browser.runtime.onUpdateAvailable.addListener(_details => { 10 // By listening to but ignoring this event, any updates will 11 // be delayed until the next browser restart. 12 // Note that if we ever wanted to change this, we should make 13 // sure we manually invalidate the startup cache using the 14 // startupcache-invalidate notification. 15 });