I don't think using jQuery to bind the event will have any effect one way or the other on Chrome's popup blocking. Unfortunately, I don't think there's any way around this for now. You can use chrome.windows.create (http://code.google.com/chrome/extensions/windows.html#method-create) to create a new window that won't be blocked, but you cannot create a pop-up style window (without url bar and stuff). We want to add this, but haven't gotten to it yet.
- a On Wed, Sep 23, 2009 at 7:44 PM, Scott Ferguson <[email protected]> wrote: > > So I have a content script in which I want to replace the > functionality of a certain button on the page, and instead popup a > window within the extension. Unfortunately, Chrome's popup blocker > catches the event if I bind it with jQuery. Is there a way I can bind > this with an onClick event? The displayPopupWindow() function resides > in the content script. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en -~----------~----~----~----~------~----~------~--~---
