Bilibili-Evolved/video/expand-description/expand-description.js
2018-12-17 16:42:24 +08:00

19 lines
525 B
JavaScript

(() =>
{
return (settings, resources) =>
{
// (async () =>
// {
// const expandButton = await SpinQuery.condition(
// () => document.querySelector(".video-desc .btn"),
// it => it.innerText.indexOf("展开更多") !== -1,
// );
// if (!expandButton)
// {
// return;
// }
// expandButton.click();
// })();
resources.applyStyle("expandDescriptionStyle");
};
})();