lundi 3 novembre 2014

Replacing an ad's frame source


Vote count:

0




I have took an subdomain from a site but when I'm using it with my site it shows me an ad under the page.I want to get ride of that ad.The "page source" where is the ad's configuration is:





<frameset rows="*,29" >
<frame src="http://ift.tt/1s7F59Q" name="redir_frame" frameborder=0>

<frame src="http://ift.tt/1s7F31D" noresize="noresize" scrolling="no" name="ad_frame"
frameborder="0">
<noframes>
Sorry, your browser does not support frames. Click <a href="http://ift.tt/1s7F31F" TARGET=_top>here</A>
</noframes>
</frameset>



I've tried to replace it with something using java:



function replace(){
document.getElementsByName('ad_frame').src = "http://google.com";
}



but it don't work.What should i do?

asked 42 secs ago







Replacing an ad's frame source

Aucun commentaire:

Enregistrer un commentaire