mirror of
https://github.com/zombieFox/nightTab.git
synced 2024-11-26 18:13:35 +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",
|
"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.",
|
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -44,8 +44,11 @@ var data = (function() {
|
|||||||
var link = document.createElement("a");
|
var link = document.createElement("a");
|
||||||
link.setAttribute("href", url);
|
link.setAttribute("href", url);
|
||||||
link.setAttribute("download", fileName);
|
link.setAttribute("download", fileName);
|
||||||
|
link.addEventListener("click", function(event) {
|
||||||
|
this.remove();
|
||||||
|
}, false);
|
||||||
|
helper.e("body").appendChild(link);
|
||||||
link.click();
|
link.click();
|
||||||
link.remove();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
mod.restore = function(data) {
|
mod.restore = function(data) {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
var version = (function() {
|
var version = (function() {
|
||||||
|
|
||||||
var current = "3.72.0";
|
var current = "3.72.1";
|
||||||
|
|
||||||
var compare = function(a, b) {
|
var compare = function(a, b) {
|
||||||
var pa = a.split(".");
|
var pa = a.split(".");
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"name": "nightTab",
|
"name": "nightTab",
|
||||||
"short_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.",
|
"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,
|
"manifest_version": 2,
|
||||||
"chrome_url_overrides": {
|
"chrome_url_overrides": {
|
||||||
"newtab": "index.html"
|
"newtab": "index.html"
|
||||||
|
Loading…
Reference in New Issue
Block a user