Revert install script

This commit is contained in:
Clement Desmidt 2018-11-20 21:59:22 +01:00
parent d09834f46c
commit 50641aba0a

View File

@ -1,12 +1,6 @@
import ext from "./utils/ext"; import ext from "./utils/ext";
import storage from "./utils/storage"; import storage from "./utils/storage";
browser.runtime.onInstalled.addListener( function(details) {
if ("install" === details.reason) {
storage.set({ url: ext.i18n.getMessage("defaultURL") });
}
});
var extractTags = () => { var extractTags = () => {
var url = document.location.href; var url = document.location.href;
if (!url || !url.match(/^http/)) { if (!url || !url.match(/^http/)) {