Wrox Programmer Forums
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 21st, 2004, 04:02 AM
Registered User
Join Date: Oct 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Urgent help in javascript

Hi all ,
    I am new to this site and this is my first post. I have a problem with iFrames. I dont want the users to visit links outside our clients domain(say we have 5 or 6 clients). I can't take the link of the redirected page as that will be restricted. Is there any other way to do this.All the pages are loaded inside the iFrame.
    Secondly i want to stop popups opened from the clients page using scripts.Is that possible.This is urgent.Thanks

With Regard,

Old October 21st, 2004, 04:37 PM
Friend of Wrox
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts

You can't really do this without destroying the page you're trying to view. You could run it through a server language, strip out the links, and add a client-side popup blocker (just google for "javascript popup blocker"), but it would mess up the images, styles and any other external data.

So, basically, no, you can't.

-Snib Where will you be in 100 years?
Try new FreshView 0.2!
There are only two stupid questions: the one you can't find the answer to and don't ask, and the one that you can find the answer and do ask.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent:Javascript ivanlaw Javascript How-To 5 September 4th, 2007 08:18 PM
urgent help on javascript sansircar ASP.NET 1.0 and 1.1 Professional 9 August 3rd, 2006 01:23 AM
Flash and Javascript (VERY URGENT) Apocolypse2005 Javascript 3 July 2nd, 2006 02:12 PM
How to load c++ dll using javascript(urgent) faisal79 Javascript 1 May 30th, 2006 07:51 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.