Go Back   Google Chrome Forums > Google Chrome > Chrome Plugins > Plugins Development


http://chromeplugins.org/frwrdicon.jpg
Top Tip : Click here to Boost Your PC & Chrome Browsing Speed
Reply
 
Thread Tools Display Modes
  #1  
Old 02-08-2010, 07:19 AM
Junior Member
 
Join Date: Jan 2010
Posts: 13
Default popup window event

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 02-08-2010, 03:08 PM
Moderator
 
Join Date: Aug 2009
Location: Australia
Posts: 341
Default

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 02-11-2010, 03:39 AM
Waha's Avatar
Senior Member
 
Join Date: Apr 2009
Location: Oregon
Posts: 594
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

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




Chrome Central - Chrome Talk - Chrome Tips and Tricks - Chrome Plugins - Chrome Themes - Chrome Tools - Bugs and Vulnerabilities - Chrome Tech - General Chat


All times are GMT. The time now is 08:56 PM.


Powered by vBulletin® Version 3.7.4 PL1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Google Chrome and Google™ is a Trademark of Google Inc
This site chromeplugins.org is not affiliated with or sponsored by Google Inc.
Thanks: Taree SEO Forum and John