Skip to content

Commit 91654f6

Browse files
committed
block subfeeds
- block subfeed filter chips if there was a blocking of podcasts on the main page
1 parent f43f35a commit 91654f6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

js-helper/sectionBlock.js

+13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
function sectionBlock(e, type) {
22

3+
4+
// block subfeeds
5+
if (type === "podcast" || type === "all") {
6+
const style = document.createElement("style");
7+
style.innerHTML = `
8+
.cj6vRk3nFAi80HSVqX91,
9+
.zbU90jX5VWUhVlpUda7B {
10+
display: none !important;
11+
}
12+
`;
13+
document.body.appendChild(style);
14+
}
15+
316
const body = e?.data?.home;
417
const sections = body?.sectionContainer?.sections?.items;
518

0 commit comments

Comments
 (0)