mirror of https://github.com/mue/mue.git
16 lines
387 B
JavaScript
16 lines
387 B
JavaScript
/* eslint-disable no-use-before-define */
|
|
/* eslint-disable no-undef */
|
|
if (typeof browser === 'undefined') {
|
|
var browser = chrome;
|
|
}
|
|
|
|
browser.runtime.setUninstallURL('https://muetab.com/uninstall');
|
|
|
|
browser.runtime.onInstalled.addListener((details) => {
|
|
if (details.reason === 'install') {
|
|
browser.tabs.create({
|
|
url: browser.runtime.getURL('index.html'),
|
|
});
|
|
}
|
|
});
|