No error in IE 5.5 using Netscape specific

Discussion in 'Javascript' started by George Hester, Aug 21, 2004.

  1. Here is a small HTML

    <html>
    <head>
    <script type="application/x-javascript">
    //strBundleService = Components.classes["@mozilla.org/intl/stringbundle;1"].getService(Components.interfaces.nsIStringBundleService);
    //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.nsIStringBundleService);
    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
    __________________________________
     
    George Hester, Aug 21, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tom
    Replies:
    0
    Views:
    513
  2. Mickey Segal
    Replies:
    1
    Views:
    690
    Mickey Segal
    May 21, 2004
  3. =?Utf-8?B?SmF2?=

    Is ViwState Page-Specific or UserControl-Specific

    =?Utf-8?B?SmF2?=, Aug 16, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    572
    =?Utf-8?B?SmF2?=
    Aug 16, 2006
  4. mazdotnet
    Replies:
    2
    Views:
    424
    Alexey Smirnov
    Oct 2, 2009
  5. yaktipper
    Replies:
    10
    Views:
    304
    Richard Cornford
    Jul 10, 2003
Loading...

Share This Page