mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Fix new resource not overwriting cache
This commit is contained in:
parent
42ed2b1268
commit
ff07eb4488
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name Bilibili Evolved (Preview)
|
// @name Bilibili Evolved (Preview)
|
||||||
// @version 1.5.40
|
// @version 1.5.41
|
||||||
// @description 增强哔哩哔哩Web端体验(预览版分支): 修复界面瑕疵, 删除广告, 使用夜间模式浏览, 下载视频或视频封面, 以及增加对触屏设备的支持等.
|
// @description 增强哔哩哔哩Web端体验(预览版分支): 修复界面瑕疵, 删除广告, 使用夜间模式浏览, 下载视频或视频封面, 以及增加对触屏设备的支持等.
|
||||||
// @author Grant Howard, Coulomb-G
|
// @author Grant Howard, Coulomb-G
|
||||||
// @copyright 2018, Grant Howrad (https://github.com/the1812)
|
// @copyright 2018, Grant Howrad (https://github.com/the1812)
|
||||||
@ -1064,6 +1064,7 @@
|
|||||||
if (typeof offlineData === "undefined")
|
if (typeof offlineData === "undefined")
|
||||||
{
|
{
|
||||||
settings.cache[key] = this.text;
|
settings.cache[key] = this.text;
|
||||||
|
saveSettings(settings);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, error => reject(error));
|
}, error => reject(error));
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name Bilibili Evolved
|
// @name Bilibili Evolved
|
||||||
// @version 1.5.40
|
// @version 1.5.41
|
||||||
// @description 增强哔哩哔哩Web端体验: 修复界面瑕疵, 删除广告, 使用夜间模式浏览, 下载视频或视频封面, 以及增加对触屏设备的支持等.
|
// @description 增强哔哩哔哩Web端体验: 修复界面瑕疵, 删除广告, 使用夜间模式浏览, 下载视频或视频封面, 以及增加对触屏设备的支持等.
|
||||||
// @author Grant Howard, Coulomb-G
|
// @author Grant Howard, Coulomb-G
|
||||||
// @copyright 2018, Grant Howrad (https://github.com/the1812)
|
// @copyright 2018, Grant Howrad (https://github.com/the1812)
|
||||||
@ -1064,6 +1064,7 @@
|
|||||||
if (typeof offlineData === "undefined")
|
if (typeof offlineData === "undefined")
|
||||||
{
|
{
|
||||||
settings.cache[key] = this.text;
|
settings.cache[key] = this.text;
|
||||||
|
saveSettings(settings);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, error => reject(error));
|
}, error => reject(error));
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
1.5.40
|
1.5.41
|
||||||
Loading…
Reference in New Issue
Block a user