When i click on link in chrome sidebar, popup doesn't show up. I'm trying to do authentication through facebook and it's require to open facebook popup to accept the permissions. Is any solution for this? Maybe i should listen to all click event开发者_运维百科s in extension and then open windows with extension?
Chrome, by default, blocks most of the pop-ups. You should see a tiny pop-up blocked icon to the right of the address bar. You could either click on that icon to allow that particular pop-up or you could allow pop-ups from settings.
However, if you're in a situation where you can't expect all users to allow pop-ups, you should create a separate link ( <a target="_blank">
) that directly opens a pop-up (instead of trying to display a pop-up in code behind)
精彩评论