computing
  • 0

Solved Vbscript To Close Particular Abs In Browser

  • 0

I need Vbscript to close a particular tab or multiple tabs in browser like Firefox.
.Thank uuuuuuuuuuuuuuuuuuuuu

Share

1 Answer

  1. No, it’s possible with IE. Consider the following VBScript:

    For Each w In CreateObject("Shell.Application").Windows 
      If InStr(1, w.LocationURL, "google", 1) Then _
        w.Quit()
    Next 'w

    How To Ask Questions The Smart Way

    • 0