hmm...I know how to do this on a page_action...not sure about a
browser_action
in your 'popup.html' or whatever you named the page_action popup to
be...add:
<script type="text/javascript">
chrome.tabs.create({url: 'options.html'});
window.close();
</script>
and change the url to whatever you want it to open...i have my code so
that in the options, the user can show/hide the page_action when i
apply an update...
the above code will open the options page in a new tab and close the
popup when you click it...
On Jan 9, 12:49 pm, Beeraj Jhummun <[email protected]> wrote:
> Hey guys, im currently working on a little project to add an awesome
> new extension to google chrome, but I got so many ideas running
> throught my mind at the same time, my main reason to post here is,
> rather than having a pop-up menu which opens right underneath the
> icon, I want it to load up on the main browser window (where the web-
> page contents shows up), is there any possibility of doing that,
> please get back to me as soon as possible, or email me on
> [email protected]
>
> Thanks for your time... :)
--
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.