WSN AdUnblocker
Installing to a WordPress Website
If your site runs WordPress, follow these steps:
- Open wsnadunblockerforwordpress.php and set the configuration as you desire in the configuration area at the top.
- Upload the wsnadunblockerforwordpress.php file to wp-content/plugins/
- Login to your wordpress admin panel, go to the plugins page and click to activate the WSN AdUnblocker plugin there.
Installing to a WSN Website
WSN AdUnblocker is included standard in all WSN scripts since version 10.0. Simply make sure your installation is up to date and go to Admin Panel -> Revenue -> Adblock Prevention.
Installing to Another Script
To install WSN AdUnblocker to a website running any other script, first find the wrapper or header template for the script (via the script's admin panel or file system -- you may need to ask their support if unsure where it is). Or to install to a plain HTML page, open the HTML in your source editor. Then follow these steps:
- Open wsnadunblocker.js in a text editor and set the configuration as you desire in the configuration area at the top.
- If your website currently has neither jQuery nor jQuery UI, insert the following above the </head> tag:
<script type="text/javascript" src="//code.jquery.com/jquery-1.11.3.min.js"></script>
<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/cupertino/jquery-ui.min.css" id="theme">
<script type="text/javascript" src="//code.jquery.com/ui/1.11.3/jquery-ui.min.js"></script>
If cyan doesn't match your site's color scheme, replace cupertino with another theme name from http://jqueryui.com/themeroller/ in the above.
- If your website currently has jQuery but not jQuery UI, insert the following above the </head> tag:
<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/cupertino/jquery-ui.min.css" id="theme">
<script type="text/javascript" src="//code.jquery.com/ui/1.11.3/jquery-ui.min.js"></script>
<script type="text/javascript" src="wsnadunblocker.js"></script>
If cyan doesn't match your site's color scheme, replace cupertino with another theme name from http://jqueryui.com/themeroller/ in the above. If your site has subdirectories or subdomains, add your full domain name in front of wsnadunblocker.js like http://www.yoursite.com/wsnadunblocker.js.
- If your website already has both jQuery and jQuery UI, insert the following above the </head> tag:
<script type="text/javascript" src="wsnadunblocker.js"></script>
If your site has subdirectories or subdomains, add your full domain name in front of wsnadunblocker.js like http://www.yoursite.com/wsnadunblocker.js.
- Below <body> or above </body>, insert <div id="toprightad"><div id="addisplay1" class="adslots"></div></div>
That's all there is to it. Fire up your ad blocker and have a look.
Support
For support, please use this form to send an email: