javascript popups in safari ajax callback methods
Results 1 to 8 of 8

Thread: javascript popups in safari ajax callback methods

Hybrid View

  1. #1
    Senior Member
    Join Date
    Dec 2003
    Location
    LA, CA
    Posts
    292

    javascript popups in safari ajax callback methods

    Hey All,

    I'm having a problem with the popup blocker in safari. I have a script which makes an ajax call to a server (jquery .post) and in some situations generates a popup in the callback (window.open()) . This logic seems to work great everywhere except safari. Anyone aware of a good workaround for this situation?
    A mind full of questions has no room for answers

  2. #2
    Senior Member
    Join Date
    Dec 2003
    Location
    LA, CA
    Posts
    292
    Found a workaround: setup an event listener on a hidden link and trigger a click event on it from the callback method
    A mind full of questions has no room for answers

  3. #3
    Banned
    Join Date
    Jan 2008
    Posts
    605
    My browser doesn't open anything in a new window unless I specificly right click links to have it opened that way. Besides, that method of shoving ads in everyone's face became irrelevant a good decade ago.

  4. #4
    Senior Member
    Join Date
    Dec 2003
    Location
    LA, CA
    Posts
    292
    @ Spec Not doing this for ads but I appreciate the comment.
    A mind full of questions has no room for answers

  5. #5
    Junior Member
    Join Date
    May 2011
    Posts
    5
    I'm having the same problem no one solved this problem could anyone please help me
    .

  6. #6
    Senior Member
    Join Date
    Dec 2003
    Location
    LA, CA
    Posts
    292
    @Aaimie: setup an event listener on a hidden link and trigger a click event on it from the callback method
    A mind full of questions has no room for answers

  7. #7
    Super Moderator: GMT Zone nihil's Avatar
    Join Date
    Jul 2003
    Location
    United Kingdom: Bridlington
    Posts
    17,192
    @hiddeninclouds:

    Aaimie is a spamming account.....you already gave an answer
    If you cannot do someone any good: don't do them any harm....
    As long as you did this to one of these, the least of my little ones............you did it unto Me.
    What profiteth a man if he gains the entire World at the expense of his immortal soul?

  8. #8
    Senior Member
    Join Date
    Dec 2003
    Location
    LA, CA
    Posts
    292
    @Nihil yeah I laughed when I saw the request for posted info but figured since i asked the question perhaps my further posts were overlooked assuming I would not resolve my own issue
    A mind full of questions has no room for answers

Similar Threads

  1. Tcp/ip
    By gore in forum Newbie Security Questions
    Replies: 11
    Last Post: December 29th, 2003, 07:01 AM
  2. Javascript Cloaking | Javascript theft
    By zrekam in forum Web Security
    Replies: 4
    Last Post: August 21st, 2003, 09:43 PM
  3. JavaScript - Three Chapters
    By jethro in forum Other Tutorials Forum
    Replies: 5
    Last Post: November 3rd, 2002, 02:09 PM
  4. Difference between Java and JavaScript
    By Remote_Access_ in forum Security Archives
    Replies: 4
    Last Post: January 3rd, 2002, 10:11 PM

Posting Permissions

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

 Security News

     Patches

       Security Trends

         How-To

           Buying Guides