⏪ Revert install script
This commit is contained in:
parent
d09834f46c
commit
50641aba0a
@ -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/)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user