一句话:提出 Adhere,检测违反 Better Ads Standards 的侵入式广告并给出修复建议。
在线广告常破坏用户体验并拖慢浏览,但网站对 Better Ads Standards 的遵守情况不明,已有方法难以及时发现和修复违规广告。本文提出 Adhere:先将初始网页解析为 DOM 树搜索潜在静态广告,再用 MutationObserver 动态监控页面变化;针对桌面与移动广告设计两种检测算法,在页面加载三阶段识别违规,并递归处理广告转售插入的嵌套 DOM。作者在 Alexa Top 1 Million 网站评估,表明 Adhere 能有效检测违规广告并建议修复方案;相比现有替代方法,在移动端多检测 4,656 个网站,桌面端多 3,911 个,召回率提高 16.6%,准确率提高 4.2%。
Today, more than 3 million websites rely on online advertising revenue. Despite the monetary incentives, ads often frustrate users by disrupting their experience, interrupting content, and slowing browsing. To improve ad experiences, leading media associations define Better Ads Standards for ads that are below user expectations. However, little is known about how well websites comply with these standards and whether existing approaches are sufficient for developers to quickly resolve such issues. In this paper, we propose Adhere, a technique that can detect intrusive ads that do not comply with Better Ads Standards and suggest repair proposals. Adhere works by first parsing the initial web page to a DOM tree to search for potential static ads, and then using mutation observers to monitor and detect intrusive (dynamic/static) ads on the fly. To handle ads' volatile nature, Adhere includes two detection algorithms for desktop and mobile ads to identify different ad violations during three phases of page load events. It recursively applies the detection algorithms to resolve nested layers of DOM elements inserted by ad delegations. We evaluate Adhere on Alexa Top 1 Million Websites. The results show that Adhere is effective in detecting violating ads and suggesting repair proposals. Comparing to the current available alternative, Adhere detected intrusive ads on 4,656 more mobile websites and 3,911 more desktop websites, and improved recall by 16.6% and accuracy by 4.2%.