Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jquery error never seen before

i am developing a php web app and it was working correctly. I worked with ajax and javascript the whole day and everything was ok (even in the console log), but this evening I re-opened the console and appeared this error

Error in event handler for (unknown): SyntaxError: Failed to execute 'insertRule' on 'CSSStyleSheet': Failed to parse the rule '::content a[href^="http://www.gamebookers.com/cgi-bin/intro.cgi?], ::content #adsensempu, ::content .mpu-top-left-banner, ::content .moduletable-advert, ::content #nib-ad, ::content #toppannonse, ::content .icon-advertise, ::content #outbrain-paid, ::content .header--ad-space, ::content .google_add, ::content #iframead-300x250, ::content #adbrite_inline_div, ::content .adv_top, ::content #upperAdvertisementImg, ::content #ksperAD, ::content #adsdiv, ::content .TopAds, ::content #ad_300x60, ::content .ad-in-post, ::content #bottomAdSenseDiv { display: none !important; }'.
at chrome-extension://cfhdojbkjhnklbpkdaibdccddilifddb/include.preload.js:345:25

I have never seen it before. Does anyone know how to fix it? Thank you.

like image 514
user3712139 Avatar asked Mar 14 '23 11:03

user3712139


1 Answers

I just found this in my chrome browser, as well, and it seems to occur in all tabs, no matter the website. If you go to the file in question

chrome-extension://cfhdojbkjhnklbpkdaibdccddilifddb/include.preload.js:345:25

you'll find that it belongs to adblock plus. I'm guessing that there was an update in the plugin that is causing it to fail on the mentioned method:

CSSStyleSheet.insertRule()

This will hopefully be fixed by the developer, but, in the meantime, disabling adblock plus on the site will resolve the issue.

like image 60
Informagician Avatar answered Mar 23 '23 15:03

Informagician