472,958 Members | 2,444 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 software developers and data experts.

preventing popups

Is the a way of preventing popups from other sites while your page is
loading?

--
Regards
Nik
http://www.itconsultancy.org
Jul 23 '05 #1
3 1610
"PSERVE" <ne**@pserve.co.uk> wrote in message news:41**********************@news.dial.pipex.com. ..
Is the a way of preventing popups from other sites while your page is
loading?

--
Regards
Nik
http://www.itconsultancy.org


Well in Windows if you know where the popups are going to load from you can put the address in your hosts file. Look in the hosts file for examples.

Or you can turn off javascripting. That also will stop them.

Fact is most popups from offsite are advertisements and the addresses are not many. After a few popups you'll get most of them for the hosts file.

--
George Hester
__________________________________
Jul 23 '05 #2
You can't do it in JavaScript. It's not yours! You download it from website and it will run anyway (if you use it).
Use http://www.mozilla.org/products/firefox/
Alex Kizub.

George Hester wrote:
"PSERVE" <ne**@pserve.co.uk> wrote in message news:41**********************@news.dial.pipex.com. ..
Is the a way of preventing popups from other sites while your page is
loading?

--
Regards
Nik
http://www.itconsultancy.org

Well in Windows if you know where the popups are going to load from you can put the address in your hosts file. Look in the hosts file for examples.

Or you can turn off javascripting. That also will stop them.

Fact is most popups from offsite are advertisements and the addresses are not many. After a few popups you'll get most of them for the hosts file.

--
George Hester
__________________________________


Jul 23 '05 #3
PSERVE wrote:
Is the a way of preventing popups from other sites while your page is
loading?


Well... you say "your page" implying it is a page you authored? If that
is the case, then the way to prevent popups is to not write the code to
open them in the first place.

If you mean you are using a free Web hosting provider and they inject
code to create popups, then no, you should not attempt to circumvent that
behaviour or you will be in violation of the TOS you agreed to when you
signed up. If you want Web hosting without popups, pay for it.

If you mean you are loading an arbitrary page and it is opening windows
during the loading process, there are a variety of solutions. If you are
using Internet Explorer, Windows XP Service Pack 2 (<url:
http://windowsupdate.microsoft.com />) and the Google toolbar (<url:
http://toolbar.google.com />) offer good popup blockers. AOL Instant
Messenger (AIM) now also comes with a popup blocker, I don't know how
well it works. As well, there are a variety of other "Internet Security"
software packages that offer paranoia generation (oops, I mean
"firewall") and popup blocking services. And as others have mentioned,
you could use a browser with popup prevention built in (Firefox <url:
http://www.mozilla.org/firefox /> or Opera <url: http://www.opera.com
/>).

--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq

Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Art | last post by:
NEWBIE ALERT! Esteemed List Participants and Lurkers: (System: P-II 350, 192 meg, Win98 SE, Python 2.2.3, wxPythonWIN32-2.4.1.2-Py22.exe) I'm having a lot of fun getting started with Python...
52
by: Harlan Messinger | last post by:
Can you help me figure out what to do about popups? Sometimes we develop web applications where popups make very good sense for precisely the same reasons they make sense in traditional...
7
by: Bob Wightman | last post by:
I've had a look through the archives but cannot find anything that really answers this so... I have a menu system composed of a series of "buttons" (actually span elements) that react to the...
2
by: Tom Szabo | last post by:
Hi, >>IE in Windows XP Service Pack 2 has a popup blocker that blocks unsolicited >>popups >>IE (other than Windows XP Service Pack 2) also has many add-ons (Google toolbar, >>Yahoo! toolbar,...
3
by: anand | last post by:
hi, i am using axwebbrowser in an application. now, if the webpage has a javascript with window.open(), a pop up window opens. i want to catch the event just before axwebbrowser spawns a new...
4
by: ciprian.dosoftei | last post by:
Hello, I just finished a tutorial website regarding the development of DHTML popups. The site features several examples with downloadable samples. It also feature more complex effects like...
4
by: dd | last post by:
I have a scenario where my popups are being blocked by IE6+ and Firefox. The problem is that although the popup is a direct result of the user clicking on the link (meaning that they WANT the...
1
by: YotamElal | last post by:
Hello, I have a popup problem. When a popup is opened, I want all other popups to close immediatly. (except for its self and it's child popups) Here is my code: code: <!DOCTYPE HTML PUBLIC...
1
by: Moe Sisko | last post by:
Using : ASP.NET 2.0, IE 7. This is a strange problem with popups not working in IE to remote sites, even though popups are allowed in IE. To reproduce, create web site with two pages,...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.