Beating Firefox antipopup in javascript

Discussion in 'Programming General' started by Xjaa, Mar 23, 2008.

Beating Firefox antipopup in javascript
  1. Unread #1 - Mar 23, 2008 at 12:06 AM
  2. Xjaa
    Joined:
    Jan 21, 2007
    Posts:
    3,248
    Referrals:
    2
    Sythe Gold:
    0
    Lawrence Potamus

    Xjaa Penguin
    $100 USD Donor

    Beating Firefox antipopup in javascript

    Does anyone know how?
     
  3. Unread #2 - Mar 23, 2008 at 12:48 AM
  4. cp
    Joined:
    Jan 30, 2007
    Posts:
    3,278
    Referrals:
    6
    Sythe Gold:
    0

    cp an cat
    Banned

    Beating Firefox antipopup in javascript

    Java != Javascript

    Very odd, I was just helping someone on msn with this today.

    Firefox only allows popups that have been user-generated, such as clicking, typing, etc. You might need to generate an event yourself in order to get the popup. Why not just use <body onclick="window.open('etc')" /> instead? Sure, it requires a click, but it saves lines and lines of code.
     
  5. Unread #3 - Mar 23, 2008 at 10:39 AM
  6. Xjaa
    Joined:
    Jan 21, 2007
    Posts:
    3,248
    Referrals:
    2
    Sythe Gold:
    0
    Lawrence Potamus

    Xjaa Penguin
    $100 USD Donor

    Beating Firefox antipopup in javascript

    No way we could possibly be the same person, since we have the same avatar?
     
  7. Unread #4 - Mar 23, 2008 at 10:41 AM
  8. Xjaa
    Joined:
    Jan 21, 2007
    Posts:
    3,248
    Referrals:
    2
    Sythe Gold:
    0
    Lawrence Potamus

    Xjaa Penguin
    $100 USD Donor

    Beating Firefox antipopup in javascript

    No way we could possibly be the same person, since we have the same avatar?
    Does clicking on the [x] count as a click on the page
     
  9. Unread #5 - Mar 23, 2008 at 12:01 PM
  10. cp
    Joined:
    Jan 30, 2007
    Posts:
    3,278
    Referrals:
    6
    Sythe Gold:
    0

    cp an cat
    Banned

    Beating Firefox antipopup in javascript

    Oh.

    And no, it doesn't. :/
     
  11. Unread #6 - Mar 23, 2008 at 12:58 PM
  12. Xjaa
    Joined:
    Jan 21, 2007
    Posts:
    3,248
    Referrals:
    2
    Sythe Gold:
    0
    Lawrence Potamus

    Xjaa Penguin
    $100 USD Donor

    Beating Firefox antipopup in javascript

    what is a good way to get someone to click on the page, since it's going ot be a rickroll.
     
  13. Unread #7 - Mar 23, 2008 at 1:01 PM
  14. Xjaa
    Joined:
    Jan 21, 2007
    Posts:
    3,248
    Referrals:
    2
    Sythe Gold:
    0
    Lawrence Potamus

    Xjaa Penguin
    $100 USD Donor

    Beating Firefox antipopup in javascript

    What about onMouseover
     
  15. Unread #8 - Mar 23, 2008 at 2:48 PM
  16. cp
    Joined:
    Jan 30, 2007
    Posts:
    3,278
    Referrals:
    6
    Sythe Gold:
    0

    cp an cat
    Banned

    Beating Firefox antipopup in javascript

    onmouseover can be initiated without the user knowing, so Firefox disables it for popups.

    <body onclick='window.open("etc")'></body>

    If they click ANYWHERE on the page, then the popup will initiate.
     
  17. Unread #9 - Mar 23, 2008 at 3:10 PM
  18. Xjaa
    Joined:
    Jan 21, 2007
    Posts:
    3,248
    Referrals:
    2
    Sythe Gold:
    0
    Lawrence Potamus

    Xjaa Penguin
    $100 USD Donor

    Beating Firefox antipopup in javascript

    doesn't seem to work. msn? get on it <
     
  19. Unread #10 - Mar 23, 2008 at 9:00 PM
  20. speedster239
    Joined:
    Jan 21, 2007
    Posts:
    313
    Referrals:
    0
    Sythe Gold:
    0

    speedster239 Forum Addict
    Java Programmers

    Beating Firefox antipopup in javascript

  21. Unread #11 - Mar 26, 2008 at 9:14 PM
  22. Olan14
    Joined:
    Jan 26, 2007
    Posts:
    581
    Referrals:
    0
    Sythe Gold:
    0

    Olan14 Forum Addict

    Beating Firefox antipopup in javascript

    it is truly a shame for anyone to call you a programmer, for java atleast. 'your' updater is a rip of ollie's old aresbot updater, and every piece of java code you've posted, on here and on moparisthebest, breaks many standards and usually doesn't even compile. javascripts syntax very highly resembles java's own, except for 'syntactic sugar' that javascript adds to its language for no purpose what so ever.
     
< My Questions Topic | Suggest A Project... >

Users viewing this thread
1 guest


 
 
Adblock breaks this site