diff --git a/ui/component/channelContent/view.jsx b/ui/component/channelContent/view.jsx index 5db0c8378..40df3d343 100644 --- a/ui/component/channelContent/view.jsx +++ b/ui/component/channelContent/view.jsx @@ -92,6 +92,12 @@ function ChannelContent(props: Props) { return; } + const urlParams = new URLSearchParams(window.location.search); + const viewType = urlParams.get('view'); + + // only insert ad if it's a content view + if (viewType !== 'content') return; + (async function () { // test if adblock is enabled let adBlockEnabled = false;