mirror of
https://github.com/zombieFox/nightTab.git
synced 2024-11-22 16:13:20 +01:00
[bug] fix export data link not working on firefox
This commit is contained in:
parent
7fd909c057
commit
e2f25a0c23
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nighttab",
|
||||
"version": "3.72.0",
|
||||
"version": "3.72.1",
|
||||
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
@ -44,8 +44,11 @@ var data = (function() {
|
||||
var link = document.createElement("a");
|
||||
link.setAttribute("href", url);
|
||||
link.setAttribute("download", fileName);
|
||||
link.addEventListener("click", function(event) {
|
||||
this.remove();
|
||||
}, false);
|
||||
helper.e("body").appendChild(link);
|
||||
link.click();
|
||||
link.remove();
|
||||
};
|
||||
|
||||
mod.restore = function(data) {
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
var version = (function() {
|
||||
|
||||
var current = "3.72.0";
|
||||
var current = "3.72.1";
|
||||
|
||||
var compare = function(a, b) {
|
||||
var pa = a.split(".");
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "nightTab",
|
||||
"short_name": "nightTab",
|
||||
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
|
||||
"version": "3.72.0",
|
||||
"version": "3.72.1",
|
||||
"manifest_version": 2,
|
||||
"chrome_url_overrides": {
|
||||
"newtab": "index.html"
|
||||
|
Loading…
Reference in New Issue
Block a user