Fix new resource not overwriting cache

This commit is contained in:
the1812 2018-11-29 22:06:49 +08:00
parent 42ed2b1268
commit ff07eb4488
5 changed files with 9 additions and 7 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name Bilibili Evolved (Preview)
// @version 1.5.40
// @version 1.5.41
// @description 增强哔哩哔哩Web端体验(预览版分支): 修复界面瑕疵, 删除广告, 使用夜间模式浏览, 下载视频或视频封面, 以及增加对触屏设备的支持等.
// @author Grant Howard, Coulomb-G
// @copyright 2018, Grant Howrad (https://github.com/the1812)
@ -1064,6 +1064,7 @@
if (typeof offlineData === "undefined")
{
settings.cache[key] = this.text;
saveSettings(settings);
}
}
}, error => reject(error));

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name Bilibili Evolved
// @version 1.5.40
// @version 1.5.41
// @description 增强哔哩哔哩Web端体验: 修复界面瑕疵, 删除广告, 使用夜间模式浏览, 下载视频或视频封面, 以及增加对触屏设备的支持等.
// @author Grant Howard, Coulomb-G
// @copyright 2018, Grant Howrad (https://github.com/the1812)
@ -1064,6 +1064,7 @@
if (typeof offlineData === "undefined")
{
settings.cache[key] = this.text;
saveSettings(settings);
}
}
}, error => reject(error));

View File

@ -1 +1 @@
1.5.40
1.5.41