Welcome guest, is this your first visit? Create Account now to join.
Results 1 to 3 of 3

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 ...


  1. #1
    pornima is offline 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.

  2. #2
    PAEz's Avatar
    PAEz is offline Moderator
    Join Date
    Aug 2009
    Location
    Australia
    Posts
    656

    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?

  3. #3
    Waha's Avatar
    Waha is offline Senior Member
    Join Date
    Apr 2009
    Location
    Oregon
    Posts
    788

    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, Kongregate Chat
    Libraries: bliplib
    Tools: manifest syntax highlighting & snippits
    ~ Happy to make extensions for pay too ;D ~
    Portfolio: Search and Share

Similar Threads

  1. Javascript BUG in popup windows
    By bongobongo in forum Bugs and Vulnerabilities
    Replies: 5
    Last Post: 09-06-2010, 07:01 PM
  2. Popup size
    By mg2 in forum Plugins Development
    Replies: 2
    Last Post: 11-24-2009, 03:21 PM
  3. Crash Event id 1000
    By reidy100 in forum Chrome Troubleshooting
    Replies: 6
    Last Post: 10-28-2009, 01:16 PM
  4. How can I block a popup?
    By Glennie in forum Chrome Tips & Tricks
    Replies: 3
    Last Post: 09-30-2009, 01:12 AM
  5. Event when x element is loaded
    By noctourne in forum Plugins Development
    Replies: 6
    Last Post: 08-01-2009, 10:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •