vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - Vb Anti ADblock Alert Box (https://vborg.vbsupport.ru/showthread.php?t=262525)

Ghostt 01-04-2012 05:34 PM

@ ofir24
this question is allready was answered.
its not possible in this version of plugin

Noerenberg 06-26-2012 04:00 PM

I try it again and i see no message. :-(

EDIT, now it run, hmm but not when i use tms.
but its ok, nice mod, thanks

Ellendway 11-12-2012 12:43 PM

Is there any chance to add background image to the text? Something like adblock icon?

Budget101 11-13-2012 02:07 PM

I've implemented this code and it does not work with "Do Not Track Plus" ad block software, regardless of how many different things we try.

emp1re 12-29-2012 04:10 PM

Somehow the redirect does not work on mozilla firefox.
It stays on the site. it does show the message but does not redirect after 2 seconds (the time i entered).

In chrome it works..chrome got redirected...
Any ideas ?

Ghostt 04-25-2014 03:01 PM

UPDATES:

english translation added | 25.04.2014

____________________

@ Budget101 please test with adblock plus or noscript

@emp1re will be fixed on enough requests.

Ghostt 05-23-2014 02:22 PM

Anti_ADblock_Alert_Box_Full_Site_Block_v2 added

Budget101 09-28-2014 12:11 PM

Quote:

Originally Posted by Ghostt (Post 2494655)
@ Budget101 please test with adblock plus or noscript

.

Thank you, it does work with those, but that wasn't my point. The point was that it doesn't work with the most widely used adblocker system. ;-)

RealitYYY 02-02-2015 08:30 PM

This stopped working recently and not sure why that is...

http://filesharingtalk.com/forum.php

Code:

<div class="a"></div>
<script type="text/javascript">
<!--
    var adblock = true;
//-->
</script>
<script type="text/javascript" src="adframe.js"></script>
<script type="text/javascript">
<!--
    if(adblock) {
        var allElements = document.getElementsByTagName('div');
        for (var i = 0; i < allElements.length; i++) {
            if (allElements[i].className == 'a') {
                allElements[i].innerHTML = '<div class=\"blocked\"><center><span style="color:#FFFFFF"><span style="color:#FF0040">Turn AdBlock OFF and this will NOT show!!<span style="color:#FFFFFF"><br><a href="http://affiliate.astraweb.com/" target="_blank rel="nofollow"><img src="http://a.fststatic.com/aw.gif" alt="" /></a><br><a href=\"/showthread.php?t=125697\"><img src=\"/images/statusicon/cp_help.gif\" height=\"12\" width=\"12\" alt=\"Help\" title=\"READ THIS\" /><span style="color:#3366FF"> -> How to Disable AdBlock for This Site since the ads are NOT obtrusive. <- <\/a><a href=\"/showthread.php?t=125697\"><img title=\"How To Close This\" src=\"/images/statusicon/cross.png\" alt=\"Close\"></a></center><\/div><\/div>';
            }
        }
    }

//-->
</script>


bzcomputers 02-02-2015 08:45 PM

Quote:

Originally Posted by RealitYYY (Post 2535779)
This stopped working recently and not sure why that is...

http://filesharingtalk.com/forum.php

Code:

<div class="a"></div>
<script type="text/javascript">
<!--
    var adblock = true;
//-->
</script>
<script type="text/javascript" src="adframe.js"></script>
<script type="text/javascript">
<!--
    if(adblock) {
        var allElements = document.getElementsByTagName('div');
        for (var i = 0; i < allElements.length; i++) {
            if (allElements[i].className == 'a') {
                allElements[i].innerHTML = '<div class=\"blocked\"><center><span style="color:#FFFFFF"><span style="color:#FF0040">Turn AdBlock OFF and this will NOT show!!<span style="color:#FFFFFF"><br><a href="http://affiliate.astraweb.com/" target="_blank rel="nofollow"><img src="http://a.fststatic.com/aw.gif" alt="" /></a><br><a href=\"/showthread.php?t=125697\"><img src=\"/images/statusicon/cp_help.gif\" height=\"12\" width=\"12\" alt=\"Help\" title=\"READ THIS\" /><span style="color:#3366FF"> -> How to Disable AdBlock for This Site since the ads are NOT obtrusive. <- <\/a><a href=\"/showthread.php?t=125697\"><img title=\"How To Close This\" src=\"/images/statusicon/cross.png\" alt=\"Close\"></a></center><\/div><\/div>';
            }
        }
    }

//-->
</script>


It appears Ad Block Plus is now blocking your adframe.js from loading.

https://vborg.vbsupport.ru/external/2015/02/19.jpg

This is not unusual I've seen it happen before for similarly named scripts like "ad-blocker.js". You need to rename the javascript file to something else and edit the reference to the name in the script above. It should then start to work again.


All times are GMT. The time now is 10:13 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01127 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete