Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > No error in IE 5.5 using Netscape specific

Reply
Thread Tools

No error in IE 5.5 using Netscape specific

 
 
George Hester
Guest
Posts: n/a
 
      08-21-2004
Here is a small HTML

<html>
<head>
<script type="application/x-javascript">
//strBundleService = Components.classes["@mozilla.org/intl/stringbundle;1"].getService(Components.interfaces.nsIStringBundleS ervice);
//pluginsbundle = strBundleService.createBundle("chrome://communicator/locale/plugins.properties");
//regionbundle = strBundleService.createBundle("chrome://communicator-region/locale/region..properties");
//alert(strBundleService);
//document.writeln("<title>" + pluginsbundle.GetStringFromName("title_label") + "<\/title>");
</script>
<script type="text/javascript">
//strBundleService = Components.classes["@mozilla.org/intl/stringbundle;1"].getService(Components.interfaces.nsIStringBundleS ervice);
alert('Hi');
</script>
</head>
<body>
</body>
</html>

In this you can see my attempts to get more the just a blank page.
In the second <script if I put back in strBundleService, there are no errors and 'Hi" doesn't appear.

As it is now 'Hi" does appear.

The first <script seems to do nothing at all.

I get "enabled" all over the place in this:

http://www.ece.mcgill.ca/~wentsern/lcr/plugins.html

but I really doubt it is a true indication of my browser IE 5.5 SP2.
Thanks.

George Hester
__________________________________
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Netscape 7.1 to Netscape 8 Skid Schermerhorn Firefox 2 09-05-2005 04:04 PM
Can't access Netscape mail with Netscape email client anymore. Mark Adams Computer Support 6 03-14-2005 03:31 PM
Accessing Netscape mail via Netscape mail client A. Toprak Computer Support 0 12-24-2004 06:46 AM
Netscape with JRE 1.5 beta 1 ignores Netscape signing Mickey Segal Java 1 05-21-2004 01:52 PM
websphere, oracle, netscape: netscape timeout Tom Java 0 08-01-2003 11:03 PM



Advertisments