Bilibili-Evolved/utils/remove-promotions.js
2018-08-01 17:16:31 +08:00

12 lines
260 B
JavaScript

(() =>
{
return (_, resources) =>
{
if ($("#remove-promotions-style").length === 0)
{
const style = resources.getStyle("removeAdsStyle", "remove-promotions-style");
$("body").after(style);
}
};
})();