Results 1 to 8 of 8

Thread: javascript popups in safari ajax callback methods

  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
    Senior Member nihil's Avatar
    Join Date
    Jul 2003
    Location
    United Kingdom: Bridlington
    Posts
    17,188
    @hiddeninclouds:

    Aaimie is a spamming account.....you already gave an answer

  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, 08: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, 03:09 PM
  4. Difference between Java and JavaScript
    By Remote_Access_ in forum Security Archives
    Replies: 4
    Last Post: January 3rd, 2002, 11: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
  •