Mohamed Mansour posted some code too, and suggested that I should use
the Tabs API to accomplish this, but that it is incomplete. I don't
really know how to utilize the code he posted.




On Jun 1, 12:22 pm, Aaron Boodman <[email protected]> wrote:
> bcc: chromium-dev
> cc: chromium-discuss
>
> Can you send the code for the complete toolstrip?
>
> - a
>
>
>
> On Sun, May 31, 2009 at 4:57 PM, Zak <[email protected]> wrote:
>
> > Hi,
>
> > I'm really not a coding person, but I followed the documentation
> > here:
>
> >http://dev.chromium.org/developers/design-documents/extensions/howto
>
> > and set up an extension. Instead of hello-world.html I put an html
> > file containing a script (a gmail-this-page bookmarklet). The code is
> > below:
>
> > [code]
> > javascript:(function(){m='http://mail.google.com/mail/?
> > ui=1&view=cm&fs=1&tf=1&to=&su='+encodeURIComponent(document.title)
> > +'&body='+encodeURIComponent(document.location);w=window.open
> > (m,'addwindow','status=no,toolbar=no,width=575,height=545,resizable=yes');s 
> > etTimeout
> > (function(){w.focus();},%20250);})();
> > [/code]
>
> > When I click the extension on the bottom bar, it just opens up an html
> > page with that code written in plain text. Obviously I'm missing some
> > crucial step, and since I don't have a background in coding or
> > programming of any sort, I'm pretty lost. Evidently putting the
> > javascript in an html file is a wrong move - a different filetype
> > maybe?
>
> > Thanks. And ignore me if I'm wasting your time or whatever, I realize
> > I'm some newbie guy asking probably a dumb question, but I'd
> > appreciate any help getting this simple thing working.
--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to