Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in console on any site - with shields enabled #40151

Closed
1 of 6 tasks
ddowie opened this issue Jul 31, 2024 · 9 comments
Closed
1 of 6 tasks

Error in console on any site - with shields enabled #40151

ddowie opened this issue Jul 31, 2024 · 9 comments

Comments

@ddowie
Copy link

ddowie commented Jul 31, 2024

Description

When site is loaded with shields enabled there is error in console:

VM99:10 Uncaught DOMException: Failed to execute 'insertRule' on 'CSSStyleSheet': Failed to parse the rule 'html[lang] > body#body > head" > div.cv-xwrapper > div.cvc > div.cv-inner{display:none !important;}'.
at :10:58
at Array.forEach ()
at :5:21
at :26:11

Script that gets executed with error is:
(function() { let nextIndex = window.content_cosmetic.cosmeticStyleSheet.rules.length; const selectors = ["a[href^=\"https://click.dtiserv2.com/\"]", "div[id^=\"st\"][style^=\"z-index: 999999999;\"]", "a[href^=\"http://premonitioninventdisagree.com/\"]", "a[href^=\"https://jaxofuna.com/\"]", "a[href^=\"https://go.xxxijmp.com\"]", "[data-rc-widget=\"data-rc-widget\"]", "a[href^=\"https://tour.mrskin.com/\"]", "a[href^=\"https://t.ajump1.com/\"]", "[data-revive-zoneid] > iframe", "a[href^=\"https://go.xlviiirdr.com\"]", "a[href^=\"https://go.admjmp.com\"]", "a[href^=\"https://track.1234sd123.com/\"]", "a[href^=\"https://t.adating.link/\"]", "a[href^=\"http://naggingirresponsible.com/\"]", "[onclick*=\"content.ad/\"]", "a[href^=\"https://engine.phn.doublepimp.com/\"]", "a[href^=\"https://www.privateinternetaccess.com/\"] > img", "a[href^=\"https://safesurfingtoday.com/\"][href*=\"?skip=\"]", "[href^=\"https://track.wg-aff.com/click\"]", "div[id*=\"MarketGid\"]", "a[href^=\"https://serve.awmdelivery.com/\"]", "a[href^=\"https://bngprm.com/\"]", "app-advertisement", "a[href^=\"http://stickingrepute.com/\"]", "[data-ad-manager-id]", "[src^=\"https://forum.picbaron.com/Banner\"]", "a[data-widget-outbrain-redirect^=\"http://paid.outbrain.com/network/redir?\"]", "a[href^=\"https://lijavaxa.com/\"]", "a[href^=\"https://prf.hn/click/\"][href*=\"/adref:\"] > img", "a[href^=\"https://torguard.net/aff.php\"] > img", "div[style^=\"z-index: 999999; background-image: url(\\\"data:image/gif;base64,\"][style$=\"position: absolute;\"]", "a[href^=\"//startgaming.net/tienda/\" i]", "a[href^=\"https://auesk.cfd/\"]", "div[id*=\"ScriptRoot\"]", "amp-embed[type=\"taboola\"]", "a[href^=\"https://softwa.cfd/\"]", "a[href^=\"https://www.adultempire.com/\"][href*=\"?partner_id=\"]", "a[href^=\"https://in.rabbtrk.com/\"]", "[data-advadstrackid]:not([style$=\"left: -10000px !important; top: -1000px !important;\"]):not(.adsbygoogle)", "div[class^=\"Display_displayAd\"]", "[class^=\"div-gpt-ad\"]", "[href^=\"https://zone.gotrackier.com/\"]", "a[href^=\"https://track.aftrk3.com/\"]", "a[href^=\"https://prf.hn/click/\"][href*=\"/creativeref:\"] > img", "a[href^=\"https://bngpt.com/\"]", "a[href^=\"https://click.candyoffers.com/\"]", "[href^=\"https://www.restoro.com/\"]", "[href=\"https://www.masstortfinancing.com/\"] > img", "span[data-ez-ph-id]", "a[href^=\"http://troopsassistedstupidity.com/\"]", "a[id][href=\"https://toolkitspro.com\"][rel^=\"noopener noreferrer\"]", "[class^=\"s2nPlayer\"]", "div[id^=\"adrotate_widgets-\"]", "a[href^=\"https://s.zlink3.com/\"]", "a[onclick=\"openAuc();\"]", "[href^=\"https://join.playboyplus.com/track/\"]", "div[id^=\"gpt_ad_\"]", "[href^=\"https://mypillow.com/\"] > img", "div[class$=\"player-promo-col\"]", "[href^=\"https://www.mypillow.com/\"] > img", "[onclick*=\"postlnk.com\"]", "a[href^=\"https://xbet-4.com/\"]", "[href^=\"https://bestbuyrdp.com/\"]", "[href^=\"https://turtlebids.irauctions.com/\"] img", "[href*=\"www.gaming-adult.com/\"]", "a[href^=\"https://ak.oalsauwy.net/\"]", "div[id^=\"google_dfp_\"]", "[href^=\"https://shiftnetwork.infusionsoft.com/go/\"] > img", "a[href*=\".cfm?domain=\"][href*=\"&fp=\"]", "[href^=\"https://glersakr.com/\"]", "[href^=\"https://www.targetingpartner.com/\"]", "a[href^=\"https://go.hpyrdr.com/\"]", "a[href^=\"https://s.ma3ion.com/\"]", "[href^=\"https://wct.link/click?\"]", "a[href^=\"https://maymooth-stopic.com/\"]", "[href^=\"//cadsecs.com/\"]", "[href^=\"https://antiagingbed.com/discount/\"] > img", "[data-type=\"ad-vertical\"]", "html[lang] > body#body > head\" > div.cv-xwrapper > div.cvc > div.cv-inner", "a[href^=\"https://mediaserver.gvcaffiliates.com/renderBanner.do?\"]", "iframe.lazyloaded[data-src^=\"https://rcm-fe.amazon-adsystem.com/\"]", "[onclick*=\"window.open('http://deloplen.com/\"]", "amp-ad", "a[href^=\"https://go.xxxiijmp.com\"]", "div[data-alias=\"300x250 Ad 2\"]", "a[href^=\"https://www.nutaku.net/signup/landing/\"]", "a[href^=\"https://www.friendlyduck.com/AF_\"]", "[data-d-ad-id]", "a[href^=\"https://pb-imc.com/\"]", "a[href^=\"https://go.rmhfrtnd.com/\"]", "[href=\"//xxxrevpushclcdu.com/app.webp\"]", "a[href^=\"https://a.bestcontentoperation.top/\"]", "ark-top-ad", "a[href^=\"https://postback1win.com/\"]", "a[href^=\"https://twinrdsrv.com/\"]", "a[href^=\"https://witnessjacket.com/\"]", "a[onmousedown^=\"this.href='https://paid.outbrain.com/network/redir?\"][target=\"_blank\"] + .ob_source", "AD-TRIPLE-BOX", "a[href^=\"https://sexynearme.com/\"]", "div[id^=\"pa_sticky_ad_box_middle_\"]", "[class^=\"adDisplay-module\"]", "a[href^=\"https://click.hoolig.app/\"]", "a[href^=\"https://m.do.co/c/\"] > img", "a[href^=\"https://play1ad.shop/\"]", "a[href^=\"https://clicks.pipaffiliates.com/\"]", "a[href^=\"https://a.bestcontentweb.top/\"]", "a[href^=\"https://traffdaq.com/\"]", "a[href^=\"https://losingoldfry.com/\"]", "a[href^=\"https://ads.betfair.com/redirect.aspx?\"]", "a[href^=\"https://go.xlvirdr.com\"]", "a[onmousedown^=\"this.href='http://paid.outbrain.com/network/redir?\"][target=\"_blank\"] + .ob_source", "a[href^=\"https://loboclick.com/\"]", "a[target=\"_blank\"][onmousedown=\"this.href^='http://paid.outbrain.com/network/redir?\"]", "div[id^=\"vuukle-ad-\"]", "div[data-adname]", "body > div[style$=\"z-index: 2147483647; top: 0px; left: 0px; position: fixed; display: block;\"]", "[data-desktop-ad-id]", "div[id^=\"div-gpt-\"]:not([style^=\"width: 1px; height: 1px; position: absolute; left: -10000px; top: -\"])", "[href^=\"https://mystore.com/\"] > img", "[href^=\"https://www.onclickperformance.com/\"]", "a[href^=\"http://www.h4trck.com/\"]", "[href^=\"https://wap4dollar.com/ad/nonadult/serve.php\"]", "[href^=\"https://optimizedelite.com/\"] > img", "a[href^=\"https://go.nordvpn.net/aff\"] > img", "a[href^=\"https://ab.advertiserurl.com/aff/\"]", "[href^=\"https://istlnkcl.com/\"]", "a[href][style=\"cursor:pointer;width:100%;height:100%;z-index:10000000000000000;position:absolute;top:0;left:0;\"]", "a[href^=\"https://zirdough.net/\"]", "a[href^=\"https://voluum.prom-xcams.com/\"]", "a[href^=\"https://bc.game/\"]", "a[href*=\".foxqck.com/\"]", "a[href^=\"https://join.virtuallust3d.com/\"]", "a[href^=\"https://quotationfirearmrevision.com/\"]", "a[href^=\"https://streamate.com/landing/click/\"]", "[href^=\"https://trk.clmbtrck.in/click\"]", "a[href^=\"http://com-1.pro/\"]", "a[href^=\"https://a.bestcontentfood.top/\"]", "a[href^=\"https://rixofa.com/\"]", "div[class^=\"native-ad-\"]", "[id^=\"ad_slider\"]", "[href=\"https://t.me/Russia_Vs_Ukraine_War3\"]", "[href^=\"//clk.afftracks.online/\"]", "a[href^=\"https://ngineet.cfd/\"]", "a[href^=\"https://go.xlviirdr.com\"]", "a[href^=\"https://go.etoro.com/\"] > img", "a[href^=\"http://www.friendlyduck.com/AF_\"]", "[href^=\"//look.utndln.com/offer\"]", "a[href^=\"https://ausoafab.net/\"]", "[href^=\"https://v.investologic.co.uk/\"]", "a[href^=\"https://6-partner.com/\"]", "[data-template-type=\"nativead\"]", "[href^=\"//mellowads.com/\"]", "amp-connatix-player", "a[href^=\"https://track.wg-aff.com\"]", "a[dontfo=\"\"][style$=\"position: absolute; z-index: 2147483647;\"]", "a[href^=\"https://www.brazzersnetwork.com/landing/\"]", "a[href^=\"https://go.bushheel.com/\"]", "a[href^=\"http://muzzlematrix.com/\"]", "[id^=\"ad-wrap-\"]", "a[href^=\"https://www.bang.com/?aff=\"]", "a[href^=\"https://pubads.g.doubleclick.net/\"]", "DFP-AD", "a[href^=\"https://www.adxsrve.com/\"]", "[class^=\"tile-picker__CitrusBannerContainer-sc-\"]", "a[href^=\"https://getmatchedlocally.com/\"]", "a[href^=\"https://datewhisper.life/\"]", "a[href^=\"https://get-link.xyz/\"]", "div[style=\"position: fixed; display: block; width: 100%; height: 100%; inset: 0px; background-color: rgba(0, 0, 0, 0); z-index: 300000;\"]", "[href*=\"passtechusa.com\"]", "div[id^=\"ad-position-\"]", "a[href^=\"https://playnano.online/offerwalls/?ref=\"]", "a[href^=\"https://bongacams10.com/track?\"]", "a[href^=\"http://www.iyalc.com/\"]", "a[href^=\"https://turnstileunavailablesite.com/\"]", "zeus-ad", "a[href^=\"https://go.trackitalltheway.com/\"]", "a[href^=\"https://81ac.xyz/\"]", "a[href^=\"https://ads.planetwin365affiliate.com/\"]", "a[href^=\"http://www.mrskin.com/tour\"]", "a[href^=\"https://static.fleshlight.com/images/banners/\"]", "a[href^=\"https://porntubemate.com/\"]", "a[href*=\"/jump/next.php?r=\"]", "[href^=\"https://www.safestcontentgate.com/\"]", "a[href^=\"https://track.adform.net/\"]", "a[id][href=\"https://chpadblock.com/\"][rel^=\"noopener noreferrer\"]", "a[href^=\"https://disobediencecalculatormaiden.com/\"]", "a[href^=\"https://kiksajex.com/\"]", "a[href^=\"https://www.dql2clk.com/\"]", "a[href^=\"https://pb-front.com/\"]", "a[href^=\"https://go.skinstrip.net\"][href*=\"?campaignId=\"]", "a[href^=\"https://financeads.net/tc.php?\"]", "[href^=\"https://routewebtk.com/\"]", "a[href*=\"//daichoho.com/\"]", "a[href^=\"https://fc.lc/ref/\"]", "a[href^=\"https://www.toprevenuegate.com/\"]", "[href^=\"https://buycheaphost.net/\"]", "a[href^=\"//go.eabids.com/\"]", "[data-testid=\"ad_testID\"]", "[class^=\"amp-ad-\"]", "div[id^=\"lazyad-\"]", "a[href^=\"https://vo2.qrlsx.com/\"]", "a[href^=\"https://startgaming.net/tienda/\" i]", "[href^=\"https://ilovemyfreedoms.com/landing-\"]", "[href^=\"https://join3.bannedsextapes.com\"]", "[href^=\"http://www.mypillow.com/\"] > img", "a[href^=\"https://www.onlineusershielder.com/\"]", "[data-ad-manager-id]:not([style$=\"left: -10000px !important; top: -1000px !important;\"]):not(.adsbygoogle)", "a[href^=\"https://trk.softonixs.xyz/\"]", "[href*=\"//agacelebir.com\"]", "[data-lnguri^=\"https://s3.amazonaws.com\"]", "[href^=\"//producebreed.com/\"]", "a[href^=\"https://track.ultravpn.com/\"]", "a[href^=\"https://camfapr.com/landing/click/\"]", "a[href^=\"https://banners.livepartners.com/\"]", "a[href^=\"https://billing.purevpn.com/aff.php\"] > img", "a[style=\"width:100%;height:100%;z-index:10000000000000000;position:absolute;top:0;left:0;\"]", "div[id^=\"dfp-ad-\"]", "a[href^=\"https://ndt5.net/\"]", "[src^=\"//dombnrs.com/\"]", "a[href^=\"https://lone-pack.com/\"]", "[href^=\"https://noqreport.com/\"] > img", "guj-ad", "a[href^=\"https://ads.leovegas.com/\"]", "a[href^=\"http://bongacams.com/track?\"]", "[href^=\"https://www.highperformancecpm.com/\"]", "a[href^=\"http://adtrack\"]", "[data-block-type=\"ad\"]", "a[href^=\"https://a.medfoodhome.com/\"]", "a[href^=\"http://adultfriendfinder.com/go/\"]", "a[href^=\"https://www.adskeeper.com\"]", "div[class^=\"Adstyled__AdWrapper-\"]", "a[href^=\"http://eighteenderived.com/\"]", "a[href^=\"https://ad.kubiccomps.icu/\"]", "a[href^=\"https://www.mypornstarcams.com/landing/click/\"]", "ps-connatix-module", "a[href^=\"https://ak.psaltauw.net/\"]", "div[id^=\"ad-div-\"]", "[href^=\"https://mylead.global/stl/\"] > img", "AD-SLOT", "[href^=\"https://popcash.net/\"]", "[data-adblockkey]:not([style$=\"left: -10000px !important; top: -1000px !important;\"]):not(html):not(.adsbygoogle)", "[data-name=\"adaptiveConstructorAd\"]", "a[href^=\"https://paid.outbrain.com/network/redir?\"]", "a[href^=\"https://go.grinsbest.com/\"]", "ins.adsbygoogle[data-ad-slot]", "[data-m-ad-id]", "a[href^=\"http://www.poweredbyliquidfire.mobi/\"]", "a[href^=\"https://go.markets.com/visit/?bta=\"]", "[data-ad-width]:not([style$=\"left: -10000px !important; top: -1000px !important;\"]):not(.adsbygoogle)", "a[href^=\"https://t.acam.link/\"]", "div[data-alias=\"300x250 Ad 1\"]", "[id^=\"section-ad-banner\"]", "div[id^=\"zergnet-widget\"]", "[href^=\"https://go.rdrjmp.com/\"]", "a[onmousedown^=\"this.href='http://paid.outbrain.com/network/redir?\"][target=\"_blank\"]", "a[href^=\"https://go.cmtaffiliates.com/\"]", "a[href^=\"https://intenseaffiliates.com/redirect/\"]", "[href^=\"https://fireads.online/\"]", "a[href^=\"https://bodelen.com/\"]", "ins.adsbygoogle[data-ad-client]", "[data-identity=\"adhesive-ad\"]", "a[href^=\"https://s.optzsrv.com/\"]", "div[id^=\"yandex_ad\"]", "a[href^=\"https://www.kingsoffetish.com/tour?partner_id=\"]", "div[data-dfp-id]", "a[href^=\"https://pb-track.com/\"]", "[href^=\"//taghaugh.com/\"]", "a[href^=\"https://lnkxt.bannerator.com/\"]", "app-large-ad", "[data-ad-module]:not([style$=\"left: -10000px !important; top: -1000px !important;\"]):not(.adsbygoogle)", "a[href^=\"https://www.goldenfrog.com/vyprvpn?offer_id=\"][href*=\"&aff_id=\"]", "a[href^=\"https://hotplaystime.life/\"]", "a[href^=\"http://annulmentequitycereals.com/\"]", "[data-mobile-ad-id]", "[href^=\"https://mypatriotsupply.com/\"] > img", "[data-id^=\"div-gpt-ad\"]", "[href^=\"https://t.mobtyb.com/\"]", "a[href^=\"https://www.sugarinstant.com/?partner_id=\"]", "[href^=\"http://referrer.website/\"]", "div[id^=\"div-ads-\"]", "a[href^=\"https://clickadilla.com/\"]", "a[href^=\"https://t.hrtye.com/\"]", "[href*=\"postlnk.com\"]", "bottomadblock", "a[href^=\"https://datingoffers30.info/\"]", "a[href^=\"https://www.sheetmusicplus.com/\"][href*=\"?aff_id=\"]", "[href^=\"https://affiliate.fastcomet.com/\"] > img", "[href^=\"https://pl.allsports4free.club/\"]", "a[href*=\"/go.php?a_aid=\"]", "[data-dynamic-ads]", "[data-adblockkey]", "a[href^=\"https://black77854.com/\"]", "[id^=\"div-gpt-ad\"]", "[href=\"//sexcams.plus/\"]", "[onclick^=\"location.href='https://1337x.vpnonly.site/\"]", "a[href^=\"https://explore-site.com/\"]", "a[href^=\"https://chaturbate.com/in/?\"]", "a[href^=\"https://go.mnaspm.com/\"]", "a[href^=\"http://revolvemockerycopper.com/\"]", "a[href^=\"https://trk.sportsflix4k.club/\"]", "[href^=\"https://join.girlsoutwest.com/\"]", "div[id^=\"adspot-\"]", "[href^=\"https://buycheaprdp.com/\"]", "[href^=\"http://mypillow.com/\"] > img", "div[id^=\"taboola-stream-\"]", "a[href^=\"https://natour.naughtyamerica.com/track/\"]", "a[href^=\"https://tracker.loropartners.com/\"]", "a[href^=\"https://mmwebhandler.aff-online.com/\"]", "div[id^=\"sticky_ad_\"]", "[href^=\"luvaihoo.com\"]", "a[href^=\"http://handgripvegetationhols.com/\"]", "[class^=\"div-gpt-ad\"]:not([style^=\"width: 1px; height: 1px; position: absolute; left: -10000px; top: -\"])", "a[onmousedown^=\"this.href='https://paid.outbrain.com/network/redir?\"][target=\"_blank\"]", "a[data-redirect^=\"https://paid.outbrain.com/network/redir?\"]", "a[href^=\"https://land.brazzersnetwork.com/landing/\"]", "a[href*=\"&maxads=\"]", "a[href^=\"https://activate-game.com/\"]", "a[href^=\"http://eslp34af.click/\"]", "[href=\"https://jdrucker.com/gold\"] > img", "a[href^=\"https://snowdayonline.xyz/\"]", "a[href^=\"https://tatrck.com/\"]", "display-ads", "[href^=\"https://go.smljmp.com/\"]", "a[href^=\"http://coefficienttolerategravel.com/\"]", "[href^=\"https://www.avantlink.com/click.php\"] img", "a[href^=\"https://iqbroker.com/\"][href*=\"?aff=\"]", "a[href^=\"https://t.ajrkm1.com/\"]", "ad-slot", "a[href^=\"http://tc.tradetracker.net/\"] > img", "a[data-oburl^=\"https://paid.outbrain.com/network/redir?\"]", "[href=\"https://ourgoldguy.com/contact/\"] img", "div[id^=\"crt-\"][style]", "a[href^=\"https://golinks.work/\"]", "a[href^=\"https://go.xxxvjmp.com/\"]", "div[class^=\"kiwi-ad-wrapper\"]", "a[href^=\"https://itubego.com/video-downloader/?affid=\"]", "a[href^=\"https://www.dating-finder.com/?ai_d=\"]", "a[href^=\"https://www.get-express-vpn.com/offer/\"]", "div[style=\"position:fixed;inset:0px;z-index:999999;height:100%;width:100%\"]", "a[href^=\"https://landing1.brazzersnetwork.com\"]", "a[href^=\"https://go.hpyjmp.com\"]", "a[id][href=\"https://hamrocsit.com\"][rel^=\"noopener noreferrer\"]", "a[href^=\"https://track.afcpatrk.com/\"]", "a[href^=\"https://www.geekbuying.com/dynamic-ads/\"]", "a[href^=\"https://engine.flixtrial.com/\"]", "a[href^=\"https://upsups.click/\"]", "a[href*=\".engine.adglare.net/\"]", "div[data-ad-placeholder]", "div[class*=\"displayAdRight\"]", "div[data-adunit]", "a[href^=\"https://aweptjmp.com/\"]", "a[href^=\"https://www.infowarsstore.com/\"] > img", "a[href^=\"http://deskfrontfreely.com/\"]", "a[href^=\"https://myclick-2.com/\"]", "a[href^=\"https://landing.brazzersnetwork.com/\"]", "a[href^=\"https://cams.imagetwist.com/in/?track=\"]", "a[href^=\"https://clixtrac.com/\"]", "a[href^=\"https://www8.smartadserver.com/\"]", "div[id^=\"optidigital-adslot\"]", "a[href^=\"https://go.strpjmp.com/\"]", "a[href^=\" https://www.friendlyduck.com/AF_\"]", "div[id^=\"div-gpt-\"]", "a[href^=\"https://mediaserver.entainpartners.com/renderBanner.do?\"]", "a[href^=\"https://syndication.dynsrvtbg.com/\"]", "a[href^=\"https://t.ajrkm3.com/\"]", "[href^=\"https://www.hostg.xyz/\"] > img", "[name^=\"google_ads_iframe\"]", "a[href^=\"https://engine.blueistheneworanges.com/\"]", "a[href^=\"https://a2.adform.net/\"]", "div[id^=\"rc-widget-\"]", "a[href^=\"https://random-affiliate.atimaze.com/\"]", "citrus-ad-wrapper", "a[href^=\"https://go.xlivrdr.com\"]", "a[href*=\"//jjgirls.com/sex/Chaturbate\"]", "a[href^=\"https://go.xtbaffiliates.com/\"]", "a[href^=\"https://italarizege.xyz/\"]", "div[style=\"position: fixed; inset: 0px; z-index: 2147483647; pointer-events: auto;\"]", "a[href^=\"http://www.adultempire.com/unlimited/promo?\"][href*=\"&partner_id=\"]", "a[href^=\"https://tc.tradetracker.net/\"] > img", "a-ad", "[href^=\"https://klsdee.com/\"]", "a[href^=\"https://www.nudeidols.com/cams/\"]", "[data-lnguri*=\"vipbox\"]", "a[href^=\"https://syndication.exoclick.com/\"]", "[data-ad-cls]", "div[style^=\"position: fixed; inset: 0px; z-index: 2147483647; background: black; opacity: 0.01\"]", "a[href^=\"https://get.surfshark.net/aff_c?\"][href*=\"&aff_id=\"] > img", "a[href^=\"//s.st1net.com/splash.php\"]", "span[id^=\"ezoic-pub-ad-placeholder-\"]", "a[href^=\"https://www.highperformancecpmgate.com/\"]", "[href=\"https://masstortfinancing.com\"] img", "[href^=\"https://goldcometals.com/clk.trk\"]", "a[href^=\"https://syndication.optimizesrv.com/\"]", "div#spot-holder.spot-holder[style=\"display: block;\"]", "[href^=\"https://freecourseweb.com/\"] > .sitefriend", "a[href^=\"https://go.xxxjmp.com\"]", "a[href*=\".adsrv.eacdn.com/\"]", "[data-adshim]", "a[href^=\"https://a.medfoodsafety.com/\"]", "a[href^=\"https://www.purevpn.com/\"][href*=\"&utm_source=aff-\"]", "div[id^=\"adngin-\"]", "[href^=\"https://cpa.10kfreesilver.com/\"]", "[href^=\"https://pl.allsports4u.club/\"]", "a[href^=\"https://a-ads.com/\"]", "a[href^=\"https://www.bet365.com/\"][href*=\"affiliate=\"]", "a[href^=\"http://li.blogtrottr.com/click?\"]", "a[href^=\"https://gml-grp.com/\"]", "[href^=\"https://dl-protect.net/get-premium-url\"]", "a[href^=\"https://bs.serving-sys.com\"]", "aside[id^=\"adrotate_widgets-\"]", "[data-role=\"tile-ads-module\"]", "a[href^=\"http://www.adultdvdempire.com/?partner_id=\"][href*=\"&utm_\"]", "a[href^=\"https://syndication.exdynsrv.com/splash.php\"]", "a[href^=\"https://syndicate.contentsserved.com/\"]", "a[href^=\"https://a.adtng.com/\"]", "[href*=\"/afu.php\"]", "amp-ad-custom", "a[href^=\"https://www.mrskin.com/tour\"]", "a[href^=\"https://leg.xyz/?track=\"]", "a[href^=\"https://go.goaserv.com/\"]", "topadblock", "a[href^=\"https://eergortu.net/\"]", "a[href^=\"https://www.liquidfire.mobi/\"]", "a[href^=\"https://ctosrd.com/\"]", "a[href^=\"https://t.aslnk.link/\"]", "a[href^=\"https://offhandpump.com/\"]", "[data-adbridg-ad-class]", "a[href^=\"//s.zlinkd.com/\"]", "[href^=\"https://go.xlrdr.com\"]", "[href^=\"https://www.mypatriotsupply.com/\"] > img", "a[href^=\"https://www.endorico.com/Smartlink/\"]", "a[href^=\"http://partners.etoro.com/\"]", "a[data-obtrack^=\"http://paid.outbrain.com/network/redir?\"]", "atf-ad-slot", "a[href^=\"https://combodef.com/\"]", "app-ad", "[href=\"https://clickaine.com\"]", "a[href^=\"https://gamingadlt.com/?offer=\"]", "a[href^=\"https://cam4com.go2cloud.org/\"]", "div[style=\"font-size: 15px; color: white; background-color: rgba(0, 0, 0, 0); cursor: pointer; position: absolute; width: 100%; height: 100%; padding: 1rem; z-index: 2147483647;\"]", "AMP-AD", "[href^=\"https://ap.octopuspop.com/click/\"] > img", "[href^=\"http://clicks.totemcash.com/\"]", "div[data-ad-wrapper]", "[data-wpas-zoneid]", "[data-ad-module]", "a[data-href^=\"http://ads.trafficjunky.net/\"]", "div[id^=\"ad_position_\"]", "[id^=\"div-gpt-ad\"]:not([style^=\"width: 1px; height: 1px; position: absolute; left: -10000px; top: -\"])", "[href^=\"https://exi8ef83z9.com/\"]", "div[data-adzone]", "a[href^=\"https://linkboss.shop/\"]", "div[aria-label=\"Ads\"]", "[data-freestar-ad][id]", "a[href^=\"https://join.virtualtaboo.com/track/\"]", "a[href^=\"https://slkmis.com/\"]", "a[href^=\"https://chaturbate.jjgirls.com/?track=\"]", "[href^=\"https://adult.xyz/\"]", "[data-advadstrackid]", "a[href^=\"https://tm-offers.gamingadult.com/\"]", "a[href^=\"https://bongacams2.com/track?\"]", "a[href^=\"http://dragfault.com/\"]", "a[href^=\"https://www.googleadservices.com/pagead/aclk?\"]", "a[href^=\"http://cam4com.go2cloud.org/aff_c?\"]", "[data-css-class=\"dfp-inarticle\"]", "a[href^=\"https://s.deltraff.com/\"]", "hl-adsense", "[href^=\"https://clicks.affstrack.com/\"] > img", "a[href^=\"https://awptjmp.com/\"]", "a[href^=\"https://adultfriendfinder.com/go/\"]", "a[href^=\"https://trk.nfl-online-streams.club/\"]", "a[href^=\"https://hot-growngames.life/\"]", "a[href^=\"https://fastestvpn.com/lifetime-special-deal?a_aid=\"]", "div[data-id-advertdfpconf]", "[href^=\"https://rapidgator.net/article/premium/ref/\"]", "a[href^=\"https://www.financeads.net/tc.php?\"]", "div[data-native_ad]", "[href^=\"https://www.onclickmega.com/\"]", "[data-rc-widget]", "a[href^=\"http://trk.globwo.online/\"]", "a[href*=\".click/?z=\"][href*=\"&n\"]", "amp-fx-flying-carpet", "a[href^=\"http://dragnag.com/\"]", "html[lang] > body#body > head\" > div.cvh.BlockClicksActivityBusy", "[href^=\"https://awbbjmp.com/\"]", "a[href^=\"https://prf.hn/click/\"][href*=\"/camref:\"] > img", "a[href^=\"https://juicyads.in/\"]", "a[href^=\"https://ad.zanox.com/ppc/\"] > img", "[data-ad-name]", "[href^=\"https://cluttercallousstopped.com/\"]", "a[href^=\"https://1betandgonow.com/\"]", "a[href^=\"https://adclick.g.doubleclick.net/\"]", "div[style=\"top: 0px; left: 0px; width: 1287px; height: 500px; position: fixed; z-index: 2147483647;\"]", "[href^=\"https://www.herbanomic.com/\"] > img", "[data-ad-width]", "gpt-ad", "a[href*=\".g2afse.com/\"]", "[data-testid=\"prism-ad-wrapper\"]", "a[href^=\"https://claring-loccelkin.com/\"]", "a[href^=\"https://join.sexworld3d.com/track/\"]", "[href*=\"uselnk.com/\"]", "[href^=\"https://ad.admitad.com/\"]", "[href^=\"https://track.aftrk1.com/\"]", "a[href^=\"https://go.tmrjmp.com\"]", "[href^=\"https://zstacklife.com/\"] img", "[href^=\"https://www.profitablegatecpm.com/\"]", "[id^=\"ad_sky\"]", "div[data-native-ad]", "[href^=\"https://www.reimageplus.com/\"]", "a[href^=\"https://go.dmzjmp.com\"]", "a[href^=\"https://clickins.slixa.com/\"]", "[data-ez-name]", "div[data-contentexchange-widget]", "a[href^=\"https://tracking.avapartner.com/\"]", "a[href^=\"https://track.totalav.com/\"]", "[data-testid=\"adBanner-wrapper\"]", "[class^=\"DisplayAd\"]", "[href^=\"//ad.jetx.info/\"]", "a[href^=\"https://lobimax.com/\"]", "a[href^=\"https://dl-protect.net/\"]", "a[href^=\"https://ismlks.com/\"]", "a[href^=\"https://a.candyai.love/\"]", "a[href^=\"https://getvideoz.click/\"]", "a[href^=\"https://s.zlinkd.com/\"]", "a[href^=\"https://ak.hauchiwu.com/\"]", "div[style^=\"position:fixed;inset:0px;z-index:2147483647;background:black;opacity:0.01\"]", "a[href^=\"https://l.hyenadata.com/\"]", "a[href^=\"http://guestblackmail.com/\"]", "a[href^=\"http://avthelkp.net/\"]", "[href^=\"https://charmingdatings.life/\"]", "div[data-adunit-path]", "[href^=\"https://www.brighteonstore.com/products/\"] img", "a[href^=\"https://click.linksynergy.com/fs-bin/\"] > img", "a[href^=\"https://go.xlirdr.com\"]", "a[href^=\"https://svb-analytics.trackerrr.com/\"]", "ad-shield-ads", "img[src^=\"https://images.purevpnaffiliates.com\"]", "[data-uri^=\"https://s3.amazonaws.com\"]", "display-ad-component", "a[href^=\"https://ad.doubleclick.net/\"]", "[href^=\"https://www.cloudways.com/en/?id\"]", "a[href^=\"https://www.dating-finder.com/signup/?ai_d=\"]", "div[id^=\"ezoic-pub-ad-\"]", "a[href^=\"https://www.mrskin.com/account/\"]", "a[href^=\"https://lead1.pl/\"]", "a[href^=\"https://ctjdwm.com/\"]", "div[data-ad-targeting]", "[href^=\"https://track.fiverr.com/visit/\"] > img", "div[style*=\"box-shadow: rgb(136, 136, 136) 0px 0px 12px; color: \"]", "a[href^=\"https://www.highcpmrevenuenetwork.com/\"]", "div[id][style^=\"position: fixed; inset: 0px; z-index: 2147483647; background: black\"][style*=\"opacity: 0.01\"]", "a[data-url^=\"http://paid.outbrain.com/network/redir?\"] + .author", "a[href^=\"https://123-stream.org/\"]", "a[href^=\"https://join.dreamsexworld.com/\"]", "[data-taboola-options]"]; selectors.forEach(selector=>{ if ((typeof selector === 'string') && (window.content_cosmetic.hide1pContent || !window.content_cosmetic.allSelectorsToRules.has(selector))) { let rule = selector + '{display:none !important;}'; window.content_cosmetic.cosmeticStyleSheet.insertRule(${rule}, nextIndex); if (!window.content_cosmetic.hide1pContent) { window.content_cosmetic.allSelectorsToRules.set(selector, nextIndex); window.content_cosmetic.firstRunQueue.add(selector); } nextIndex++; } } ); if (!document.adoptedStyleSheets.includes(window.content_cosmetic.cosmeticStyleSheet)) { document.adoptedStyleSheets = [window.content_cosmetic.cosmeticStyleSheet, ...document.adoptedStyleSheets]; } ; } )();

Steps to reproduce

It happens on every page load. Even in empty HTML.

Actual result

`


VM99:10
Uncaught DOMException: Failed to execute 'insertRule' on 'CSSStyleSheet': Failed to parse the rule 'html[lang] > body#body > head" > div.cv-xwrapper > div.cvc > div.cv-inner{display:none !important;}'.
at <anonymous>:10:58
at Array.forEach (<anonymous>)
at <anonymous>:5:21
at <anonymous>:26:11

  (anonymous) @ VM99:10
  (anonymous) @ VM99:5
  (anonymous) @ VM99:26

`

Expected result

page load without error

Reproduces how often

Easily reproduced

Brave version (brave://version info)

OS: Ubuntu 22.04.4 LTS
Brave version: Version 1.68.128 Chromium: 127.0.6533.73 (Official Build) (64-bit)

Channel information

  • release (stable)
  • beta
  • nightly

Reproducibility

  • with Brave Shields disabled
  • with Brave Rewards disabled
  • in the latest version of Chrome

Miscellaneous information

rule 'html[lang] > body#body > head"
It looks to me that problem is double quote at the end of rule. Where does these rules get loaded from? Brave server or are those rules already inside brave package?

@neoteknic
Copy link

neoteknic commented Jul 31, 2024

Same bug on windows 11 with fresh install without any settings import.

@Nividica
Copy link

Nividica commented Jul 31, 2024

Just noticed this today while working a local Angular project.

Brave Info

  • Version 1.68.131 Chromium: 127.0.6533.73 (Official Build) (64-bit)
  • Shields Up

Error:

Failed to execute 'insertRule' on 'CSSStyleSheet':
  Failed to parse the rule 'html[lang] > body#body > head" > div.cvh.BlockClicksActivityBusy{display:none !important;}'

Repro:

It does appear there is a stray double-quote after head

Related closed issue: #40025

Edit:

I threw together a check on the selectors array in the IIFE to find odd numbers of escaped double-quotes
selectors.filter((s)=>(s.match(/\"/g)?.length ?? 0 % 2) === 1)
And two selectors matched:

  • html[lang] > body#body > head\" > div.cv-xwrapper > div.cvc > div.cv-inner
  • html[lang] > body#body > head\" > div.cvh.BlockClicksActivityBusy

@midnight-wonderer
Copy link

midnight-wonderer commented Jul 31, 2024

The problem is

So the output javascript reads:

const selectors = [ // simplified
  "html[lang] > body#body > head\" > div.cv-xwrapper > div.cvc > div.cv-inner",
  "html[lang] > body#body > head\" > div.cvh.BlockClicksActivityBusy",
];

Instead of:

const selectors = [ // escaped properly
  "html[lang] > body#body > head\\\" > div.cv-xwrapper > div.cvc > div.cv-inner",
  "html[lang] > body#body > head\\\" > div.cvh.BlockClicksActivityBusy",
];

Potential solution

Edit the build script so it escapes the character properly.

@midnight-wonderer
Copy link

Ping: @antonok-edm, @bcaller
Guessing this is relevant to you based on recent merges.

@dacioAlvira
Copy link

I discovered the same bug, i thought that it was an adware injecting JS.

@antonok-edm
Copy link
Collaborator

thanks all for the reporting!

We've just pushed out a change that might help - can you visit brave://components, update Brave Ad Block Updater to version 1.0.7178 or later, and let me know if that fixed it?

@midnight-wonderer
Copy link

Can you visit brave://components, update Brave Ad Block Updater to version 1.0.7178 or later, and let me know if that fixed it?

Yes! That's did it for me; thanks.
TIL: another Brave's hidden page

@antonok-edm
Copy link
Collaborator

Awesome, thanks!

I'll also make sure this can't happen again if another malformed filter turns up. Will be tracking that progress in #40177.

@ShivanKaul
Copy link
Collaborator

Can you visit brave://components, update Brave Ad Block Updater to version 1.0.7178 or later, and let me know if that fixed it?

Yes! That's did it for me; thanks. TIL: another Brave's hidden page

FWIW you can update all the lists by pressing Update lists in brave://settings/shields/filters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants