这是在使用adblock后页面上多出类似行内层级的样式,无法修改。
::content #dart_160x600, ::content #dfp-ad-stamp_2, ::content #div-web-ad-marginale-2, ::content #dvad5, ::content #floatyContent, ::content #fusionad, ::content #googleAd_words, ::content #h_ads1, ::content #header_advertisement_top, ::content #hor_ad, ::content #inlineBottomAd, ::content #kbbAdsMainCenterAd, ::content #leftAdMessage, ::content #mainAdvert, ::content #middle_bannerad, ::content #mu_2_ad, ::content #oas_wide_skyscraper, ::content #plAds, ::content #right-ad-skin, ::content #rightgoogleads, ::content #section-ad-300-250, ::content #sidebar-ad_dbl, ::content #skyAd, ::content #sponsor_deals, ::content #squareGoogleAd, ::content #td_adunit1, ::content #topAd300x250_, ::content #topadsdiv, ::content #vertical_ad, ::content #wideskyscraper_160x600_left, ::content #zone_c_ads, ::content .AdRight1, ::content .BigBoxAdLabel, ::content .MOS-ad-hack, ::content .SponsoredAdTitle, ::content .ad--bottommpu, ::content .ad-728x90-1, ::content .ad-box2, ::content .ad-forum, ::content .ad-pos-top, ::content .ad-slot__label, ::content .ad-vtu, ::content .ad300X250, ::content .ad970x30, ::content .adColumn, ::content .adMediumRectangle, ::content .adSuperboard, ::content .ad_336x90, ::content .ad_bottom_mpu, ::content .ad_header_left, ::content .ad_nsbd_300_250, ::content .ad_supersize, ::content .adblock_primary, ::content .adf_tisers, ::content .admiddlesidebar, ::content .ads-banner, ::content .ads-single, ::content .adsBelowHeadingNormal, ::content .ads_bg, ::content .ads_topbanner, ::content .adsense-widget-horizontal, ::content .adslot_728, ::content .adtoggle, ::content .adv300-70, ::content .adverTxt, ::content .advert350ih, ::content .advertise_box1, ::content .advertisement_flag_sky, ::content .adverttop, ::content .al-wss-ad, ::content .article_middle_ad, ::content .banner-ads-sidebar, ::content .bb-md-adv7, ::content .block-ads3, ::content .blxAdopsPlacement, ::content .botton_advertisement, ::content .btf-ad-medRect, ::content .cdAdTitle, ::content .cnt-right-vertical-ad, ::content .content_ad_side, ::content .dartAdImage, ::content .div_advertisement, ::content .eniro_ad, ::content .flash_ad, ::content .games-ad300, ::content .googleAd300x250_wrapper, ::content .graphic_ad, ::content .header-top-ad, ::content .homeAddTopText, ::content .inline-ad-wrapper, ::content .job-ads-container, ::content .lazy-adv, ::content .lgRecAd, ::content .main-advertising, ::content .meme_adwrap, ::content .mod-trbad, ::content .mpuads, ::content .other-posts-ads, ::content .panel_ad, ::content .popup_ad, ::content .publicidade-dotted, ::content .region-leader-ad-top, ::content .right-square-ad-blocks, ::content .rolloverad, ::content .searchResultAd, ::content .sideAdv-wrapper, ::content .sidebar_ads_title, ::content .slideshow-ad-container, ::content .sponsor-left, ::content .sponsoredInner, ::content .sr-advert, ::content .szoSponsoredPost, ::content .top-adsense-banner, ::content .topad1, ::content .ukAds, ::content .view_ads_top_bg_middle, ::content .widget1-ad, ::content .yrail_ads, ::content a[href^="http://bonusfapturbo.nmvsite.com/"], ::content a[href^="http://refer.webhostingbuzz.com/"], ::content #ssmiwdiv[jsdisplay], ::content #tr_ad2, ::content .movie-advert-link, ::content #ADVTRIGHT1, ::content #AdMPUHome, ::content #AdvContainerMidCenter, ::content #DivAdForumSplitBottom, ::content #LowerContentAd, ::content #TOP_ADROW, ::content #ad-197, ::content #ad-base, ::content #ad-gutter-right, ::content #ad-push, ::content #ad-textad-single, ::content #ad300x60, ::content #adCirc300X250, ::content #adMpuBottom, ::content #adSplotlightEm, ::content #ad_300x250_1, ::content #ad_banner_468x60, ::content #ad_footer_small, ::content #ad_medium_rectangle, ::content #ad_script_head, ::content #ad_zone, ::content #adlink-55, ::content #ads-C1, ::content #ads728bottom, ::content #ads_header, ::content #adsense-right, ::content #adtopDet, ::content #adv_5, ::content #advert234_container, ::content #advertisement2, ::content #advetisement_300x250, ::content #anyvan-ad, ::content #banner-300x600-area, ::content #bcaster-ad, ::content #block-thewrap_ads_250x300-3, ::content #bottomMPU, ::content #burn_header_ad, ::content #commentTopAd, ::content #content_right_advert, ::content #ctl00_ctl00_MainPlaceHolder_itvAdSkyscraper, ::content #defer-adright, ::content #dfp_ad_20, ::content #divFooterAds, ::content #events-adv-side4, ::content #footerAdBottom, ::content #galleryad1, ::content #google_ads_div_Raw_Override, ::content #headad, ::content #hide_ad_section_v2, ::content #i_ads_table, ::content #interstitialAd, ::content #layeradsense, ::content #leftcolumnad, ::content #mason_adv_rn_2, ::content #mod_ad_top, ::content #national_ad, ::content #ovAdWrap, ::content #populate_ad_textupper, ::content #r-ads-listings, ::content #rightAdDiv2, ::content #rr_MSads, ::content #shoppingads, ::content #sidebarAdUnitWidget, ::content #sliderAdHolder, ::content #sponsoredFeaturedHoz, ::content #stopAdvt, ::content #tgAD_imu_2, ::content #topLBAd, ::content #topsponad, ::content #video_advert2, ::content #wrapAd, ::content .AD_300x265, ::content .Ad_468x60, ::content .DomAdsDiv, ::content .PERFORMANCE_AD_RELATED, ::content .TopAdR, ::content .ad-120x60
{
display: none;
}
网络搜索adblock的实现原理,应该是通过js的正则匹配指定的几百种广告规则进行屏蔽,这里发现的好像就是通过匹配ad这个类的关键字实现隐藏。所以试着将所有带有ad的类名修改,这里就暂时改为jin(金)zhu(主)吧
这是修改类名前后的对比图,看来这么修改还是有效的,当然肯定还有其他更专业的改法,有待持续关注