[resolved] solidice.com - Adblock Detected

Discussion in 'False Positives' started by offguard, Apr 18, 2014.

  1. offguard

    offguard Beta Tester

    Joined:
    Dec 12, 2013
    Messages:
    44
  2. Nameless

    Nameless Beta Tester

    Joined:
    Mar 19, 2014
    Messages:
    723
  3. offguard

    offguard Beta Tester

    Joined:
    Dec 12, 2013
    Messages:
    44
    Nope, tried with Chrome Beta (many ext.), IE11 and Iron (no extensions).

    Adguard with English+Spyware+Experimental enabled

    Code:
    <div class="modal-content"><div class="modal-body"><button type="button" class="bootbox-close-button close" style="margin-top: -10px;">×</button><div class="bootbox-body">It appears you may have adblock enabled.<br>SolidICE is funded solely on ad revenue.<br>We ask that you whitelist SolidICE as a show of support.</div></div><div class="modal-footer"><button data-bb-handler="ok" type="button" class="btn btn-primary">OK</button></div></div>
     
    Last edited: Apr 18, 2014
  4. Nameless

    Nameless Beta Tester

    Joined:
    Mar 19, 2014
    Messages:
    723
    Odd, restarted the browser and it appeared i'll update this in abit.

    Update:
    Russian filter disables it, no im not russian it was activated for some reason.
     
    Last edited by a moderator: Apr 18, 2014
  5. offguard

    offguard Beta Tester

    Joined:
    Dec 12, 2013
    Messages:
    44
    Thanks.

    I think this "solidice.com/js/sneaky.js" script causing the alert.

    Code:
    $( document ).ready(function(){
    	var totalHeight = 0;
    	$(".advertisement").each(function(){
    		totalHeight += $(this).height();
    	});
    	if(totalHeight == 0)
    	{
    		$str = "It appears you may have adblock enabled.<br>";
    		$str += "SolidICE is funded solely on ad revenue.<br>"
    		$str += "We ask that you whitelist SolidICE as a show of support.";
    		bootbox.alert($str, function() {});		
    	}
    });
    
    /* 
    	if ($('.advertisement').is(":hidden") == true){
    		var totalHeight = 0;
    		$(".advertisement").each(function(){
    			totalHeight += $(this).height();
    		});
    		alert(totalHeight);
    		if(totalHeight == 0)
    		{
    			$url = $("#site_url").text();
    			//window.location = $url + '/ad-block.php';
    			$(".advertisement").wrap("<div class='adBlockNotice'></div>");
    		}		
    	}
    */	
     
  6. Nameless

    Nameless Beta Tester

    Joined:
    Mar 19, 2014
    Messages:
    723
    Yep thats the problem i was looking for the code the russian filter was using but, i can not find it lol

    You can always add one of these though they seem to block it if you dont want the russian filter goin.:

    Code:
    solidice.com/js/sneaky.js
    /js/sneaky.js
    
    I need to learn the filter list better though.
     
  7. Boo Berry

    Boo Berry Moderator + Beta Tester Moderator

    Joined:
    May 30, 2012
    Messages:
    2,618
    This should work, no?

    Code:
    ||solidice.com/js/sneaky.js
     
  8. Nameless

    Nameless Beta Tester

    Joined:
    Mar 19, 2014
    Messages:
    723
    Yeh that works Boo, whats the difference between having || at the begining of the address and nt having it? So mine and yours?

    Also i can not add || on my laptop as i dunno which key it is :rolleyes: i need copy n paste lol (us keyboard > english language)
     
  9. rickyoh

    rickyoh Beta Tester

    Joined:
    Feb 3, 2012
    Messages:
    564
    @ Nameless. search for the pipe symbol(| <-- shift+backspace on my keyboard) on this page you'll find this paragraph:
    "Sometimes one wants to block http://example.com/banner.gif as well as https://example.com/banner.gif and http://www.example.com/banner.gif. This can be achieved by putting two pipe symbols in front of the filter which makes sure the filter matches at the beginning of the domain name: ||example.com/banner.gif will block all these addresses while not blocking http://badexample.com/banner.gif or http://gooddomain.example/analyze?http://example.com/banner.gif (requires Adblock Plus 1.1 or higher)."
     
  10. Nameless

    Nameless Beta Tester

    Joined:
    Mar 19, 2014
    Messages:
    723
    Thanks for the info about the | blocking.

    As for looking for the | symbol like i said its an american keyboard setup to british language so keys are moved about | is # and ~ instead of | and backslash i may have to change language adn try and get use to the american layout i guess :/
     
  11. avatar

    avatar Administrator Staff Member Administrator

    Joined:
    Oct 26, 2010
    Messages:
    12,251
    Cannot reproduce it.

    But I've added ||solidice.com/js/sneaky.js to English rules just in case.