Welcome guest, is this your first visit? Create Account now to join.
Results 1 to 7 of 7

This is a discussion on Ask for a tutorial of chrome plugin (not extension) development within the Plugins Development section, part of the Chrome Plugins category: Many tutorials about chrome extension development but not plugins. Anyone can answer me, what's the relation between chrome plugin and ...


  1. #1
    K.L. is offline Junior Member
    Join Date
    Feb 2010
    Posts
    4

    Question Ask for a tutorial of chrome plugin (not extension) development

    Many tutorials about chrome extension development but not plugins. Anyone can answer me, what's the relation between chrome plugin and mozilla plugin? How to make a mozilla plugin working in chrome?

    Thanks for any help.
    Last edited by K.L.; 02-22-2010 at 01:54 AM.

  2. #2
    Skymt is offline Junior Member
    Join Date
    Nov 2009
    Posts
    20

    Default

    A Chrome plugin, is built using html and JavaScript. In essence, like a normal webpage.

    A Firefox plugin uses a language called XUL instead of html.

    There are also differences in how they are allowed to manipulate the browser interface, so direct porting is probably difficult.

    As an example, look at the difference in how the stumble-upon extensions work. In Firefox, the interface is allowed an entire toolbar, always visible. In Chrome, it is merely a button, that when pressed, creates an HTML toolbar, which gets injected into the page you are currently viewing.

    Some form of human back-engineering effort is probably a requirement...

  3. #3
    K.L. is offline Junior Member
    Join Date
    Feb 2010
    Posts
    4

    Default

    I heard that chrome can use firefox plugin directly, however, not extension. Such as flash player plugin, and O3D. It seems that's based on Mozilla plugins. But I have problem to get mozilla sample plugin work on chrome.

    Any idea about that?

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

    Default

    I have no idea about plugins in chrome (other than XPCOM does not work in chrome, alot of people trip on that one).
    But if you have a look around youll find some source examples that might help, heres some from google.code
    Some framework to help make plugins...
    http://code.google.com/p/nixysa/
    code...
    http://code.google.com/p/npapi-msdoc...wse/#svn/trunk
    http://code.google.com/p/nativeclien.../plugin/?r=932
    http://code.google.com/p/npapi-mdns/...ect/plugin/src
    http://code.google.com/p/selenium/wi...riverInternals
    Something on doing plugins for linux....
    http://code.google.com/p/chromium/wiki/LinuxPlugins
    ...got bored of looking for them, you may find more

    Theres also a post around here somewhere that I think I mentioned a couple more projects

  5. #5
    sarjoor is offline Senior Member
    Join Date
    Sep 2009
    Posts
    147

    Default

    No..... it's not that Chrome can use Firefox plugins, but rather Chrome can also use NPAPI plugins (which is also used by Firefox).

    So don't say based on "Mozilla plugins"; you mean based on NPAPI plugins.

  6. #6
    Waha's Avatar
    Waha is offline Senior Member
    Join Date
    Apr 2009
    Location
    Oregon
    Posts
    788

    Default

    Quote Originally Posted by Skymt View Post
    A Chrome plugin, is built using html and JavaScript. In essence, like a normal webpage.
    ...
    That'd be an extension, plugins are different in Chrome.
    See chrome://extensions vs. about:plugins
    ~ Projects ~
    Specialized: Carapass Auction Watcher, Kongregate Chat
    Libraries: bliplib
    Tools: manifest syntax highlighting & snippits
    ~ Happy to make extensions for pay too ;D ~
    Portfolio: Search and Share

  7. #7
    K.L. is offline Junior Member
    Join Date
    Feb 2010
    Posts
    4

    Default

    Quote Originally Posted by sarjoor View Post
    No..... it's not that Chrome can use Firefox plugins, but rather Chrome can also use NPAPI plugins (which is also used by Firefox).

    So don't say based on "Mozilla plugins"; you mean based on NPAPI plugins.
    I see, thanks.

Similar Threads

  1. Please Convert Scribefire Firefox Plugin into Chrome Plugin
    By solik in forum Plugins Development
    Replies: 7
    Last Post: 02-26-2010, 02:53 PM
  2. Chrome speed development
    By Benni in forum Chrome Talk
    Replies: 4
    Last Post: 10-24-2009, 06:36 PM
  3. Page Action development problems :x
    By henasraf in forum Plugins Development
    Replies: 7
    Last Post: 08-17-2009, 07:03 PM
  4. [Tutorial] Chrome IP
    By tutelagesystems in forum Plugins Development
    Replies: 4
    Last Post: 07-30-2009, 07:21 AM
  5. Tutorial: How to import bookmarks to Google Chrome
    By r4yd3n in forum Chrome Troubleshooting
    Replies: 0
    Last Post: 12-07-2008, 05:36 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
  •