Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pop up window

Status
Not open for further replies.

Perlwannabe

Technical User
Mar 7, 2006
57
IT
Hello,

I have this script to manage web sites that redirects to a certain page, but also opens an annoying popup advertising window when redirecting happens.
Now, I would remove that pop up window,but, since this script counts 10,000 lines or so, it doesn't seem to be a simple work...
Could you,guys, address me on the right way,please?
What type of code should I search in that script,related to that pop up?
How a perl programmer would insert such a command in a cgi script?

Thanks in advance for your precious help.

Sincerely
 
perl can't pop up windows. It would have to be some javascript so look for javascript that is doing that.

------------------------------------------
- Kevin, perl coder unexceptional! [wiggle]
 
Look for the terms "alert" or "window.open". There may be others, but those are most common. Also, if you're redirecting, maybe the redirected page contains the pop up.

Mark
 
I'll check those terms out.
as regard to the javascript,should I search that code inside the script or a link to?
What could be?
 
The javascript could be in the perl code or in seperate file. Thats for you to figure out since you can see the script.

------------------------------------------
- Kevin, perl coder unexceptional! [wiggle]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top