I am developing a ads blocker script and I have placed a div with classes like this =
<div id="detect" class="ad ads adsbox ad-placement doubleclick ad-placeholder ad-badge"></div>
If ads blocker is present on the browser then it will make the css attributes display none by the browser.
So here I want to check if this class is displayed or not on the browser. If the class is displayed then I want to show text that says ads blocker not available and if the div element is hidden with none properties with ads blocker extension does then we will display ads blocker is present text.
How can I detect the property of display: none !important; this attribute with javascript?