Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. JavaScript
  4. Enable pop up blocker using Javascript

Enable pop up blocker using Javascript

Scheduled Pinned Locked Moved JavaScript
javascript
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hi, I had written javascript code using window.open( ).I want to enable the pop-up blocker using javascript,instead enabling manually. Any idea. Guhananth.S

    T A 2 Replies Last reply
    0
    • L Lost User

      Hi, I had written javascript code using window.open( ).I want to enable the pop-up blocker using javascript,instead enabling manually. Any idea. Guhananth.S

      T Offline
      T Offline
      twseitex
      wrote on last edited by
      #2

      Javascript is readable code during parsing. Every body can turn on off popup blocker of browser .... easy way of full risk for user of browser. You want control GUI of browsers and popup-blockers with javascript during parsing of webpage - all browsers in same way --> in use of html DOM ? I think: NOT possible. So see http://www.w3schools.com/htmldom/dom\_intro.asp

      1 Reply Last reply
      0
      • L Lost User

        Hi, I had written javascript code using window.open( ).I want to enable the pop-up blocker using javascript,instead enabling manually. Any idea. Guhananth.S

        A Offline
        A Offline
        AprNgp
        wrote on last edited by
        #3

        Rather than that go with some css based pop-up. Like this one http://jqueryui.com/demos/dialog/#modal-message[^]

        Apurv If Java had true garbage collection, most programs would delete themselves upon execution.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups