Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 11 of 11
  1. #1
    Join Date
    Feb 2005
    Location
    Mn
    Posts
    770

    One more question about popups

    How can you stop popups in a browser made with APM Studio ?

  2. #2
    Join Date
    Feb 2005
    Location
    Mn
    Posts
    770
    Anyone know how to block them or none at all?

  3. #3
    Join Date
    Dec 2003
    Posts
    891
    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.

  4. #4
    Join Date
    Feb 2005
    Location
    Mn
    Posts
    770
    Thank you for the help.

  5. #5
    Join Date
    Feb 2005
    Location
    Mn
    Posts
    770
    Well tried 6 popup blockers and could not any work with ams so not sure what to do next?

  6. #6
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    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...

  7. #7
    Join Date
    Feb 2005
    Location
    Mn
    Posts
    770

    Huh?

    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.

  8. #8
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    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.

    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.

  9. #9
    Join Date
    Feb 2005
    Location
    Mn
    Posts
    770
    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/showf...ease_id=172807

  10. #10
    Join Date
    Feb 2005
    Location
    Mn
    Posts
    770

  11. #11
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Source forge rules. Viva Source Forge!!!

Similar Threads

  1. Question: reg question
    By mjheijster in forum AutoPlay Media Studio 5.0
    Replies: 3
    Last Post: 07-22-2005, 04:01 AM
  2. Basic Flash question
    By aae991 in forum AutoPlay Media Studio 5.0
    Replies: 2
    Last Post: 03-09-2005, 09:46 PM
  3. Question on VB and AMS5
    By Martin_SBT in forum AutoPlay Media Studio 5.0
    Replies: 1
    Last Post: 12-11-2003, 08:22 AM
  4. question about sound mp3
    By Rapido78840 in forum AutoPlay Media Studio 4.0
    Replies: 4
    Last Post: 10-10-2003, 11:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts