// a userscript optimized for :has()

Search Adblock

Optimization Edition

Native CSS power for iOS Safari. One userscript, zero JS engines.

Install Script
injected.css38 srcid selectors · static · no JS engine
// Google
div.MjjYud:has([href*='%E2%9C%94%EF%B8%8F']),
div.MjjYud:has([href*='%E2%9C%85%EF%B8%8F']) { display: none !important }

// Baidu (mobile purge)
.ad-wrapper, .ec_wise_ad,
.ec-result-inner,
[srcid='note_lead'], [srcid='wenda_inquiry_san'],
[srcid^='app_mobile_simple'] { display: none !important }

// Bing
li.b_ad, .ad_sc, .adsMvC,
.b_algo:has(.b_ads1line),
a[href*="/aclick?ld="] { display: none !important }

// 360 / Toutiao / General
[data-text-ad], .ad_result, .biz_sponsor
[data-video-player='true'] { display: none !important }

// engine fundamentals

01

Native :has() selectors

Modern selectors compiled into one static stylesheet. Zero layout shift, maximum speed.

02

Zero battery overhead

No JS engine runs in the background. The browser's CSS engine does the matching.

03

Instant injection

Ads are blocked before the first frame renders. Injected at document-start.

// v1.1.0 - baidu purification

04

Deep search results cleanup

38 mobile-Baidu selectors strip [srcid] markers, ad wrappers, and recommend blocks down to actual results.

05

Video autoplay blocking

Elements flagged [data-video-player='true'] and the cos-rich-video-player-video are stopped before they load.

06

Clipboard hijack prevention

On copy, tracking strings added by Baidu and Haokan are stripped from the clipboard.