I am making a Google Chrome extension and I would like to have my background page to cause the browser action's popup page to show after an event. Can this be done?
Thanks
You cannot show/hide a browser action nor you can trigger a popup to open. If you need something to show, did you consider using HTML5 notifications?
Related
I'm developing a Browser extension. Almost completed the project.
But,
I want that extension to pop-up automatically (without clicking the icon), when I access a particular website in a browser
And I want to make the pop-up page visible on the tab until I close the tab.
I have no idea on how to do this.
It would be helpful, if any of you guys share your ideas!
Thanks in advance.
I am trying to replicate the connect6 chrome extension for my application.
All I want to do is trigger the browser action pop up on mouse over.
Please tell how to programmatically trigger the browser action pop up and where to specify the code.Content.js or background.js
You can't open the broswer action programmatically.
Besides, that's not what that extension is doing: it's showing its UI inside the page. That has to be handled by the content script.
I would like to show or hide the bookmark toolbar programmatically on some events.
Can it be done with an extension for Chrome, or is that in the user domain?
If it can be done where should I look it up?
This is not possible to do from an extension, only user may control this bar visibility.
I've got a strange bug when trying to use facebook connect with actionscript3.
I checked everything, couldn't find a way to resolve this.
Look at this :http://tinyurl.com/FBas3test-2
When clicking on "login", the facebook popup appears.
But within this swf (click on the "facebook" logo),
http://tinyurl.com/FBas3test-1
It does not work.
This is almost the same actionscript code; and it IS the same HTML.
You can check some debug informations with the firebug console.
Seems the javascript & HTML code is OK.
When clicking the Facebook logo, the HTML is updated. Guess facebook IS contacted; but then no popup is shown.
Any idea ?
Thanks a lot
The popup is not showing for me at first because the popup blocker is blocking it. In Chrome, I had to click the icon in the upper right to allow popups and then it worked. I don't know exactly how ActionScript facebook sdk works, but if it is using Facebooks javascript sdk, try changing display mode from popup to dialog so that it shows in the same window. Otherwise, you will need to figure out how to get actionscript to show a popup window without the browser popup blocker blocking it.
While installing the Google extensions form chrome web store it shows some popup like "Google Chrome extension is now installed".
I want similarly, while login I need to show the login popup.
Please suggest me on this.
You can create either a browser action or a page action popup. You can change popup html dynamically to make it look completely different depending on the situation but you can't open it programmatically (desktop notifications could be used for alerts).