🔧 Save the default URL on install

This commit is contained in:
Clement Desmidt 2018-11-18 23:35:34 +01:00
parent f7b4e24505
commit d09834f46c

View File

@ -1,4 +1,11 @@
import ext from "./utils/ext";
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 url = document.location.href;