block subfeeds

- block subfeed filter chips if there was a blocking of podcasts on the main page
This commit is contained in:
amd64fox
2024-09-03 17:22:10 +03:00
parent f43f35a973
commit 91654f616f

View File

@@ -1,5 +1,18 @@
function sectionBlock(e, type) {
// block subfeeds
if (type === "podcast" || type === "all") {
const style = document.createElement("style");
style.innerHTML = `
.cj6vRk3nFAi80HSVqX91,
.zbU90jX5VWUhVlpUda7B {
display: none !important;
}
`;
document.body.appendChild(style);
}
const body = e?.data?.home;
const sections = body?.sectionContainer?.sections?.items;