Home > Paid Traffic Sources > Mobile

Ripped lander re-coding (3)


06-08-2017 10:02 PM #1 plamen (Member)
Ripped lander re-coding

Hello,

I've ripped my first mobile lander from Adplexity and there are several scripts on it. I can't tell which of these are potentially redirect scripts:

At the top of the lander is:


Code:
<script type="text/javascript">


 if(screen.width >= 1000) {


 if(typeof window.orientation !== 'undefined'){ var ortvalue = "defined"; }


 if(ortvalue != "defined") {


 document.location.replace("http://domain.com/");


 }


 }


</script>
<script>
	function getURLParameter(name) {
            var param = decodeURI(
                (RegExp(name + '=' + '(.+?)(&|$)').exec(location.search)||[,null])[1] || ''
            );
            return param.replace(/\+/gim," ");
        }


       
        
        var brand = getURLParameter('brand');
        var model = getURLParameter('model');
       


	
	
    </script>


And further down:

Code:
<script type="text/javascript">navigator.vibrate=navigator.vibrate||navigator.webkitVibrate||navigator.mozVibrate||navigator.msVibrate;if(navigator.vibrate){navigator.vibrate([1000,500,1000,500,1000,500])}</script>

<script type="text/javascript">window.onload=function(){document.getElementById("popup1").style.display="none";setTimeout(function(){if(document.getElementById("popup1").style.display=="none"){document.getElementById("popup1").style.display="block"}},300);window.navigator.vibrate(5000);var b=0;b=b+1};setTimeout(function(){ii=1},200);function hidepop(){document.getElementById("popup1").style.display="none"}function showpop(){document.getElementById("popup1").style.display="block"}</script>

Code:
<script>!function(){var d;try{for(d=0;10>d;++d){history.pushState({},"","#")}onpopstate=function(a){a.state&&location.replace("#")}}catch(c){}}();function isOdd(b){return b%2}history.pushState({page:1},"AD","#i");var ii=0;window.onhashchange=function(b){window.location.hash="i";ii++;if(isOdd(ii)){showpop()}};(function(){showpop();var c=0;function d(a){return decodeURI((RegExp(a+"=(.+?)(&|$)").exec(location.search)||[,null])[1]||"")}setTimeout(function(){var b="http://####.voluumtrk.com/click";var k=["button","input","a"],j,h,a;for(h in k){j=document.getElementsByTagName(k[h]);for(a in j){if((k[h]=="input"&&j[a].type!="button"&&j[a].type!="submit"&&j[a].type!="image")||j[a].target=="_blank"){continue}j[a].onclick=function(){window.onbeforeunload=function(){}}}}window.onbeforeunload=function(){setTimeout(function(){window.onbeforeunload=function(){};setTimeout(function(){document.location.href=b},500)},5);return showpop()}},500)})();</script>
Code:
<script type="text/javascript" data-rocketoptimized="true">var currentTime=new Date();var dayNames=new Array("Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu");var date=currentTime.getDate();var year=currentTime.getFullYear();document.write(dayNames[currentTime.getDay()]+" "+date+", "+year);var mm=currentTime.getMonth();</script>Selasa 23, 2017
Code:
<h1 id="headTxt2"><span id="blink"><script>document.write(getURLParameter("brand") + (" ") + getURLParameter("model"))</script>  (13) Virus Telah Dikesan!</span></h1>
Code:
<script>function exitPop(){alert("Sahkan nombor telefon anda pada halaman seterusnya untuk memasang aplikasi.")}</script>
<script>alert("(13) Virus Telah Dikesan!");</script>

Also, are there any other ways other than scripts in which redirecting could be coded into a lander (e.g., what to look for)?

Thanks!


06-08-2017 10:20 PM #2 platinum (Veteran Member)

hey plamen, check out Amy's post on How to Fix Up Ripped Landers. It should answer most of your questions


06-08-2017 10:22 PM #3 plamen (Member)

Quote Originally Posted by platinum View Post
hey plamen, check out Amy's post on How to Fix Up Ripped Landers. It should answer most of your questions
Ahh, gold! I was looking for something like this but for some reason couldn't find it! Thanks!


Home > Paid Traffic Sources > Mobile