Window Handle for plugin with xulrunner 1.9.2
Hi,
I do experience some issues with my plugin running with xulrunner 1.9.2
under Windows.
Seems to me, that NPP_SetWindow is not receiving a valid window handle
(in pNPWindow->window). I do subclass this window trying to receive
WM_PAINT messages but no success.
Everything works fine under xulrunner 1.9.1 (and older).
Any ideas?
Thanks in advance
Naish
|
3/9/2010 10:47:24 AM
|
1
|
naish <rob...@minzes.de>
|
|
How to read files using relative path
Hi there,
I am using nsiLocalFile to read a file. How do i specify the relative
file path? Currently i am specifying the full path like
file.initWithPath("c:\\myfolder\\testfile.xml").
I need relative path since i use it in various systems where myfolder
is not always under the c drive.
Thanks,
-AJ
|
3/6/2010 2:57:13 PM
|
0
|
AJ <ajithoffic...@gmail.com>
|
Problems with Firefox plugin registration in MS Windows
Hi,
I am trying to register firefox plugins in MS Windows using the
information that is provided in this link
https://developer.mozilla.org/en/Gecko_Plugin_API_Reference/Plug-in_Development_Overview#Registering
Plug-ins
I am installing my plugin in a folder other than {firefox}/plugins. I
made a registry entry under HKEY_LOCAL_MACHINE\Software
\MozillaPlugins. Now after I install the plugin I have to restart my
browser or else the browser doesnt detect the specified plugin. I
checked out unity3d plugin where it is getting installed and detected
even without restarting the brows
|
3/6/2010 10:40:19 AM
|
0
|
Pradip Bhattacharya <pradip.bhattacha...@gmail.com>
|
Event path in Mozilla plugin on Mac
I'm writing a mozilla plugin on the mac. I'm trying to capture events
like button clicks, etc. I've done the normal thing of creating my
views in inteface builder, and linking the sentActions to methods in
my program. This works in stand-alone programs.
However, in my NPAPI plugin, those methods never get called. The
button reacts, depresses, whatever, but it doesn't do its action.
Instead, the NPP_HandleEvent method gets called, but I never get the
MouseDown or MouseUp event, only the UpdateEvt.
I set up the buttons to accept clicks via: (superview is the Mozilla
view, topv
|
3/4/2010 7:46:54 PM
|
1
|
"bpos...@gmail.com" <bpos...@gmail.com>
|
FF 3.6 more or less stable?
The purported purpose (or at least one of them) of 3.6 was that it (my
words) sandboxed extensions more, and so it was less likely that a
rogue extension would take down Firefox as a whole.
Have any of you fellow developers found this to be true?
I'm trying to re-write a plugin that worked for years (but used
outdated libraries) and I seem to take firefox down at least 20 times
an hour.
Now, clearly debugging a buggy plugin is more likely to take down the
browser than a less buggy distributed plugin, but still, I don't
remember previous versions crashing quite this much, and the
|
3/2/2010 10:09:50 PM
|
8
|
"bpos...@gmail.com" <bpos...@gmail.com>
|
What is the type of instance->pdata->window.window->window on a mac?
an NPP struct has a pdata for private data, in most plugins I've seen,
pdata has a window field of type NPWindow.
NPWindow is a struct with a pointer to a window which is machine
dependant. On a mac, it is of type NP_CGContext.
NP_CGContext has a field called window which is a ... Something?
Mozilla docs seem to claim it is a WindowRef, which is a QuickDraw
type, and therefore not useful, because Quickdraw is only 32b and so
doesn't work in 3.6. I've inspected the data, and it does not APPEAR
to be a WindowRef...
Apple claims it is an NSWindow, but I've tested that, and when
|
2/25/2010 8:56:47 PM
|
3
|
"bpos...@gmail.com" <bpos...@gmail.com>
|
scrollbars in a plugin (mac)
I'm writing an image viewing plugin on mac. I have a CGContext, and I
can draw my image into that. I can create "buttons" out of PNGs and
capture mouse events (if I need to).
However, I don't know how to do scrollbars. Is there some way outside
of the CGContext to scroll what part of the context I'm viewing? or do
I have to do everithing WITHIN the CGContext? And if so, does that
mean that I need to implement scrollers myself manually like I'm
implementing buttons?
|
2/24/2010 7:40:21 PM
|
2
|
"bpos...@gmail.com" <bpos...@gmail.com>
|
How to loadbitmap file in plugin window on js call?
Hi,
I have html button onclick of that button I want to call Js
function and that function will some plugin's native method
in that method I want to load bitmap and display in plugin window.
I have added code on WM_Paint to load bitmap and display in plugin
window, but that works only first time when plugin loaded.
Now I want to to call this WM_Paint on html button click.
How to achieve this ? or How to update plugin window on JS call?
Regards
Varsha
|
2/24/2010 2:21:26 PM
|
0
|
varsha <varsh...@gmail.com>
|
How to load bitmap from file?
Hi,
In NPRUNTIME project, I have added code to load and display bitmap
inserted in resources which is successfully loaded and displayed in
plugin window. Now I want to load and display bitmap images stored in
my folder "C:\test\test.bmp" . For that I used following method to
load that image.
HBITMAP hBitmap = NULL;
hBitmap = (HBITMAP)LoadImage(hMod, szFilename, IMAGE_BITMAP, 0, 0,
LR_LOADFROMFILE | LR_CREATEDIBSECTION | LR_DEFAULTSIZE);
but I got hBitmap =null; then I checked GetLastError() which gaves me
error code 2- The system cannot find the file specified.
If any one kn
|
2/23/2010 12:55:18 PM
|
0
|
varsha <varsh...@gmail.com>
|
Plugin that communicate with an USB device
hello
I use a middleware in C language in order to communicate with an USB
device,
it works well outside the plugin, in order to compile I have to add a
library <Mylabrary.h> in the code and i compile with gcc $(pkg-config
--cflags --libs libMylabrary) test.c -o test
when i execute ./test, this works fine, I can communicate with my
device....
But if I take the same code and I import it in the "basic" plugin:
[1], i put my code at the end of the fonction "drawWindow", when I
download this plugin with firefox, and when I go on the html page that
invoke the plugin, firefox crash !
If
|
2/22/2010 4:10:34 PM
|
0
|
pierre jaimes <pierre.jai...@gmail.com>
|
Compile common example for unix
Hello,
I try to compile the common example for unix :
http://mxr.mozilla.org/seamonkey/source/modules/plugin/tools/sdk/samples/common/
but I don't know how...
the only one i can to compile is the "basic" example: I let in the
repository of the mozilla source code:
mozilla-1.9.2/modules/plugin/sdk/samples/basic/unix
and I run "make"
but for the "common" example there's only a makefile.in, and for the
"unixprinting" example too...
regards
|
2/22/2010 3:44:21 PM
|
0
|
pierre jaimes <pierre.jai...@gmail.com>
|
Firefox Extensions and MySQL
Hi All
Apologies if this question has been asked in the past but I would really
appreciate some pointers.
I'm trying to develop an extension for Firefox which is custom made to my
workplace.
I need the extension to connect remote MySQL database and save some data to
MySQL databases.
And I try to using jdbc to connect database , but it's failed .
what I need is some advice on how to let JDBC with javascripts running
inside Firefox ?
or do you have any idea ?
any help will be appreciated !!
Thanks
Andrew
|
2/22/2010 12:21:09 PM
|
0
|
"andrewarnier" <andrewarn...@gmail.com>
|
Firefox Extensions and MySQL
Hi All
Apologies if this question has been asked in the past but I would really
appreciate some pointers.
I'm trying to develop an extension for Firefox which is custom made to my
workplace.
I need the extension to connect remote MySQL database and save some data to
MySQL databases.
And I try to using jdbc to connect database , but it's failed .
what I need is some advice on how to let JDBC with javascripts running
inside Firefox ?
or do you have any idea ?
any help will be appreciated !!
Thanks
george
|
2/22/2010 12:03:50 PM
|
0
|
"george.tovrea" <george.tov...@gmail.com>
|
How to Load and Draw bitmap in plugin window?
Hi,
I am new to this plugin development. I checked "An OpenGL Sample as
Firefox Plugin" and npruntime and successfully build these
two project.
But when I tried to load to change npruntime plugin to load and
display bitmap in plugin window that gaves me system error on
loadbitmap function error code is ERROR_WAS_UNLOCKED 715 (0x2CB).
{Page Unlocked} The page protection of a locked page was changed to
'No Access' and the page was unlocked from memory and from the
process. I don't why this error occurred there .
I want to simply load and display bitmap in plugin winodw Is this
p
|
2/22/2010 7:12:19 AM
|
0
|
varsha <varsh...@gmail.com>
|
Mozilla-webkit? (on mac)
Is it possible to get Firefox to use a webkit based plugin? or do I
still need to use NPAPI? Is that even the correct dichotomy?
|
2/19/2010 4:47:34 PM
|
3
|
"bpos...@gmail.com" <bpos...@gmail.com>
|
Objective C plugin sample?
I'm trying to re-write an old image-viewing plugin for the mac. The
old version uses QuickDraw (I said it was old) and resources (really
really old) and so it doesn't work in Firefox 3.6 (which is why I'm
re-
writing it)
I know some Objective C, and so I figure I'm going co re-write this in
that using new-fangled Mac routines and nibs, etc. However, I don't
know how to start. I've got the BasicPlugin example that comes with
mozilla source, so I know how to create a plugin with entrypoints,
etc. However, I don't know how to create the nib, and how to interface
Obj-C with the entrypo
|
2/18/2010 10:14:47 PM
|
0
|
"bpos...@gmail.com" <bpos...@gmail.com>
|
IPC to a plugin (on linux)
I'm writing an x86 sandbox plugin (similar to Nativeclient, except with a
lighter interface to the outside world)
For example, what I have now http://pastebin.ca/1775523
generates http://i.imgur.com/5tGBv.png in-browser.
It runs the plugin code in a sandbox host process, With shared memory
segments for transfer of information.
I'm now at the point where I'm implementing the ability to call
javascript from the native code. Getting the data across isn't too much
of an issue, and the tests I've done suggest I'm all good with my code
for doing invoke on NPObjects,
|
2/17/2010 6:36:03 PM
|
0
|
Neil Graham <l...@screamingduck.com>
|
Cannot display Core Animation content.
Good morning to everyone. I don't know if this is the right place where =
ask. Sorry.
I'm developing a plugin on OSX 10.6 .
I'm trying to display Core Animation Content.
I've seen in the example named "BasicPlugin" that I can display content =
using the CGContextRef given by event->data.draw.context, where event is =
a NPCocoaEvent*.
Now I tried to do almost the same with my layer, obviously trying to =
cast and convert the CGContextRef to the type I really need =
(CGLContextObj). What I'm asking here is:
is the right way to do it? Or maybe should I create my own NSView, try =
to bi
|
2/14/2010 11:14:49 AM
|
0
|
Gino <ginofiliber...@yahoo.it>
|
Quickdraw no longer supported in FF 3.6? (mac)
Generalization of my previous question: Are Quickdraw routines no
longer supported in FF 3.6?
I know it's ancient tech, but it worked. And this means I have to re-
write a 15-20 year old product... arg.
Can someone confirm this for me so I can stop trying to figure out why
it doesn't work and just start re-writing it?
thanks.
|
2/11/2010 8:51:14 PM
|
0
|
"bpos...@gmail.com" <bpos...@gmail.com>
|
Mac plugins: GetWindowFromPort no longer supported?
I'm mantaining an ancient Mac plugin. It uses GetWindowFromPort to get
a WindowPtr object out of the NP_Port object which is the platform
specific window data in the WidowPtr object.
NP_Port object is non-null as is the port field (CGraphPtr) of that
object. However, without GetWindowFromPort, I no longer know how to
get a WindowPtr from a CGraphPtr...
I'll ask this on mac sites as well, but in case there is a Mozilla
specific issue here... It worked in 3.5.7, but not 3.6...
|
2/11/2010 4:41:37 PM
|
0
|
"bpos...@gmail.com" <bpos...@gmail.com>
|
Compiling basicplugin as C++ fails?
I'm trying to turn the basicPlugin that comes with Mozilla into my
(previously working) plugin.
After many attempts, I seem to have worked it out. For some reason, if
I compile basicPlugin.cpp as c it works fine. If I compile it as c++
it fails.
Does anyone know why this would be?
(I was doing this because a bunch of my files started out as c, but
turned into c++, so they have .c extensions, but, for example,
overload functions..., so I compile everything as c++)
thanks.
|
2/9/2010 7:04:53 PM
|
0
|
"bpos...@gmail.com" <bpos...@gmail.com>
|
Scriptable Plugin in 3.6 Fails - NPPVpluginScriptableInstance removed?
I have a scriptable plugin that conforms to the following API...
http://www.mozilla.org/projects/plugins/scripting-plugins.html
It works in Firefox 2.0 all the way to Firefox 3.5, but now no longer
works om 3.6. The plugin is installed, goes through the proper
NP_Initialize, NP_GetEntryPoints, NP_Shutdown, etc. , and it shows up
in the Addons / Plugins page, so all appears ok. But, the NPP_GetValue
NPPVpluginScriptableInstance and NPPVpluginScriptableIID are no longer
called. I do get the call for
NPPVariable.NPPVpluginScriptableNPObject call, but that is the only
one.
So,
|
2/5/2010 4:06:31 PM
|
0
|
"ronscottlang...@yahoo.com" <ronscottlang...@yahoo.com>
|
Plugins fail in 3.6 on Mac?
I just upgraded my mac to Firefox 3.6, and now neither of my TIFF
Viewing plugins work.
in 3.5, If I had Quicktime on, then I'd get the tiff, viewed through
quicktime. If I had Quicktime disabled, but my own plugin,
AcellViewTIFF enabled, then I would get ViewTIFF viewing the TIFF.
Since I'm the author of ViewTIFF, That's how I had it most of the
time.
After I upgraded to 3.6, if ViewTIFF is enabled, I just get a blank
space. if ViewTIFF is disabled, no matter whether or not Quicktime is
enabled, it goes straight to preview.
This is an NPAPI plugin, I've removed or commented ou
|
2/4/2010 4:20:07 PM
|
0
|
"bpos...@gmail.com" <bpos...@gmail.com>
|
How can the NPAPI basic demo work with QtWebkit??
the plugin is got from
mozilla-1.9.2/modules/plugin/sdk/samples/basic/unix/ , it's the Basic
Demo of NPAPI, and I am working in linux(ubuntu)
it's work well in firefox, and google's Chrome, but it cannot work in
QtWebkit. When I run the Demo test page , I got some infomation from
terminal, see below.
** (<unknown>:3020): DEBUG: NP_Initialize
** (<unknown>:3020): DEBUG: NP_Initialize succeeded
** (<unknown>:3020): DEBUG: NP_Initialize
** (<unknown>:3020): DEBUG: NP_Initialize succeeded
** (<unknown>:3020): DEBUG: NP_Initialize
** (<unknown>:3020): DEBUG: NP_Initialize succeeded
**
|
1/28/2010 2:59:24 AM
|
0
|
michael young <mcyg...@gmail.com>
|
NPAPI Firefox plug-in on Mac OS and CGrafPtr
Hello everyone
We are developing 3D plug-in applications on many browser and OS and we have
some problems with Firefox on Mac. On Windows with Firefox and Internet
Explorer we use the HWND to create some DirectX or Open GL context on our
graphic engine. On Safari Mac we use the Apple Webkit to create a plug-in
with an NSView. But we are in trouble with Firefox Mac NPAPI because we are
new with Mac programming.
We start with one of the sample plug-in for Mac in Firefox sources and we
save the NPWindow of the NPP_SetWindow method. The NPWindow contain an
NP_Port which contain a CGra
|
1/26/2010 9:57:46 AM
|
0
|
"Thibaut Dubien" <tdub...@krysalide.fr>
|
Mozilla Web Browser Document object can't set with HtmlDocument
Hi,
Currently I am working on the the automate the IE and Its working
really very fine. But with IE only. I also want to automate the
Mozilla web browser.
For IE I have write down the following code.
General:
Public WithEvents IE As SHDocVw.InternetExplorer
Public WithEvents HtmDoc As HTMLDocument
'' Open one standard exe and in form1 Put one List Box and one command
button. Copy and paste the below code in the form 1
***********************************************************************************************************************************
Private Sub CreateIE()
|
1/25/2010 9:20:43 AM
|
0
|
Shah Sanket <snkt.s...@gmail.com>
|
extending browser namespace with NPAPI/making scriptable object available default
Hi,
is it possible to extend namespace of browser? Say I have List as
scriptable plugin and once plugin new happens I can create List
object. So this point instead of user asking for object(HTML- embed or
object ), I want "list" available by default. May be I need to add
little initialization script but I can't find any information about
how to do this.
So if you have any idea or done something similar, pleasr reply
cheers
Digambar
|
1/25/2010 9:09:41 AM
|
0
|
Digambar Rasal <movewr...@googlemail.com>
|
how to accessing java ?
Hi all ,
I currently have some Java classes. Instead of converting them to
Javascript, I am exploring of using Java XPCOM or Liveconnect to connect js
and java into a firefox extension.
However, I find some news about Liveconnect is not longer going with
firefox 3.6 , is it true ?
And anyone knows what's the difference about javaxpcom and liveconnect ? if
you have any suggestion about develop java in firefox extension , please
let me know!
Any help will be appreciated,
Thanks,
Andrew
|
1/24/2010 3:15:18 PM
|
0
|
"andrewarnier" <andrewarn...@gmail.com>
|
How Flash plugin Events are handled
Hi,
I am new to Firefox and using ubuntu to debug firefox.
On linux version of Firefox, whenever click happens inside a flash
plugin window, then who passes click event to flash plugin (Browser or
OS) .
regards,
Kailas
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4779 (20100117) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
|
1/23/2010 2:00:01 AM
|
0
|
Kailas <pati...@comp.nus.edu.sg>
|
How to see the xpt file ?
Hi all,
How to see the xpt file ? can I convert xpt format file to idl format file ?
Thanks,
|
1/20/2010 9:53:45 AM
|
0
|
"george.tovrea" <george.tov...@gmail.com>
|
Java Programming - Communicating with firefox
Hi all,
I hope this is the right place to ask this, I couldn't find a more specific
forum to post this question and went with the most generic one.
I want to make a java application which will be able to communicate with a
firefox extension.
The two should not be depended on each other, but when both are running they
will be able to find and communicate with the other.
I'm searching and reading anything I can find on the subject and I got
confused as for what is the way to do this.
Should I use LiveConnect or create a XPCOM in java?
Chee
|
1/19/2010 5:38:23 AM
|
0
|
"george.tovrea" <george.tov...@gmail.com>
|
Error calling method on NPObject!
Hi ~
When I install firefox extension from
http://simile.mit.edu/repository/java-firefox-extension/
But when I install java-firefox-extension-2.0.0.xpi then restart firefox ,
It's shown me the msg as follows :
Error calling method on NPObject! [plugin exception:
java.lang.IllegalArgumentException:
No method found matching name newInstance and arguments
[com.sun.java.browser.plugin2.liveconnect.v1.JavaNameSpace,
java.lang.Integer]].
Any help will be appreciated !
Cheers,
Andrew
|
1/18/2010 8:53:16 AM
|
0
|
"andrewarnier" <andrewarn...@gmail.com>
|
can I call other program via myextension.js
Hi all,
I want to develop a firefox extension, can I call other program via
myextension.js ?
Is it possible ?
Any help will be appreciated !!
Andrew
|
1/15/2010 5:43:17 AM
|
0
|
"andrewarnier" <andrewarn...@gmail.com>
|
How to define file path in plugin.cpp?
hi friend ~
i am new to firefox develop .
1. What is the difference between a firefox plugin, a add-on, and an
firefox extension?
2. I've create a firefox plugin using npruntime and it's work
fine .Now I want to add a method in plugin.cpp that call a excute
file , but how to define the excute file path when I package it into
an XPI file?
|
1/12/2010 7:29:08 AM
|
1
|
andrew <andrewarn...@gmail.com>
|
Which GTK+ is the distributed Firefox built with?
Which GTK+ is the distributed Firefox-3.5.6 built with?
Problem with plugins with self compiled FF
If built in Gnome 2.26.3 everything works fine
Built FF in Gnome 2.28.1 Adobe flash-plugin stopped working
(crash on startup?) Gnash built in same environment works
That FF doesn't start in a Gnome 2.26.3
Upgrading to Gnome 2.28.2 same FF runs fine but
that Gnash stops working too
Recompiling in 2.28.2 made it working again
Downloading a precompiled FF, Adobe and Gnash both work again
Looks like some subtle but fatal differences
I did a rpm -q --reguires mozilla-compiled-fi
|
1/5/2010 7:18:26 PM
|
0
|
tjoen <tj...@dds.invalid>
|
Multi-Process plugin
Hi guys,
I wanna test Multi-Process plugin so I downloaded firefox-3.7a1pre.en-
US.win32.installer.exe which was one of latest trunk and went to c:
\program files\Minefield\defaults\pref. I opened firefox.js and
changed pref("dom.ipc.plugins.enabled", false); to true. I wanna know
if I need to change pref("dom.ipc.tabs.enabled", false); also to
true.
Best Regards
Nilson
|
1/1/2010 3:38:07 AM
|
1
|
20v <amigo.do.no...@gmail.com>
|
Android Webkit plugin - Java access ?
Hi,
has anybody tried to access Java class from Android Webkit plugin?
I am trying to do but there is no reliable way to access with JNI. So
if anybody has tried please reply.
here is example of what I want -
JS in webage access plugin and plugin accesses JAVA class/application
to access Android platform.
Regards
Digambar
|
12/29/2009 3:55:40 PM
|
0
|
Digambar Rasal <movewr...@googlemail.com>
|
Employment Opportunity
Hello,
Are you still looking for a job ? Respond back to
barrysteve77@gmail.com only if you are a very hard working and serious
type. I have a job opportunity available.
Regards,
|
12/23/2009 8:20:14 PM
|
0
|
Barry <barrystev...@gmail.com>
|
Employment Opportunity
Hello,
Are you still looking for a job ? Respond back to
barrysteve77@gmail.com only if you are a very hard working and serious
type. I have a job opportunity available.
Regards,
|
12/23/2009 8:19:27 PM
|
0
|
Barry <barrystev...@gmail.com>
|
How does mozilla supports activex
I have come across some sites which says that mozilla can now support
activeX content. but mozilla supports Netscape plugin.Does netscape
plugin supports activex? If yes what type of interface is used by
netscape plugin? where will i get the sorce code for the same
|
12/23/2009 3:23:04 PM
|
1
|
nehal <snehal.p...@gmail.com>
|
Asynchronous plugin instantiation
Plugin instantiation in gecko is asynchronous, e.g.
var p = iframe.contentDocument.createElement('embed');
p.setAttribute('id', 'plugin1');
p.setAttribute('type', 'application/x-test');
p.setAttribute('width', '400');
p.setAttribute('height', '400');
p.setAttribute('drawmode', 'solid');
p.setAttribute('color', 'FF00FFFF');
dump('before appendChild, p.setColor: ' + p.setColor + '\n');
iframe.contentDocument.body.appendChild(p);
dump('after appendChild, p.setColor: ' + p.setColor + '\n');
// force reflow to instantiate the p
|
12/22/2009 2:59:10 PM
|
2
|
Benjamin Smedberg <benja...@smedbergs.us>
|
e10s-plugins will not merge to mozilla-central any more
I've decided not to "merge" the plugin changes from electrolysis to
mozilla-central any more. The gymnastics necessary were good for the initial
commit to preserve blame, but are creating more confusion than help now.
Checkins to OOPP now need to happen in mozilla-central. Feel free to land
them first in the Electrolysis branch if you'd like to get additional
testing. Normal review rules apply in either case.
After pushing changes to mozilla-central, please also update this wiki page:
https://wiki.mozilla.org/Plugins/OOPP_Branch_Tracking
I'm using this page to track all the
|
12/21/2009 5:21:55 PM
|
0
|
Benjamin Smedberg <benja...@smedbergs.us>
|
npruntime bug, plugin object deleted twice on CPlugin::init failure
While hacking about in the debugger with the error paths on my
npruntime based plugin, I discovered what looks like a bug in
NPP_Gate.cpp, NPP_SetWindow:
NPError NPP_SetWindow (NPP instance, NPWindow* pNPWindow)
....
CPlugin * pPlugin = (CPlugin *)instance->pdata;
if(pPlugin == NULL) return NPERR_GENERIC_ERROR;
// window just created
if(!pPlugin->isInitialized() && (pNPWindow->window != NULL)) {
if(!pPlugin->init(pNPWindow)) {
delete pPlugin; // BUGBUG remove, let NPP_Destroy take
care of it.
pPlugin = NULL; // BUGBUG remove, pPlugin is a local
var
|
12/20/2009 3:52:48 PM
|
2
|
Reed Bement <read.huxl...@gmail.com>
|
Status bar updates fail after using NPN_GetURL
For more details see similar problem after NPN_PostURLNotify hit by
another developer: http://forums-test.mozillazine.org/viewtopic.php?f=27&t=757625
Using the Gecko API:
Using NPN_Status or JavaScript to updated the status bar works fine
until a call to NPN_GetURL(mNpp, "http://192.168.1.126/~reedb/
render.php", NULL); is made.
After the post has completed, and called successfully
NPP_DestroyStream, the status bar displays "Transferring data from
x...".
All calls to update the status bar text now fail (NPN_Status is a void
function unfortunately). The only thing that will clea
|
12/20/2009 3:30:26 PM
|
4
|
Reed Bement <read.huxl...@gmail.com>
|
Multiprocess plug-ins, is this integrity levels yet?
Is the new multi-process stuff based on Windows integrity levels, or
does it use them to run firefox sandboxed? If not, will this EVER be
added?
|
12/19/2009 4:36:25 AM
|
1
|
James Gentile <jamesraymondgent...@gmail.com>
|
Array of Objects
Hi,
I am writing scriptable plugin and I am sure lot of people must have
faced similar problem.
I need to pass Array from Javascript and return Array of NPObjects to
Javascript from NPAPI plugin. But there is not documentation about how
this is achieved.
please reply if you think of something or have documentation links or
sample code.
cheers,
Digambar
|
12/17/2009 3:34:39 PM
|
3
|
Digambar Rasal <movewr...@googlemail.com>
|
xulrunner 1.9.1.4 and Adobe Flash Plugin problem
I had posted the question in dev.support.firefox but no answers.
System: a DIY Linux x86
Gnome 2.28.1
xulrunner 1.9.1.4 with .mozconfig:
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir
mk_add_options MOZ_CO_PROJECT=xulrunner
ac_add_options --prefix=/usr
ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --with-system-jpeg
ac_add_options --with-system-zlib
ac_add_options --with-system-bz2
ac_add_options --enable-application=xulrunner
ac_add_options --disable-javaxpcom
ac_add_options --disable-installer
ac_add_options --disable-tests
ac_add_options -
|
12/17/2009 7:42:35 AM
|
0
|
tjoen <tj...@dds.invalid>
|
How to embed an application into Firefox viewport?
Hi guys,
We are setting about embedding a client application into Firefox viewport.
It is the final effect that we drag a given file into browser and then the
application startup,
which is the same as AdobeReader embedded in browser reading PDF.
We have done it in IE. Firstly we wrote some information to registry.
With a given file's being dragged into browser,
main program (non-plugin) run in embed mode inside the viewport.
How to achieve it in Firefox?
Thanks~
|
12/17/2009 5:20:45 AM
|
3
|
Mars Depp <mars.d...@gmail.com>
|
Regarding Multi-Process Plugins
After enabling the Multi-Process Plugins, my youtube crashes very
often. I am not sure which plugin is triggering this..
|
12/17/2009 4:35:59 AM
|
3
|
Vids <vid...@gmail.com>
|
Any example of writing an NPAPI plugin in Linux?
Hi, all
I need to write a browser plugin to communicate with another process,
and it seems I have to use NPAPI plugins. Is there any example or open
source NPAPI plugin I can refer to?
Many thanks for your reply.
|
12/15/2009 12:04:10 PM
|
1
|
ZelluX <zel...@gmail.com>
|
How To get the plugin Installation Path?
Good Day,
I need to know how a plugin can know the path to the folder where it
is installed.
I'm targeting MicroSoft Windows as OS and as far as I know, NPAPI has
no methods to read registry values and any call to Microsoft SDK
registry functions immediately disables the plugin.
Obviously "GetCurrent" only gets the installation path of Mozilla
executable.
I need to have a installation path in order to acquire a configuration
file that gives the plugin additional info on where a custom cache
folder is located.
I'm pretty sure that ADOBE plugins use custom cache folders so the
|
12/11/2009 5:03:18 PM
|
3
|
Luca Cerutti <luca.cerutti...@gmail.com>
|
mozilla plugin on mac
Hi,
I can not get firefox on mac osx 10.6 to load the npcomplex sample I
built. I drop the plugin file called libnpcomlex.dylib into ~/Library/
Internet Plug-Ins
Do I need an Info.plist file for this to work.
By not loading I mean I do not see it when I type about:plugins in the
browser URL.
EM
|
12/11/2009 3:07:08 PM
|
1
|
enda man <emann...@gmail.com>
|
NPObject to NPObject initilization
In a plugin say video, after initilization of base object, further
objects are created by NPN->CreateObject.
As CreateObject just takes Class variable as arguement, is it
possible to send some initilisation data so that on allocate it can be
used in next class.
Here is snippet -
in main plugin instace -
NPP_New
{
ObjectA = NPN_CreateObject(npp, getClassA)
}
in Object/Class A on invoke API_abc
API_abc(args)
{
ObjectB = NPN_CreateObject(npp, getClassB);
}
So If I have to initlise data at Object B from Object A at creation
what is best way ?
Regards
|
12/10/2009 6:29:40 PM
|
4
|
Digambar Rasal <movewr...@googlemail.com>
|
Flash Player 10 plugin and standard NPAPI
Flash Player 10 has new features and optimizations.
In order to enhance some of the optimizations, browser needs to notify
plugin visibility status to Flash plugin instance. It will be nice
that there will be standard API to handle this issue.
What is the Mozilla policy? Is it possible to extend NPAPI in order to
support the new feature?
thanks,
Alessandro
|
12/10/2009 12:56:02 PM
|
2
|
alessandro <alessandro.cogli...@gmail.com>
|
Need testers for Firebreath cross-browser plugin framework
All,
Not trying to spam the list, but a few months ago I posted a little
note mentioning an open source project that I had just started called
Firebreath (http://code.google.com/p/firebreath/). Firebreath is
intended to be a cross-platform, cross-browser plugin framework. I
posted before requesting interested developers lend a hand =] Thank
you to those who responded (not many, but that's not surprising).
Firebreath is now approaching it's first release. We're not quite to
what I would consider an actual beta, but we're far enough that you
can make a plugin with it, provide in
|
12/10/2009 7:28:38 AM
|
0
|
taxilian <taxil...@gmail.com>
|
howto create a high performance DIV scroller
Hello,
I am a seasoned programmer, new to Netscape plugin development. After =
several days of spelunking the Mozilla SDK sites, I decided it was time =
to cry for help.
The objective is to create a DIV scroll profile which simulates that of =
the iPhone. I have searched and found several JavaScript animation =
libraries. I was able to prototype the functionality by animating the =
ScrollTop attribute of a DIV tag. Although this worked on the desktop, =
it does not perform well on the target which is an embedded device. (the =
target browser is Opera)
The next step is to try th
|
12/8/2009 9:15:06 PM
|
0
|
Allen Curtis <ajcur...@ac2enterprises.com>
|
Plugin on OSX
Good morning everyone.
Does anyone know, if it's possible to use Core Animation in a firefox =
plugin, or if it's still unsupported? Maybe minefield?
Thanks in advance
G.=
|
12/8/2009 10:16:04 AM
|
0
|
Gino <ginofiliber...@yahoo.it>
|
manually install plugin
Hi,
I wrote a plugin and packaged it into an XPI file. I have the
following tag on my html page used to install the plugin installer.
<object type="application/x-mypluginapp" id="plugin" width="0"
height="0" codebase="webphone.xpi"> </object>
After I navigate to my web page, it detects there is no plugin
installed and I click the button "Install Missing Plugin" A dialog box
titled
"plugin finder service" pops up. Then on this form I have to hit
another button called "manual install" to actually install the plugin.
Hitting the manual install button then opens another browser
|
12/1/2009 1:11:45 PM
|
0
|
enda man <emann...@gmail.com>
|
Can plugins interpret the HTML script tag?
Hi,
I started working on an NPAPI plugin to embed non-javascript languages
into HTML. The idea was to implement a system like FastCGI, but
client-side. When the plugin started, it would start the interpreter
program and use sockets to communicate.
The goal was for this plugin to be able to interpret scripts such as
<script type="application/x-myscript">
interesting non-javascript code here
</script>
Unfortunately, these scripts are not passed to my plugin (using FF
3.0.x), even after it is loaded by an <embed
type="application/x-myscript">. I could presumably have ja
|
11/29/2009 6:56:24 AM
|
10
|
D Herring <dherr...@at.tentpost.dot.com>
|
Re: Google Maps and Adobe Flash
To Mike:
Flash plug-in can get a scriptable object from your application via
NPN_GetValue(... , NPNVWindowNPObject, ...). You should return a real
(maybe you have a javascript engine in your app), or just a virtual
(your own simple implementation) scriptable object. Then the plug-in
will call NPN_Invoke with method name "_DoFSCommand" and exactly 2
arguments of NPVariantType_String. Those arguments will be the actual
command and its argument.
|
11/23/2009 11:11:10 AM
|
1
|
iUm <incorrect.us...@gmail.com>
|
Problem registering a scriptable extension
I'm trying to create an NPAPI plugin, packaged as extension, and so
far I cannot even get my code to run (I put debug breaks in all 3
exported functions: NP_GetEntryPoints, NP_Initialize and NP_Shutdown,
and they haven't been hit).
When I feed Firefox 3.5.5/Windows with an XPI archive, the extension
seems to get installed - at least, it appears in the extension list.
Also, I can see my interface in xpti.dat file, and it is present in
Components.interfaces at runtime.
But when I'm trying to call a native method from JavaScript, it gives
an error: someFunc is not a function.
|
11/14/2009 1:10:39 AM
|
1
|
rincewind <cctv.s...@gmail.com>
|
How to get directory in wich plugin is installed (or current profile)
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigE35AC2521859AA7A208928AA
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable
Hello list,
I develope a plugin for firefox (in c++). Plugin is installed via XPI in
~/.mozilla/firefox/xxx.default/extensions/plugin@company/
Now how can I find in plugin in which directory is plugin installed?
Maybe there is a API function to get a current profile name of running
instance? In that case I can find a plugin directory too.
Thank you for your help.
--=20
Oleksandr Shneyder
|
11/13/2009 1:16:23 PM
|
5
|
Oleksandr Shneyder <oleksandr.shney...@obviously-nice.de>
|
asynchronous browser calls on mac osx with cocoa event model
Hi,
when using the carbon event model, you can solve asynchronous calls
into the browser on mac osx via the null event - but has anybody got a
good solution when using the cocoa event model?
I'll try out an objective-c wrap-up utilizing NSObjects
performSelectorOnMainThread tomorrow and see how that goes, but if
possible i'd like to avoid that c++ -> obj-c -> c++ bridging.
At the moment i am primarily concerned with safari.
Regards,
Georg
|
11/9/2009 7:40:11 PM
|
0
|
Georg Fritzsche <georg.fritzs...@googlemail.com>
|
Google Maps and Adobe Flash
Hi,
i'm developing a standalone Flash player for Linux based on
libflashplayer.so and it's almost finished, but i've encountered an
interesting problem with Google Maps Street View drawing in windowed
mode (via XEMBED). Actually, i call NPP_SetWindow with right width and
height (i.e. the width and height of GtkWindow above which the GtkSocket
is situated) like for any other flash movie, but on Google Maps i can
see the world bihind a gray rectangle which usually serves as a border
(see http://imageshare.web.id/images/4cxzto3lqyotmloy7o.png ). That
rectangle is always 800x500
|
11/9/2009 6:29:02 PM
|
2
|
iUm <incorrect.us...@gmail.com>
|
Installing plugin as extension text
Hi,
I have a plugin packaged as an xpi extension installer. I use the
following Javascript object tag to determine if the plugin is
installed.
<object id="WebIPlugin" type="application/webItype" width="0"
height="0" codebase="webIType.xpi"></object>
Everything works fine and the plugin installs and works. Only thing
is during the install I see this text:
Unknown Plugin (application/webItype) followed by a button with
text "Manual Install"
How can I replace the text "Unknown Plugin"
Thanks,
EM
|
11/9/2009 4:24:26 PM
|
0
|
enda man <emann...@gmail.com>
|
How to modify plugin properties?
Hello,
I'm coding a plugin with some methods and properties.
I found how to get properties in javascript, but I'm blocked on how to
set properties.
In the javascript, I've done :
pluginobj.lge.value = 15;
but the plugin method ScriptablePluginObject::SetProperty was not
called.
I do something wrong ?
Thanks for your help.
Philippe
|
11/6/2009 3:27:59 PM
|
4
|
philou <rayna...@gmail.com>
|
Firefox extension with XPCOM using cygwin
Hi there,
I have FF extension compiled and linked by MSVC, but one part is
compiled with cygwin's gcc. When I run it in FF and try to call some
cygwin's function, browser completely freezes. Compilation & linking
are without any errors and dependency walker says that final .dll is
also ok. So what could be wrong?
Thanks
Zb.
|
11/4/2009 6:30:49 PM
|
0
|
zmichl <zbynek.mi...@nic.cz>
|
Cannot find NP_Shutdown
Summary: In my minimal plugin project, Firefox hits NP_GetEntryPoints, but
then crashes stating it can't find NP_Shutdown.
I have npbasic running through the debugger with gecko SDK 13, and that
seems to work fine. I'm trying to do pretty much the same thing in my own
project. It seems to want to use gecko SDK 16, and it hits a breakpoint in
NP_GetEntryPoints, but then crashes in pr_FindSymbolInLib (according to the
symbol server). It never gets to NP_Initialize.
As far as I can tell, both projects are set up identically, and depends
shows the exports are identical. Both thes
|
11/3/2009 1:12:46 AM
|
1
|
"John Scott" <john.sc...@epicgames.com>
|
no calls after NPP_New on mac osx / safari
Hi,
i am trying to port a NPAPI plugin that works fine on windows to osx.
In Safari i so far have it calling the 3 initial functions
(NP_Initialize(), NP_GetEntryPoints(), NPP_New()), but after that i
get nothing - no NPP_SetWindow() or NPP_HandleEvent(), NPP_GetValue()
nor NPP_GetScriptableInstance().
I am stuck there since last week - does anyone have any ideas what
could be wrong?
I'd be happy to post shortened excerpts that might be relevant.
Regards,
Georg
|
11/2/2009 6:45:00 PM
|
1
|
Georg Fritzsche <georg.fritzs...@googlemail.com>
|
how events inside a plugin are handle
Hi,
I am new to Firefox.
Whenever click happens inside a flash plugin window, then click event
passed by browser to flash plugin or flash plugin gets that event from OS.
For example, When I am watching youtube video, and I click on video,
then who passes that click event to flash plugin, browser or OS
(operating system).
regards,
Kailas
|
10/27/2009 6:20:23 AM
|
2
|
PATIL Kailas <pati...@comp.nus.edu.sg>
|
plugin finder service
hi friends,
I am trying to use <embed> tag in my asp page to check for an xpcom
control. If found, i have to instantiate.
If not i have given the src and pluginspage urls correctly for
downloading and installing.
Now when i access my asp page on server. it gives install missing
plugin message and when i click on that, instead of automatic plugin
install, plugin finder service is invoked and it gives the following
message and asks me to do manual install.
"Unknown Plugin (application/x-xpinstall) Manual Install (button)."
Why does this message shown in first place.
Can someone giv
|
10/20/2009 1:13:20 PM
|
1
|
shri_sb <sriniva...@gmail.com>
|
NPObject and XPCOM (plugin)
I'm looking to pass an XPCOM object between a plugin (scriptable -
npruntime) and JavaScript.
Is it possible to pass (or convert) an XPCOM object to an NPObject?
Thanks,
Todd
|
10/19/2009 7:30:59 PM
|
2
|
Todd Whiteman <to...@activestate.com>
|
Getting 404 error when user clicks Manual Install of our plugin
We have developed a FF3 plugin and packaged it as an extension for
installation (as per: https://developer.mozilla.org/en/Shipping_a_plugin_as_an_extension).
If we drag the XPI file into the FF window, it installs.
If a user access our webpage and clicks the Manual Install button for
our plugin, they get a 404 error. The URL in the address line is valid
and does point to our XPI file on the server. Our plugin is referenced
using the "codebase" attribute on the <object> tag.
Anyone seen this and know how to fix it?
thanks
|
10/19/2009 5:09:16 PM
|
1
|
steve smith <equino...@gmail.com>
|
Constructor in NPObject
Hi,
I am new to NPAPI and frankly I am confused. AFAIU, browser creates
plugin instances through NPP_New and gets scriptable objects through
NPP_GetValue. Plugin Instance creates the scriptable object by calling
NPN_CreateObject. And I assume that NPN_CreateObject calls the
allocate function in the NPClass that is passed to it.
The questions is what is the constructor function in the NPClass used
for? Is it different than allocate? Does it create a new plugin?
Thanks
Levent
|
10/18/2009 10:37:59 AM
|
1
|
"L.A" <l.thee....@gmail.com>
|
NPImageExpose
Nokia created an extension to NPAPI and it has been supported by the
flash plugin running on the N900 device. It allows them to quickly
draw directly to a shared image buffer. This improves drawing
performance on in Fennec as we can avoid X.
Here is a sketch of the proposal. I invite you to consider and
respond:
We are proposing a NPAPI extension which would allow a plugin to
render directly into 32-bit buffer in shared memory. The new extension
will be designed so that plugin explicitly makes requests of the user
agent whether the extension is supported (with NPN_GetValue an
|
10/14/2009 12:20:49 AM
|
13
|
Doug Turner <doug.tur...@gmail.com>
|
why does renaming a sample plugin cause a load failure?
I need to write a scriptable plugin, so I started with the
npscriptable sample from the SDK and renamed the DLL (vcproj settings)
and the 'npscriptable' strings in the windows version resource
(npscriptable.rc)... thinking this would be the right thing to do...
and the plugin will not load.
If I build the npscriptable sample and copy that to the plugins
directory, it works fine.
I'm sure I'm missing something obvious, but I have been unsuccessful
so far... having tried many things.
If you have a pointer to another scriptable plugin sample, that would
be helpful as well.
than
|
10/12/2009 11:40:43 PM
|
3
|
steve smith <equino...@gmail.com>
|
why does renaming a sample plugin cause a log failure?
I need to write a scriptable plugin, so I started with the
npscriptable sample from the SDK and renamed the DLL (vcproj settings)
and the 'npscriptable' strings in the windows version resource
(npscriptable.rc)... thinking this would be the right thing to do...
and the plugin will not load.
If I build the npscriptable sample and copy that to the plugins
directory, it works fine.
I'm sure I'm missing something obvious, but I have been unsuccessful
so far... having tried many things.
If you have a pointer to another scriptable plugin sample, that would
be helpful as well.
than
|
10/12/2009 11:39:12 PM
|
0
|
steve smith <equino...@gmail.com>
|
Logging in plugin
Hi,
I am writing a mozilla plugin using NPAPI and am considering using
log4cxx. Is this advisable and where should I drop the log file.
Anyone have any logging guidelines for plugins?
EM
|
10/8/2009 8:37:43 AM
|
0
|
enda man <emann...@gmail.com>
|
logging in firefox
Hi,
Is there a log file for Mozilla firefox, is logging configurable?
EM
|
10/8/2009 8:36:13 AM
|
1
|
enda man <emann...@gmail.com>
|
Netscape Plugin, Carbon Events & Core Graphics
Hi,
I=B9m converting our Netscape style plugin to be 64-bit compatible and using
the opportunity to update the event model / drawing model code so it works
with Safari / Firefox on 10.4 and upwards.
It is all relatively straightforward dealing with Carbon / Cocoa events and
Quickdraw / Core Graphics drawing with the exception of the handling of
mouse down events under FireFox 3.x.
FireFox 3x uses the old Carbon event model but with Quartz to do the actual
drawing from the plugin. I=B9m having a problem converting the global mouse
coordinates which I receive from the Carbon Event
|
10/6/2009 5:37:02 PM
|
0
|
Richard Holliday <Richard.Holli...@renlearn.com>
|
Sample mozilla style plugin built with Xcode 3.2
What I am looking to do is build my own mozilla style plugin which I
can use within Firefox on the Mac.
(Would it work with Safari as well? I think so...)
To get started, I would like to get this:
http://www.codeproject.com/KB/IP/FirefoxProtocol.aspx
building using Xcode as my first project will be a protocol of my own.
However, I am not sure how to get started with an Xcode project and
was wondering if anyone could point me to a modern sample Xcode
project.
thank you.
|
10/6/2009 12:42:33 PM
|
0
|
Eric <ericg...@gmail.com>
|
How to Get the Rendered HTML Source
Hi All,
I am writing a framework on semantics and I am intending to write a plugin
for firefox to demonstrate this framework. For this I need to extract the
rendered HTML source from the active file.
How can I get this done. Can someone help me out? Thanks in advance.
--
Thanks,
Regards,
Sajith Vimukthi Weerakoon,
T .P No : ++94-716102392
|
10/6/2009 9:24:09 AM
|
0
|
Sajith Vimukthi <sajith....@gmail.com>
|
firefox NPAPI plugin dispatch event issue
Hi, guys
Hope everyone doing well.
I developed a NPAPI scripting plugin, and dispatch msg to flex. The dispatch
message is able to arrive flex through the dispatch from plugin. However,
sometimes , the dispatch message is missing.
Is this caused by browser which blocked the msg sometime? or by other some
issues?
The application is to use firefox plugin to work with flex . Flex controls
the plugin and plugin also can send some msgs back through this scriptable
plugin.
Any ideas?
Thanks!
Leon
|
10/2/2009 5:42:47 AM
|
0
|
leon deng <pluginstar...@gmail.com>
|
OpenGL plugin (Firefox) and JavaScript overlay
Hi all
i have some issue with firefox plugin (using openGL context). which is
nicely working. but i like to overlay a javascript gui, and once it gets
hidde behind the
plugin (opengl, rendering done in back ground thread) with iframe under
iexplorer similar activeX works ok. but with firefox it doesn; t work
is there any suggestion?
adrian
--
********************************************
Adrian Egli
|
9/29/2009 1:20:28 PM
|
0
|
"Adrian Egli OpenSceneGraph (3D)" <3dh...@gmail.com>
|
adding external linbrary in npruntime
Hi all
I am trying to call a function of an external library using npruntime plugi=
n sample. I am unable to link that external library.Please help me
regards
Sara=0A=0A=0A New Email addresses available on Yahoo!=0AGet the Email =
name you've always wanted on the new @ymail and @rocketmail. =0AHurry b=
efore someone else does!=0Ahttp://mail.promotions.yahoo.com/newdomains/aa/
|
9/25/2009 12:24:59 PM
|
1
|
sara dar <sarada...@yahoo.com>
|
plugin detected but not working
hello,
i've created a simple plugin in visual studio and copy .dll to /
plugins directory and its work fine in my computer but when i copy
this .dll to another comp its not working... but the plugin is detect
correctly, i've checked about:plugins, i also find it may be cause
by .manifest files but i copy it also to /plugins directory but its
not help...do i have to add something in the system registry? mime
type or something?
anyone could help me?
|
9/23/2009 9:38:32 AM
|
2
|
Damian Sikora <dsikor...@gmail.com>
|
scriptable plugin - events?
Hi,
I'm writing an NPAPI plugin which is scriptable.
I would like to generate an event from the plugin side that will call
a javascript function on my page.
Can I do that?
I didn't see anything about it in the plugin SDK documentation.
Thanks.
|
9/21/2009 11:04:10 AM
|
2
|
rm9 <ran.ma...@gmail.com>
|
JOB OFFER: Firefox plugin development
Hello folks,
my company is looking for a plugin developer. We have the need to
develop a plugin that, upon a search within a search engine (ie:
google) the web browser will re-format the results in 2 different
ways upon user's choice:
1) show a graphic logo beside certain results (upon checking priory
within my company's database) and when mousing over the logo, popping
up a window containing certain things, taken from my company's db
2) all of the above, but re-ordering the results coming from the
search engine query.
You can have an example of the functionality as per point
|
9/18/2009 3:48:22 PM
|
1
|
rob prea <robe...@domina.it>
|
help needed regarding writing a new plugin for Firefox
we have been given a project to write a plugin for fire fox web
browser. so my idea is to write something like a highlighter that we
can use to highlight phrases when we reading web pages & save
highlighted pages for later reference.pls give me some help to figure
out whether this idea is a possible thing to do because this is my
first ever plugin & i know only little about this area.
pls give me some help.
thank u.
|
9/18/2009 11:55:32 AM
|
1
|
kazza <kkasunper...@gmail.com>
|
Open source cross platform plugin framework
Hey all,
Quick invitation to anyone who is interested; I have implemented at
work a cross-platform browser framework that works on mac, windows,
and linux, with all major browsers (that I know of), including IE,
Firefox, Chrome, Safari, etc.
Unfortunately, they will not let me release it as an open source
project.
So, since I know how to do it, I have created an open source project
and begun work on it; I could really use some help. With a few other
competent developers, I don't think it will take a real long time to
get basic plugin functionality going. I don't expect a lot
|
9/18/2009 4:13:06 AM
|
0
|
taxilian <taxil...@gmail.com>
|
adding NPAPI to ActiveX
Hi,
I have an ActiveX plugin which I like to make it work in Firefox as
well.
Can I just add to it NPAPI support by wrapping my functions in NPAPI
functions?
Or should I make some changes in memory allocations and stuff like
that?
Thanks.
|
9/17/2009 2:36:36 PM
|
4
|
rm9 <ran.ma...@gmail.com>
|
NPN_GetURLNotify sometimes leaves dangling "transferring data from..." status msgs
Both Firefox 3.0 and 3.5, both Mac and Windows:
My plugin uses NPN_GetURLNotify to download files that it needs, and I
can confirm that all files finish downloading. But Firefox sometimes
leaves a "Waiting for <myserver.com>" or "Transferring data from
<myserver.com>..." message in the bottom status section of the browser
window.
browser->geturlnotify(fInstance, fullURL.c_str(), NULL, this);
Notice I am setting the destination to NULL, so the browser won't show
the URL in its main window. I am intercepting NPP_StreamAsFile to
retrieve the resulting downloaded files.
What ca
|
9/16/2009 10:19:47 PM
|
4
|
granthulbert <granthulb...@gmail.com>
|
NPAPI plugin development - calling a method causes firefox to hang
Hi,
I'm trying to learn how to write a Firefox plugin.
I download the npruntime example from Mozilla compiled it and ran it.
Getting properties from the plugin worked well but when I tried to
call a method, Firefox freeze.
I thought maybe something is wrong with the example.
so I wrote my own basic scriptable plugin that has one property and
one method which returns a string.
The property worked well and I got my value.
But calling the method caused Firefox to freeze, again.
Am I missing something?
I tried debugging the plugin and everything seems fine. All the right
functions
|
9/15/2009 6:20:35 PM
|
9
|
rm9 <ran.ma...@gmail.com>
|
help needed
hi all
I am again sending my request for help. i am very new to plugins so I am so=
rry in advance if i am asking stupid question.i am developing plugin for vi=
deo conferencing application minisip. www.minisip.org
i am confused that how my plugin will interact with my applictation.=A0plea=
se help
sara=0A=0A=0A Get your preferred Email name!=0ANow you can @ymail.com =
and @rocketmail.com. =0Ahttp://mail.promotions.yahoo.com/newdomains/aa/
|
9/11/2009 11:16:58 AM
|
0
|
sara dar <sarada...@yahoo.com>
|
plugin help
hi all
there is an opensource video conferencing client minisip in c++ at www.mini=
sip.org. I want to develop a mozilla plugin for it. Please help me.I have g=
one through mozilla site but I am still confused.
How plugin will interact with minisip application?What will be the mime/typ=
e?
please help.
By the way, what you people think how much time this plugin can take
Regardssara=0A=0A=0A Get your new Email address!=0AGrab the Email name=
you've always wanted before someone else does!=0Ahttp://mail.promotion=
s.yahoo.com/newdomains/aa/
|
9/9/2009 3:23:08 PM
|
0
|
sara dar <sarada...@yahoo.com>
|
How does a plugin access a resource in XPI file?
I have a plugin written in C. It needs to read information from a
file. I could hard-code the contents of the file into the plugin, but
it would be more convenient to put the file into the XPI zip file and
then extract it from there. But how do I get at it?
I tried putting it in the chrome/content directory and when the plugin
is loaded I can see it in the browser window using a chrome://... url.
But when I try to do NPN_GetURL(..., "chrome://....", ...) it fails
(network error, can't be found I guess). I came across r8159 for
Chrome 2.0.158.0 blocking Adobe from using NPN_GetURL() w
|
9/2/2009 8:15:47 AM
|
2
|
jannewmarch <jan.newma...@gmail.com>
|
audio/video player plugin
Hi everybody;
I use NPAPI also npruntime. I try to develop a media player on
Windows. I use DirectShow API but i am a bit confusing if i should
use MCI or not. The problem is support of new codecs, extensibility of
new file formats. I have difficulty also embed the video screen on
browser, prograssive download of the a/v file. Does anyone have any
experience about my topic?
Thank you!
Best
--
Murat Hac=C4=B1o=C4=9Flu
http://www.hacioglumurat.com
http://friendfeed.com/hacioglu
|
9/1/2009 10:55:40 AM
|
0
|
murat hacioglu <hacy.mu...@gmail.com>
|
Exporting history
I wanted to get a lot of test data for my data mining tool. so i
needed a lot of browser history as test data.
I wanted to know how to Export your firefox browser history???
Thanks in Advance
Ayushman
|
9/1/2009 6:36:45 AM
|
0
|
AYUSHMAN <ayushmanc...@gmail.com>
|
How to add callto:// protocol to FF?
Hello,
Is it up to the developer to add callto protocol to FF?
I was expecting it to be available under Tools>Options>Applications
but it is not listed in there.
Your comments appreciated,
Jack
|
8/25/2009 9:28:56 PM
|
0
|
"Jack" <notrepl...@it>
|
Has anybody used pluginbase.h to build a plugin?
Hi,
I find an encapsulation for NPAPI plugins in /modules/plugin/sdk/
samples/include/pluginbase.h. However, when I tried to build my simple
plugin with it, my code always failed to pass the compilation. GCC
reports an error:
testplugin.cpp:5: error: expected initializer before
=91NS_PluginInitialize=92
Source code for testplugin.cpp:
#include <glib.h>
#include "testplugin.h"
NPError NS_PluginInitialize() // <-- LINE 5: error occurs here!!!
{
g_message("Global plugin initialization.\n");
return NPERR_NO_ERROR;
}
void NS_PluginShutdown()
{
g_message("Global
|
8/25/2009 3:49:15 AM
|
1
|
GhostHeaven <leehom2...@gmail.com>
|