🔧 Save the default URL on install
This commit is contained in:
parent
f7b4e24505
commit
d09834f46c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user