scan-manga.com locks me out

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
Helix
Posts: 2
Joined: Tue Oct 02, 2012 10:07 pm

scan-manga.com locks me out

Post by Helix »

Hi everybody

My first post in this forum.
Though I have been using Adblock Plus for quite some time.
I think it is a formidable tool. It makes travelling the web a lot more agreeable.

But let's get to the point.
"scan-manga.com" which hosts french scanlations notices when my Adblock Plus blocks the advertisements on their site.
Specifically that happens when I try to see the actual scanlations. (e.g. http://www.scan-manga.com/lecture-en-li ... 12827.html)
Then they would tell me that they found "AdBlock" in my browser and redirect me to their main page.

My Adblock Plus:
v. 2.1.2
EasyList Germany + EasyList

I have done some digging in the code of the site and found something near the end.
They apparently tried to hide it, because they put quite some space in front of it.
That, of course, is not shown in the following code.

Code: Select all

eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(s(){u v=1k;u z=K;u x=K;s k(){z=5.8(\'1l\');x=5.8(\'1m\');z.L=\'w\';z.M=\'/N.1n\';z.2.O=\'1o\';z.2.P=\'Q\';x.L=\'R\';x.M=\'/N/1p.1q?1r=1s&1t=y&1u=1&1v=1w\';x.2.l=z.2.l=\'g\';x.2.A=z.2.A=\'g\';x.2.9=z.2.9=\'-1x\';x.2.b=z.2.b=\'-1y\';5.m.c(z);5.m.c(x);B(h,1z)};s h(){i(5.C(\'R\').2.O.S(\'Q\')>-1)v=o;E i(5.C(\'w\').2.1A==\'1B\')v=o;E i(5.C(\'w\').1C==0)v=o;z.T.U(z);x.T.U(x);i(v===o){6=5.8(\'q\');6.2.l=\'y%\';6.2.9=0;6.2.V=0;6.2.b=0;6.2.1D=0;6.2.W=\'#F\';6.2.X=\'Y\';6.2.Z=1E;6.2.10=\'0.7\';6.2.1F=\'1G(10=1H)\';3=5.8(\'q\');3.2.l=\'1I\';3.2.1J=\'1K\';3.2.11=\'1L\';3.2.9=\'G\';3.2.1M=\'1N\';3.2.W=\'#1O\';3.2.Z=1P;3.2.X=\'Y\';3.2.b=\'1Q%\';3.2.1R=\'-12\';3.2.1S=\'12\';3.2.r=\'#F\';3.2.P=\'g H #F\';3.2.1T=\'e\';3.2.1U=\'e\';4=5.8(\'q\');4.2.1V=\'e\';4.2.1W=\'e\';4.2.1X=\'e\';4.2.1Y=\'e\';4.2.13=\'-1Z-14-16(9, #17 0%, #18 y%)\';4.2.13=\'-20-16(14, b 9, b V, r-19(0, #17), r-19(1, #18));\';4.2.A=\'G\';4.2.r=\'#21\';4.2.22=\'G\';4.2.1a=\'23 1b 24\';4.2.25=\'g H #26\';4.2.11=\'27\';4.2.28=\'29\';4.I=\'2a Dé1cé\';3.c(4);f=5.8(\'q\');f.2.1a=\'1b\';f.2.2b=\'g H #2c\';f.I=\'1d a été dé1cé 2d 2e 2f. 2g 1e 1f dé1g 1h 2hé2i 1i pé2j 2k-2l.2m. 2n 2o n\\\'2p 2q 2r 2s 2t 2u 2v 2w 1e dé2x 1f 2y.<2z />2A 2B 15 2C..\';3.c(f);5.m.c(3);5.m.c(6);i(j.J.2D.S(\'2E\')>-1){j.B("j.J = (\'/\');",2F);f.I=\'Dé1g 1d 1i 2Gî2H 1j 2I 1h 2J 1j 2K.\'}E{j.B("j.J = (\'/\');",2L)}}};k()})();',62,172,'||style|warning|warningTitle|document|overlay||createElement|top||left|appendChild||5px|warningMessage|1px||if|window||width|body||true||div|color|function||var||zd||100||height|setTimeout|getElementById||else|000|20px|solid|innerHTML|location|undefined|id|src|ads|display|border|none|xd|indexOf|parentNode|removeChild|bottom|background|position|fixed|zIndex|opacity|fontSize|200px|backgroundImage|linear||gradient|FAFAFA|E3E3E3|stop|padding|15px|tect|AdBlock|de|le|sactiver|pour|et|la|false|iframe|img|html|block|banner|jpg|ad_height|300|adzone|adserver|adType|32|1951px|1052px|116|visibility|hidden|clientHeight|right|100000|filter|alpha|70|400px|fontFamily|Arial|14px|marginRight|auto|FFF|100001|50|marginLeft|marginTop|borderRadius|MozBorderRadius|borderTopLeftRadius|MozBorderTopLeftRadius|borderTopRightRadius|MozBorderTopRightRadius|moz|webkit|333333|lineHeight|11px|9px|borderBottom|EAEAEA|16px|fontWeight|bold|Adblock|borderTop|CCCCCC|sur|votre|navigateur|Merci|appr|cier|renniser|Scan|Manga|com|Cette|contrainte|est|effective|que|lors|des|grandes|affluences|afin|charger|serveur|br|Redirection|dans|secondes|search|429c68ac4f117b7f3c5e01fd6467dda6|20000|rafra|chisser|page|continuer|navigation|15000'.split('|'),0,{}))
I decrypted it with the help of this website:
http://crazydavinci.net/tools/javascript-decryptor-v2/

As you can see there is function h() which gets rid of me:

Code: Select all

(function()
	{
	var v=false;
	var z=undefined;
	var x=undefined;
	function k()
		{
		z=document.createElement('iframe');
		x=document.createElement('img');
		z.id='zd';
		z.src='/ads.html';
		z.style.display='block';
		z.style.border='none';
		x.id='xd';
		x.src='/ads/banner.jpg?ad_height=300&adzone=100&adserver=1&adType=32';
		x.style.width=z.style.width='1px';
		x.style.height=z.style.height='1px';
		x.style.top=z.style.top='-1951px';
		x.style.left=z.style.left='-1052px';
		document.body.appendChild(z);
		document.body.appendChild(x);
		setTimeout(h,116)
	};
	function h()
		{
		if(document.getElementById('xd').style.display.indexOf('none')>-1)v=true;
		else if(document.getElementById('zd').style.visibility=='hidden')v=true;
		else if(document.getElementById('zd').clientHeight==0)v=true;
		z.parentNode.removeChild(z);
		x.parentNode.removeChild(x);
		if(v===true)
			{
			overlay=document.createElement('div');
			overlay.style.width='100%';
			overlay.style.top=0;
			overlay.style.bottom=0;
			overlay.style.left=0;
			overlay.style.right=0;
			overlay.style.background='#000';
			overlay.style.position='fixed';
			overlay.style.zIndex=100000;
			overlay.style.opacity='0.7';
			overlay.style.filter='alpha(opacity=70)';
			warning=document.createElement('div');
			warning.style.width='400px';
			warning.style.fontFamily='Arial';
			warning.style.fontSize='14px';
			warning.style.top='20px';
			warning.style.marginRight='auto';
			warning.style.background='#FFF';
			warning.style.zIndex=100001;
			warning.style.position='fixed';
			warning.style.left='50%';
			warning.style.marginLeft='-200px';
			warning.style.marginTop='200px';
			warning.style.color='#000';
			warning.style.border='1px solid #000';
			warning.style.borderRadius='5px';
			warning.style.MozBorderRadius='5px';
			warningTitle=document.createElement('div');
			warningTitle.style.borderTopLeftRadius='5px';
			warningTitle.style.MozBorderTopLeftRadius='5px';
			warningTitle.style.borderTopRightRadius='5px';
			warningTitle.style.MozBorderTopRightRadius='5px';
			warningTitle.style.backgroundImage='-moz-linear-gradient(top, #FAFAFA 0%, #E3E3E3 100%)';
			warningTitle.style.backgroundImage='-webkit-gradient(linear, left top, left bottom, color-stop(0, #FAFAFA), color-stop(1, #E3E3E3));
			';
			warningTitle.style.height='20px';
			warningTitle.style.color='#333333';
			warningTitle.style.lineHeight='20px';
			warningTitle.style.padding='11px 15px 9px';
			warningTitle.style.borderBottom='1px solid #EAEAEA';
			warningTitle.style.fontSize='16px';
			warningTitle.style.fontWeight='bold';
			warningTitle.innerHTML='Adblock Détecté';
			warning.appendChild(warningTitle);
			warningMessage=document.createElement('div');
			warningMessage.style.padding='15px';
			warningMessage.style.borderTop='1px solid #CCCCCC';
			warningMessage.innerHTML='AdBlock a été détecté sur votre navigateur. Merci de le désactiver pour apprécier et pérenniser Scan-Manga.com. Cette contrainte n\'est effective que lors des grandes affluences afin de décharger le serveur.<br />Redirection dans 15 secondes..';
			warning.appendChild(warningMessage);
			document.body.appendChild(warning);
			document.body.appendChild(overlay);
			if(window.location.search.indexOf('429c68ac4f117b7f3c5e01fd6467dda6')>-1)
				{
				window.setTimeout("window.location = ('/');
				",20000);
				warningMessage.innerHTML='Désactiver AdBlock et rafraîchisser la page pour continuer la navigation.'
			}
			else
				{
				window.setTimeout("window.location = ('/');
				",15000)
			}
		}
	};
	k()
}
)();
So finally:
How do I get around turning off my adblocker?

Regards,
Helix
User avatar
Crits
Posts: 394
Joined: Mon Jan 16, 2012 11:54 am
Location: France
Contact:

Re: scan-manga.com locks me out

Post by Crits »

Thanks to your work, I've fixed that in Liste FR : http://code.google.com/p/listefr-adbloc ... dfaedcb441

To be able to benefit from it you should subscribe to Liste FR, or add the following filters in your custom list:

Code: Select all

@@||scan-manga.com/ads.html
@@||scan-manga.com/ads/banner.jpg?
To subscribe, please search for "Liste FR" here: http://adblockplus.org/en/subscriptions (when subscribing, no need to subscribe to EasyList a second time of course)

If the issue takes place again, you can directly create a topic in the dedicated forum for Liste FR :
http://forums.lanik.us/viewforum.php?f=91
Author of Liste FR, an ad-blocking subscription for French websites
Helix
Posts: 2
Joined: Tue Oct 02, 2012 10:07 pm

Re: scan-manga.com locks me out

Post by Helix »

I added Liste FR to my subscriptions.
The problem is gone.

Merci
Locked