|
#1
| |||
| |||
| 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. |
|
#2
| |||
| |||
| 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? |
|
#3
| ||||
| ||||
| 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 Libraries: bliplib Tools: manifest syntax highlighting & snippits |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Popup size | mg2 | Plugins Development | 2 | 11-24-2009 03:21 PM |
| Crash Event id 1000 | reidy100 | Chrome Troubleshooting | 6 | 10-28-2009 02:16 PM |
| How can I block a popup? | Glennie | Chrome Tips & Tricks | 3 | 09-30-2009 02:12 AM |
| Javascript BUG in popup windows | bongobongo | Bugs and Vulnerabilities | 3 | 09-17-2009 09:37 PM |
| Event when x element is loaded | noctourne | Plugins Development | 6 | 08-01-2009 11:21 PM |