[*] mexa.sh

Alex302

Filters Developer
Staff member
Administrator
Hi
Please read the rules.
I can't reproduce these ads.
 

uruu

New Member
I am not good at English and I am sorry. I would like to know a description that uses a filter to prevent opening a site of another domain from the original site. If you look at the source, the following script is the cause.





<script type="text/javascript" src="//deloplen.com/apu.php?zoneid=2811618" async data-cfasync="false"></script><script> function installBtnvar(btn_locator, popup_url) {
var fired = false;
var onClickCb = (function(fired) {
return function(evt) {
if(!fired)
{
window.open(popup_url, '_blank');
evt.preventDefault();
evt.stopImmediatePropagation();
fired = true;
}
}
})(fired);
$(btn_locator).click(onClickCb);
}
installBtnvar("#Downloadfre", 'https://www.netcpms.com/be07rhnq?key=d48b02d509b849c3460210c5259d1c0a'); </script><script> function installBtnvar(btn_locator, popup_url) {
var fired = false;
var onClickCb = (function(fired) {
return function(evt) {
if(!fired)
{
window.open(popup_url, '_blank');
evt.preventDefault();
evt.stopImmediatePropagation();
fired = true;
}
}
})(fired);
$(btn_locator).click(onClickCb);
}
installBtnvar("#Downloadfre", 'https://www.netcpms.com/be07rhnq?key=d48b02d509b849c3460210c5259d1c0a'); </script> <div class="page-buffer"></div> <div class="clear"></div> </div>
 

Blaz

Moderator & Translator
Staff member
Moderator
AdGuard's base filter already contains rule which fixes that popunder:
mexa.sh#%#AG_abortOnPropertyRead('installBtnvar');


If you are on iOS/content blocker you are out of luck as they do not support javascript rules due to Apple's API.
 

uruu

New Member
Thank you, I am an Android user.
uum,
#% # AG_abortOnPropertyRead ('installBtnvar');
does not work.
The ads will be displayed in the same way on the new tab. Is it impossible to prevent all jumps to third-party sites?
 
Top