Exashare embedded video problem

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
Dr4gon97
Posts: 9
Joined: Wed Jun 10, 2015 8:39 pm

Exashare embedded video problem

Post by Dr4gon97 »

I've never encountered any problem with exashare's embedded videos but today i saw that it shows up an iframe (i think) that doesn't allow me to see the video unless i disable ABP. here's the code i think is causing the problem. Is there a way to block it? MANY thanks in advance for your amazing work with ABP

Edit: if it's useful to solve the problem, i am actually using google chrome and here's an example of the problem.

Code: Select all

window.addEventListener("load", function(){
  var iframe = document.createElement("iframe");
  iframe.height = "1px";
  iframe.width = "1px";
  iframe.frameBorder = 0;
  iframe.id = "ads-text-iframe";
  iframe.src = "http://exashare.com/ici.html";
            
  document.body.appendChild(iframe);
  
  setTimeout(function(){
    var iframe = document.getElementById("ads-text-iframe");
    if(iframe.style.display == "none" || iframe.style.display == "hidden" || iframe.style.visibility == "hidden" || iframe.offsetHeight == 0)
    {
      iframe.remove();
	  
	  //$('#switch').hide();
     // $('#annonce_pub').attr('style', 'width:640px;height:360px;');
     // $('#annonce_pub').html("<div style='font-size: 15px; font-weight: bold; text-align:center; padding-top:30px; line-height: 35px'>Please disable AdBlock (or any ads blocking) to watch Exashare.<br> <br></div><div></div>");
      //$('#divDownload').html("");
	  
	  
      if(typeof ga !== 'undefined') 
      {
        ga('send', 'event', 'Adblock', 'Yes', {'nonInteraction': 1}); 
      }
      else if(typeof _gaq !== 'undefined')
      {
        _gaq.push(['_trackEvent', 'Adblock', 'Yes', undefined, undefined, true]);
      }
    }
  }, 1000);
}, false);
$('document').ready(function(){
	setTimeout('xf34rd()', 10000);
});
function xf34rd() {
	CheckAdImage($('#adCheck1'));
	CheckAdImage($('#adCheck2'));
	CheckAdImage($('#adCheck3'));

	if (Mojod) {
		$('#annonce_pub').html("<div style='font-size:20px;color:#fff;font-weight:bold;background-color:#B9122B;font-size: 15px; font-weight: bold; text-align:center; padding-top:30px; line-height: 35px'><img src=\"http://4.bp.blogspot.com/-3W69PiJh7U0/VFnmVUjb5lI/AAAAAAAAAJs/W08cXeRFXuA/s1600/Disable%2BAdblock.png\" ><br /><small>Bloquer la pub c\'est bloquer les revenus du site pour payer les serveur </small></div>");
		console.log('Mojod weld ladina');
		}
}
Last edited by Dr4gon97 on Wed Jun 10, 2015 8:50 pm, edited 1 time in total.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Exashare embedded video problem

Post by mapx »

an example page with such an exashare video ?
Dr4gon97
Posts: 9
Joined: Wed Jun 10, 2015 8:39 pm

Re: Exashare embedded video problem

Post by Dr4gon97 »

mapx wrote:an example page with such an exashare video ?
added, I forgot it before, sorry
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Exashare embedded video problem

Post by mapx »

test these filters

Code: Select all

exashare.com#@##adbanner
@@||chango.com^$domain=exashare.com
||videoplayz.com^$popup
||video1404.info^$popup
Dr4gon97
Posts: 9
Joined: Wed Jun 10, 2015 8:39 pm

Re: Exashare embedded video problem

Post by Dr4gon97 »

mapx wrote:test these filters

Code: Select all

exashare.com#@##adbanner
@@||chango.com^$domain=exashare.com
||videoplayz.com^$popup
||video1404.info^$popup
Thank you very much! It works perfectly!
Locked