针对 TechCrunch 网站每篇文章正文中间强制播放视频且用户无法通过界面停止后台播放的问题,社区提供了一种基于 uBlock Origin 的技术解决方案 1。该方案旨在消除由 JW Player 嵌入和 Connatix 浮动广告播放器引起的视觉与音频干扰 1。
具体而言,用户需使用 Firefox 上的完整版 MV2 uBlock Origin(Lite 版不支持)加载特定过滤规则 1。核心措施包括屏蔽 content.jwplatform.com、ssl.p.jwpcdn.com 和 connatix.com 等域名的脚本请求 1。此外,通过应用 CSS 选择器 techcrunch.com##.wp-block-techcrunch-jw-player-embed 和 techcrunch.com##.jw-player-inline-promo 来隐藏残留的空容器元素,从而彻底清除页面上的自动播放内容 1。需要注意的是,如果 TechCrunch 更换视频供应商,相关网络规则可能需要相应更新 1。
A technical solution has been developed to suppress intrusive autoplay videos embedded within TechCrunch articles, utilizing specific filter rules for the uBlock Origin browser extension 1. The problem stems from TechCrunch’s practice of automatically playing video content in the middle of article bodies, where merely hiding the user interface fails to stop the background playback of audio and visuals 1. This issue persists because the site employs both JW Player embeds and Connatix floating ad players, which continue running scripts even when visually obscured 1.
To address this, the proposed filter configuration blocks scripts hosted on content.jwplatform.com, ssl.p.jwpcdn.com, and connatix.com 1. Additionally, CSS selectors are applied to hide empty container elements using techcrunch.com##.wp-block-techcrunch-jw-player-embed and techcrunch.com##.jw-player-inline-promo, effectively removing the visual placeholders 1. It is important to note that these rules are designed for the full MV2 version of uBlock Origin on Firefox and are not compatible with uBO Lite 1. If TechCrunch changes its video providers in the future, users may need to update their network rules accordingly 1.
评论
还没有评论,欢迎留下第一条。