devxlogo

Netscape Does Not Support VBScript

Netscape Does Not Support VBScript

Question:

I recently rewrote my entire Web site using frames and VBScript to load the appropriate pages into the proper frame. My Web site looked fine in Internet Explorer, but in Netscape Navigator 4.5, it gave me “JavaScript” errors and the frames would not load the pages as they did in IE.

Needless to say, it was necessary for me to rewrite the VBScript into JavaScript in order for the site to function properly. What did I do wrong? Why didn’t the VBScript work in Netscape? Here is a sample of the VBScript I used:

Answer:

You did nothing wrong…you were just uninformed. In the early days of the browser war between Netscape and Microsoft, Netscape promised to include ActiveX functionality (including VBScript) to Navigator. It seems, however, that they never got around to it. Netscape Navigator does not natively support VBScript or any other form of ActiveX. That fact basically relegates the usefulness of client-side VBScript to only local intranets were IE will always be used and Navigator will never be used. The moral of this story is that if you want to write pages that will run in either of the major browsers, you should invest some time into learning JavaScript.

See also  Why ChatGPT Is So Important Today
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist