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.
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 ...
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 12:54 AM.
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...
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?
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
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.
~ 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