mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Update new search bar condition
This commit is contained in:
parent
eed91eccf1
commit
b7a2561f1b
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==
|
||||
// @name Bilibili Evolved (Preview)
|
||||
// @version 1.6.21
|
||||
// @version 1.6.22
|
||||
// @description 增强哔哩哔哩Web端体验(预览版分支): 修复界面瑕疵, 删除广告, 使用夜间模式浏览; 下载视频,封面,弹幕, 以及增加对触屏设备的支持等.
|
||||
// @author Grant Howard, Coulomb-G
|
||||
// @copyright 2018, Grant Howrad (https://github.com/the1812)
|
||||
@ -290,8 +290,15 @@
|
||||
},
|
||||
{
|
||||
key: "tweetsStyle",
|
||||
condition: () => document.domain === "t.bilibili.com",
|
||||
important: true,
|
||||
condition()
|
||||
{
|
||||
const workingDomains = [
|
||||
"t.bilibili.com",
|
||||
"space.bilibili.com",
|
||||
"www.bilibili.com/bangumi"
|
||||
];
|
||||
return workingDomains.some(it => document.URL.indexOf(it) !== -1);
|
||||
}
|
||||
},
|
||||
],
|
||||
displayNames: {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name Bilibili Evolved
|
||||
// @version 1.6.21
|
||||
// @version 1.6.22
|
||||
// @description 增强哔哩哔哩Web端体验: 修复界面瑕疵, 删除广告, 使用夜间模式浏览; 下载视频,封面,弹幕, 以及增加对触屏设备的支持等.
|
||||
// @author Grant Howard, Coulomb-G
|
||||
// @copyright 2018, Grant Howrad (https://github.com/the1812)
|
||||
@ -290,8 +290,15 @@
|
||||
},
|
||||
{
|
||||
key: "tweetsStyle",
|
||||
condition: () => document.domain === "t.bilibili.com",
|
||||
important: true,
|
||||
condition()
|
||||
{
|
||||
const workingDomains = [
|
||||
"t.bilibili.com",
|
||||
"space.bilibili.com",
|
||||
"www.bilibili.com/bangumi"
|
||||
];
|
||||
return workingDomains.some(it => document.URL.indexOf(it) !== -1);
|
||||
}
|
||||
},
|
||||
],
|
||||
displayNames: {
|
||||
|
||||
@ -1 +1 @@
|
||||
1.6.21
|
||||
1.6.22
|
||||
Loading…
Reference in New Issue
Block a user