How do i remove the pop-up ads in this script?

Discussion in 'Programming' started by Anveto, Apr 29, 2010.

  1. #1
    Ok so it seems like someone stuck pop-up ads in this script before i started messing with it, how do i remove the pop-up ads, i do not care about the normal banner ads on the site.

    nusay.com
     
    Anveto, Apr 29, 2010 IP
  2. ceaseer

    ceaseer Peon

    Messages:
    473
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You have some JS you need to remove

    <SCRIPT LANGUAGE="JavaScript"> 
    <!--
    function popitup(url) {
    	newwindow=window.open(url,'name','height=250,width=400');
    	if (window.focus) {newwindow.focus()}
    	return false;
    }
     
    function popitup2(url) {
    	newwindow=window.open(url,'name','height=350,width=550');
    	if (window.focus) {newwindow.focus()}
    	return false;
    }
     
    function popitup3(url) {
    	newwindow=window.open(url,'name','height=1,width=1');
    	if (window.focus) {newwindow.focus()}
    	return false;
    }
     
    // -->
    </script>
    Code (markup):
     
    ceaseer, Apr 29, 2010 IP
  3. Anveto

    Anveto Well-Known Member

    Messages:
    697
    Likes Received:
    40
    Best Answers:
    19
    Trophy Points:
    195
    #3
    Well that will cause the script to stop functioning correctly, since i need that code so that users can launch the music player or watch videos
     
    Anveto, Apr 30, 2010 IP