Hi all,
I want to handle popup window events in chrome. i am using NPAPI plugins.
cab anyone have idea about how should i proceed..
i read about handle_event() which handles mouse click events..
Thanks & Regards,
Sheetal.
This is a discussion on popup window event within the Plugins Development section, part of the Chrome Plugins category: Hi all, I want to handle popup window events in chrome. i am using NPAPI plugins. cab anyone have idea ...
Hi all,
I want to handle popup window events in chrome. i am using NPAPI plugins.
cab anyone have idea about how should i proceed..
i read about handle_event() which handles mouse click events..
Thanks & Regards,
Sheetal.
I dont know anything about making a plugin but everything you need is probably allready in the chrome extension api....
http://code.google.com/chrome/extensions/windows.html
...and if you need to you could communicate with your plugin yeah?
Glancing over the documentation it doesn't seem NPAPI has any events outside the scope of regular window handling. (ie. on Windows, using the normal Windows events like WM_KEYDOWN)
You can take a look at the events here.
So I'd kinda go with PAEz on this, I'd recommend hooking the window.open() function and just alerting the NPAPI plugin that it happened. Or just leaving it entirely in a scripted extension.
There might be a way to hook functions from NPAPI but I don't see any glancing over it. Though I'm not really familiar with them.
~ 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