Skip to content

Commit

Permalink
Block "Suggested for you" content
Browse files Browse the repository at this point in the history
  • Loading branch information
cbotsikas committed Apr 4, 2020
1 parent 8047731 commit 0c5f4fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const blacklist = [
".uiStreamSponsoredLink",
'a[data-hovercard][href*="hc_ref=ADS"]',
'a[role="button"][rel~="noopener"][data-lynx-mode="async"]',
'div[id^=hyperfeed_story_id] div.userContentWrapper > div:first-child > div:first-child > div:nth-child(2n).uiPopover', // If it has an extra div for "Suggested for you" label on the top
];

const sponsoredTexts = [
Expand Down

0 comments on commit 0c5f4fb

Please sign in to comment.