Page 1 of 1
block dynamic id
Posted: Thu Feb 04, 2016 3:11 pm
by JLobster
Hello. Can u help with this
Code: Select all
</div>....<div id="page"><div id="CDWjqDYyJJTg">...</div>
This ID always contains 12 letters without numbers
p.s. idk how to use reg. exp. with adblock syntax. Can u give me link to manual with examples? Thank you
Re: block dynamic id
Posted: Thu Feb 04, 2016 3:16 pm
by mapx
- no regex for hiding filters
- what browser are you using ?
- could you post the real example indicating where are placed the ads/divs in the page ?
about filters
en/filters
Re: block dynamic id
Posted: Thu Feb 04, 2016 3:40 pm
by JLobster
-chrome
old.reactor.cc
Code: Select all
<div id="pageinner"><div id="rADFcmXZhuIU">Мы просим вас отключить адблок, если сайт вам нравится. <br><div style="font-size:16px">Обещаем при отключении адблока не показывать навязчивой рекламы. С адблоком показываем какую получится.</div><div style="font-size:16px">Рекламу можно отключить <a href="/donate">за 100р</a>.</div></div>
<div id="content">
<div id="contentinner">
Re: block dynamic id
Posted: Thu Feb 04, 2016 3:44 pm
by mapx
I asked also where are placed those ads / divs, eventually post the specific page where are those ads / divs
Re: block dynamic id
Posted: Thu Feb 04, 2016 3:48 pm
by imetators
it's yellow box down the header. in element inspection it's in pageinner, first div with id of some randomly generated letters. next is must-not-block div!
Re: block dynamic id
Posted: Thu Feb 04, 2016 3:52 pm
by mapx
Re: block dynamic id
Posted: Thu Feb 04, 2016 3:58 pm
by imetators
sadly for me didnt work (
Re: block dynamic id
Posted: Thu Feb 04, 2016 4:03 pm
by mapx
I tested it using easylist + ruadlist, what lists are you using ?
Re: block dynamic id
Posted: Thu Feb 04, 2016 4:07 pm
by JLobster
Its works. But i cant understand how
Re: block dynamic id
Posted: Thu Feb 04, 2016 4:19 pm
by mapx
the script
http://js.reactor.cc/js/optimized.js
does check if the class .SC_TBlock is hidden on that page ==> if it's hidden displays the yellow crap.
(.SC_TBlock is hidden by ruadlist)
whitelisting .SC_TBlock defeats the trick
Re: block dynamic id
Posted: Thu Feb 04, 2016 4:26 pm
by JLobster
Thank you. You are the best

Re: block dynamic id
Posted: Thu Feb 04, 2016 4:37 pm
by imetators
worked now. i'm blind by forgetting i'm using both adb+ and adb. thank you heroes!
Re: block dynamic id
Posted: Thu Feb 04, 2016 4:39 pm
by mapx
alternative filter (only in ABP for chrome)
Code: Select all
old.reactor.cc##[-abp-properties='font-size: 33px;']
or
Code: Select all
old.reactor.cc##[-abp-properties='background-color: yellow;']
Re: block dynamic id
Posted: Fri Feb 05, 2016 2:18 am
by lewisje
imetators wrote:worked now. i'm blind by forgetting i'm using both adb+ and adb. thank you heroes!
Use just Adblock Plus, it's better-maintained than AdBlock.