Ads Blocker & Anti Ads Blocker & Anti Adblock Killer - NETSEC

Latest

Learning, Sharing, Creating

Cybersecurity Memo

Wednesday, November 2, 2022

Ads Blocker & Anti Ads Blocker & Anti Adblock Killer

.This post lists all kinds ways to block ads or anti-block-ads



https://antiblock.org/


https://antiblock.org/?p=v3



Ads Blocker

AD Blocker Test:

https://d3ward.github.io/toolz/adblock.html


AD Blocker Plug-ins:
ABP


Adblock Plus


uBlock Origin






Anti Ads Blocker




Method 1: Google AD Manager
https://admanager.google.com/



Method 2: using a script generated online

https://blockadblock.com/



Method 3:

https://www.antiadblock.com/




Method 4: For Wordpress



Anti Adblock Killer


https://reek.github.io/anti-adblock-killer/







Detect Adblocker    

 https://www.detectadblock.com/

All block lists include a reference to "adex.js" because it's a common name for JavaScript files that are associated with serving ads. Knowing this, save the following JavaScript code which creates a hidden div to a file called "adex.js" and place it in the root directory of your website.

var e=document.createElement('div');
e.id='eNmOUiSgyxfM';
e.style.display='none';
document.body.appendChild(e);

Note: the obscure div id is to ensure that it doesn't conflict with any other div's that your website might use.



Style 1 : shows in the middle to block some webpage view.

<style>
#iaMFGndsgOhR {
display: none;
top: 50%;
left: 50%;
width: 50em;
height: 25em;
margin-top: -20em;
margin-left: -20em;
border: 1px solid #666;
background: #D30000;
position: fixed;
margin-bottom: 30px;
padding: 20px 10px;
font-size: large;
text-align: center;
font-weight: bold;
color: #fff;
border-radius: 5px;
}
</style>

<div id="iaMFGndsgOhR">
<br>
  Our website is made possible by displaying online advertisements to our visitors.<br><br><br>
  Please consider supporting us by disabling your ad blocker.<br><br><br>
  Please turn off your Adsblocker to support 51sec!<br><br><br>
  Thank you!<br><br>
  51sec.org!
</div>

<script src="https://51sec.org/adex.js" type="text/javascript"></script>
<script type="text/javascript">

if(!document.getElementById('eNmOUiSgyxfM')){
document.getElementById('iaMFGndsgOhR').style.display='block'; } </script>



Style 2: Shows at the location you put the code. 
If you put at the beginning of the body, it will be at the top of page. 
If you put at the bottom of the body, it will show at the bottom.

<style>
#iaMFGndsgOhR {
display: none;
margin-bottom: 30px;
padding: 20px 10px;
background: #D30000;
text-align: center;
font-weight: bold;
color: #fff;
border-radius: 5px;
}
</style>
<div id="iaMFGndsgOhR">
<br>
  Our website is made possible by displaying online advertisements to our visitors.<br>
  Please consider supporting us by disabling your ad blocker. 51sec.org!
</div>

<script src="https://51sec.org/adex.js" type="text/javascript"></script>
<script type="text/javascript">

if(!document.getElementById('eNmOUiSgyxfM')){
  document.getElementById('iaMFGndsgOhR').style.display='block';
}

</script>




References











 

No comments:

Post a Comment