there's unfortunately nothing like NoScript for Safari, but you can at least use Safari AdBlock so the windows are blank :)
Stop looking at porn!