Yeah, I know it can be done with pageAction, but this functionality is a browserAction because that is the best to provide the functionality on any page. Specifically, this browserAction is to be able to email the current URL and title from any page to a set of people. It solves the common use case of unneeded drudgery to open a tab, go to gmail, copy and paste the URL to send to some people. But, there is also a content script with this extension which converts mailtos to gmail compose URLs. I want to provide an option to turn off the browserAction since some people do not seem to want the button in their real estate.
I am guessing the answer to this is that it is not possible right now without actually dropping the icon in the manifest itself. On Tue, Dec 8, 2009 at 11:55 AM, Aaron Boodman <[email protected]> wrote: > PhistucK is correct. Browser actions are forever. Page actions are > intended to be per-page. Do page actions better fit your UI goals? > > http://code.google.com/chrome/extensions/pageAction.html > > - a > > On Tue, Dec 8, 2009 at 11:44 AM, PhistucK <[email protected]> wrote: > > If I am not mistaking, you cannot. > > Use page actions instead, if you want it to go away at times. > > ☆PhistucK > > > > > > On Tue, Dec 8, 2009 at 21:09, Anand Rangarajan <[email protected]> wrote: > >> > >> Hi Folks, > >> > >> I have an extension which has content scripts and a browser action. > >> In my case, there is one functionality which is provided just with > >> content scripts, > >> and another with content script and browser action. > >> Is it possible to just turn off the browser action (and hence remove > >> the button) while > >> still having the content scripts run? > >> I do not see anything about this in the documentation. Is it possible > >> to implement > >> this with an option? > >> > >> thanks, > >> anand > >> > >> -- > >> > >> 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]<chromium-extensions%[email protected]> > . > >> For more options, visit this group at > >> http://groups.google.com/group/chromium-extensions?hl=en. > >> > >> > > > > -- > > > > 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]<chromium-extensions%[email protected]> > . > > For more options, visit this group at > > http://groups.google.com/group/chromium-extensions?hl=en. > > > -- 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.
