Answer the question
In order to leave comments, you need to log in
How to cancel the filter action in Ublock Origin?
on one site, an anti adblock script is installed that checks the display of the element:
<div id="ad-banner" class="ad-banner" style="height: 5px; width: 5px; position: absolute; top: 0;"></div>
var adBlock = $('#ad-banner');
if (adBlock.filter(':visible').length === 0 ||
adBlock.filter(':hidden').length > 0 ||
adBlock.height() === 0) { ...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question