View Full Version : One more question about popups
bobbie
02-07-2006, 01:39 AM
How can you stop popups in a browser made with APM Studio ?
bobbie
02-08-2006, 11:40 AM
Anyone know how to block them or none at all?
Roboblue
02-08-2006, 01:30 PM
AMS uses the system Internet Explorer core. I don't know as I don't use IE, but if the systems IE has a pop blocker installed, it may work silently in AMS. If so, then maybe offer a free popup blocker install to the user.
Or
I haven't tried this but I think it would work.
Build an html form with an I-Frame in a single cell table. Load the html document into the browser on start up, size the I-Frame to the AMS window, then run a Java script popup blocker in the main html document. Then load the external url's into the I-Frame.
You can do a search on free popup blocking script.
bobbie
02-08-2006, 01:58 PM
Thank you for the help.
bobbie
02-12-2006, 02:32 PM
Well tried 6 popup blockers and could not any work with ams so not sure what to do next?
Corey
02-12-2006, 02:56 PM
The tricky part IMO is going to be trying to figure out whether a given pop-up window was spawned intentionally by the user or is critical to the site being viewed, and when it's a bad pop-up. Let me give you an example, head over to the Shrek site and click on "Enter The Site":
http://www.shrek2.com/
Poparooni.
I'm not saying it can't be done, but it's going to be tricky. The only pop-up blocker which has ever worked for me is the one built into Firefox, which seems to work fairly well. Hopefully the future will bring a Firefox object to AMS but for now the best way to handle this would be to get good with handling windows (wouldn't hurt to learn some related shell commands or how to create custom .dlls with some other programming language such as VC++) and see if you can figure out some tricks for classifying/supressing new windows. Quite a challenge.
An easier approach would be to go to source forge (and similar sites) and see if you can find an open source pop-up blocker (should be a few around) and then try to use that as a foundation for something custom... :yes
bobbie
02-12-2006, 03:32 PM
I see what you mean. it is hard to know if they use IE or Firefox as the main browser so don't what to block or when.
Just may have to live with it for now. going to run over to sourceforge and see if they have anything.
Corey
02-12-2006, 03:44 PM
FWIW I may be wrong but it seems to me that if you are using the web object in AMS it doesn't matter what their main browser is, everything will be IE based for that session. Both the main window and any subsequently spawned windows. :yes
The only exception would be if a web page was downloaded to your hard drive and then run using a File.open action for example, in which case that page would open in the system default browser.
bobbie
02-12-2006, 03:46 PM
I did find one that works and open source too so I can work with it,and it does work with AMS but you have to train it.
http://sourceforge.net/project/showfiles.php?group_id=48678&package_id=89302&release_id=172807
bobbie
02-12-2006, 04:06 PM
Here is one more that works .
http://sourceforge.net/project/showfiles.php?group_id=73782&package_id=73938&release_id=151472
Corey
02-12-2006, 06:24 PM
Source forge rules. Viva Source Forge!!! :yes
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.