Results 1 to 4 of 4

This is a discussion on npruntime plugin not working in Chrome within the Chrome Tips & Tricks section, part of the Google Chrome category: I have an npruntime plugin that works fine on Firefox 3.6. It has a propert called memberId and I am ...


  1. #1
    sandeep is offline Junior Member
    Join Date
    Sep 2010
    Posts
    1

    Default npruntime plugin not working in Chrome

    I have an npruntime plugin that works fine on Firefox 3.6. It has a propert called memberId and I am able to get its value in firefox. Javascript code that gets this is as
    below.
    <embed type="application/x-Inforbit-Infotriever-Plugin-Ex" id="pluginId">
    <script>
    var plugin = document.getElementById("pluginId");
    var result = plugin.memberId; // call a method in your plugin
    document.write("my plugin returned: " + result);
    </script>
    How can I get this same plugin running in google chrome?
    Please let me know the installation procedure and Java Script code for the same

    Thanks,
    Sandeep

  2. #2
    silvertr is offline Junior Member
    Join Date
    Dec 2010
    Posts
    2

    Default

    any one has any idea ?

  3. #3
    PAEz's Avatar
    PAEz is offline Moderator
    Join Date
    Aug 2009
    Location
    Australia
    Posts
    656

    Default

    Its all completely beyond me, but first thing people slip on converting FF plugins for Chrome is you cant use XPCOM whatever that is (hope i got it right ).
    Also, looking at others working code can really help sometimes so heres two plugins by Google with source......
    http://code.google.com/p/chrome-download-helper/
    http://code.google.com/p/chrome-convenience-extension/
    ....good luck

  4. #4
    silvertr is offline Junior Member
    Join Date
    Dec 2010
    Posts
    2

    Default

    There are two ways for plugin desing first for FF only XPCOM the other one i am trying to do is NPRuntime..
    Extensions are completely different job.. they have manifest.json etc...

Similar Threads

  1. npruntime & addEventListener
    By Abhay in forum Plugins Development
    Replies: 1
    Last Post: 06-29-2010, 03:43 AM
  2. chrome not working
    By gstod in forum Chrome Troubleshooting
    Replies: 7
    Last Post: 06-01-2010, 04:47 PM
  3. Please Convert Scribefire Firefox Plugin into Chrome Plugin
    By solik in forum Plugins Development
    Replies: 7
    Last Post: 02-26-2010, 01:53 PM
  4. DivX Plugin not working (what file directory?)
    By Tabiri in forum Plugins Troubleshooting
    Replies: 0
    Last Post: 02-07-2010, 07:41 PM
  5. Googlepedia wikipedia plugin not working
    By dubfrontsidah in forum Plugins Troubleshooting
    Replies: 6
    Last Post: 06-17-2009, 07:15 PM

Posting Permissions

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