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');setTimeout (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 -~----------~----~----~----~------~----~------~--~---
