javascript - How to prevent this ad network http requests ? and how are the requests being inserted? -
i have simple webpage javascript sends various requests server. between getting following network requests , website not responsible.
my html page
<div class="container"> <div class="row"> <div> <div class="row"> <div class="col-md-6 "> <div class="form-group"> <label for="inputdate" class="col-sm-1 control-label">date</label> <div class="col-sm-6"> <input type="date" class="form-control" id="inputdate" name="inputdate" placeholder="date" required> </div> <button type="submit" class="btn btn-primary get" onclick="getdata()">get</button> </div> </div> </div> </div> </div> <div class="row"> <div class="panel panel-default"> <!-- default panel contents --> <div class="panel-heading">dispatch overview</div> <div class="panel-body"> <p>...</p> </div> <!-- table --> <table id="dispatchoverviewtable" class="table table-striped"> <thead> <tr> <th>sr.nos</th> <th>item</th> <th>qty</th> <th>kg</th> </tr> </thead> <tbody> </tbody> </table> <!-- table --> <table id="dispatchdetailtable" class="table table-striped"> <thead> <tr> <th>sr.nos</th> <th>id</th> <th>item</th> <th>qty</th> <th>kg</th> <th>account</th> </tr> </thead> <tbody> </tbody> </table> </div> </div>
my javascript :
function getdata() { var totalfeed; console.log('in function getdata'); var data=$('#inputdate').val(); console.log(data); $.get( '/index.php/async/getdispatchdetails/'+data,function( data ) { console.log(data.dispatchdata); console.log(data.itemdata); $('#dispatchdetailtable > tbody > tr').remove(); (var = 1; <= data.dispatchdata.size; i++) { console.log("inside loop"); var row = ""; row = "<tr><td>" + + "</td><td>"+ data.dispatchdata[i].dispatchid +"</td><td>"+ data.dispatchdata[i].itemname +"</td><td>"+ data.dispatchdata[i].quantity + "</td><td>" + data.dispatchdata[i].weight + "</td><td>" + data.dispatchdata[i].accountname + "</td><td>" + "</td></tr>"; $('#dispatchdetailtable > tbody:last').append(row); } }); }
console of browser : unknown parts
*************** muted gamecontent vm16571:1 [wed jul 8 17:10:51 gmt+0530 2015] (#0): event:[event type="complete" bubbles=false cancelable=false eventphase=2] vpc.xml:1 http://vpc.altitude-arena.com/vpc.xml?uid=1jmf6b3e9c817755&page_url=http%3a…a_file_title=[replace]&media_description=[replace]&media_file_id=[replace] 404 (not found) vast.yashi.com/crossdomain.xml:1 http://vast.yashi.com/crossdomain.xml net::err_empty_response vm16601:1 [wed jul 8 17:10:55 gmt+0530 2015] (#0): adloaded[liverailevent type="initcomplete" admap=[object object]] vm16602:1 [wed jul 8 17:10:55 gmt+0530 2015] (#0): start vpc.xml:1 http://vpc.altitude-arena.com/vpc.xml?uid=ql6df2bd02fd5b45&page_url=[replac…a_file_title=[replace]&media_description=[replace]&media_file_id=[replace] 404 (not found) vm16710:1 [wed jul 8 17:11:15 gmt+0530 2015] (#0): destroy: false adaptvinfo.js:1 uncaught error: error: invalid exception thrown.window.adaptvinfo.fraudscorecallback @ adaptvinfo.js:1window.(anonymous function) @ adaptvinfo.js:1r.stringtofn @ bapi?anid=6058&ias_callback=adaptv1436355672623&pubid=b4.epicplay.com&placementid=498506:194na.wrap.window.(anonymous function) @ bapi?anid=6058&ias_callback=adaptv1436355672623&pubid=b4.epicplay.com&placementid=498506:174(anonymous function) @ dbapi?ias_callback=__integralas_371ff0f1256611e58a6b002590882ecc_1781&anid=6058&pubid=b4.epicplay.c…:1 vast-rtb.js?1:1 allvastadscompleted: nan; load errors: 0
this not related site, plugin / application running on os, it's adware or virus if prefer, result of installation of freeware program youtube mp3 converter or similar.
to confirm suggest test website in virtual machine or computer.
Comments
Post a Comment