Skip to content

Commit

Permalink
trending->explore
Browse files Browse the repository at this point in the history
  • Loading branch information
amitbl committed Mar 28, 2021
1 parent ba8ad7c commit 8d5fb35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scripts/inject.js
Original file line number Diff line number Diff line change
Expand Up @@ -792,11 +792,12 @@
}

function blockTrending(data) {
if (document.location.pathname === '/feed/trending') {
if (document.location.pathname === '/feed/trending' || document.location.pathname === '/feed/explore') {
redirectToIndex();
}

data.filterData.channelId.push(/^FEtrending$/);
data.filterData.channelId.push(/^FEexplore$/);
}

function removeRvs() {
Expand Down

0 comments on commit 8d5fb35

Please sign in to comment.