1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

my pop-up got blocked by firefox

Discussion in 'BlackHat Lounge' started by HugeMoney, Aug 29, 2011.

  1. HugeMoney

    HugeMoney BANNED BANNED

    Joined:
    Jun 27, 2009
    Messages:
    185
    Likes Received:
    38
    hello, i want a popup javascript or php code that dosn't get blocked by browsers or popup blockers !!

    thank you
     
  2. Troshi

    Troshi Senior Member

    Joined:
    Aug 19, 2011
    Messages:
    862
    Likes Received:
    105
    Occupation:
    Your job
    Location:
    Where you live
    It all depends on what people's browsers are configured to do.
     
  3. Crazy

    Crazy Jr. Executive VIP

    Joined:
    Jun 13, 2009
    Messages:
    640
    Likes Received:
    319
    Occupation:
    VB, C#, XHTML, CSS, PHP, MySQL, JavaScript, jQuery
    Location:
    Everywhere
    Create a div pop-up instead. It's technically not a "pop-up" but, it will serve the same purpose of catching the user's attention.
     
  4. HugeMoney

    HugeMoney BANNED BANNED

    Joined:
    Jun 27, 2009
    Messages:
    185
    Likes Received:
    38
    @Crazy

    div needs someone to click the link before it appears, I want a popup comes when someone close the website ( exit popup )
     
  5. Crazy

    Crazy Jr. Executive VIP

    Joined:
    Jun 13, 2009
    Messages:
    640
    Likes Received:
    319
    Occupation:
    VB, C#, XHTML, CSS, PHP, MySQL, JavaScript, jQuery
    Location:
    Everywhere
    Well no, it doesn't require user interaction at all. You could use the onLoad or onUnload attribute within the body element of the page to change the visibility of an existing div. In the onUnload attribute, I'm sure you could use JavaScript to suspend the action and show the div, allowing the user to close the window only after closing the "pop-up" div.
     
  6. HugeMoney

    HugeMoney BANNED BANNED

    Joined:
    Jun 27, 2009
    Messages:
    185
    Likes Received:
    38
    @ czary thanks

    but i'm not good in programming, i'm looking for something already exists :)
     
  7. livapetr

    livapetr Junior Member

    Joined:
    Oct 17, 2009
    Messages:
    179
    Likes Received:
    28
    Occupation:
    Seeking for bucks on the internet.
    Location:
    Oil-rich country
    If you take time to study jQuery (a javascript framework) for several hours you'll be amazed what you can do with a webpage using it, I mean it! The beauty of knowing it is you can do anything much faster than finding same thing on internet (if it even exists).