mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
12 lines
313 B
JavaScript
12 lines
313 B
JavaScript
const selectors = [
|
|
".nav-search-keyword",
|
|
".search-keyword"
|
|
];
|
|
for (const selector of selectors)
|
|
{
|
|
new SpinQuery(
|
|
() => $(selector),
|
|
it => it !== undefined && it.length > 0 && it.attr("placeholder").length > 0,
|
|
textBox => textBox.attr("placeholder", "搜索")
|
|
).start();
|
|
} |