Results 1 to 2 of 2

Thread: webbrowser1 & javascript

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 1999
    Location
    Sarasota, FL, US
    Posts
    49

    webbrowser1 & javascript

    is there a way to disable javascript in webbrowser1? adn or popups

  2. #2
    Matthew Gates
    Guest
    To disable popup windows in the WebBrowser Control, use this code.


    VB Code:
    1. Private Sub WebBrowser1_NewWindow2(ppDisp As Object, Cancel As Boolean)
    2.     Cancel = True
    3. End Sub

Posting Permissions

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



Click Here to Expand Forum to Full Width