I found a hack on how to reload automatically my extension.

1) Go to chrome://extensions/
2) Open the javascript console (Shift + Ctrl + J)
3) Insert this code

function reloadme() { chrome.send('reload',
['jcdgncnemfmkbnnjikmghninhihflkhj']); }
window.setInterval('reloadme()', 1000);

cdgncnemfmkbnnjikmghninhihflkhj is your extension ID
1000 milliseconds

Use window.clearInterval(X) to clear it up

I think it is possible to automate the process using iMacros
http://www.chromeextensions.org/other/imacros-for-chrome/
but I can't figure out an easy way to set the intervals.

Anyway, this should make your life easier and the whole extension developing
experience less frustrating

Cheers,

-Hassen


On Sat, Dec 12, 2009 at 5:05 AM, PhistucK <phist...@gmail.com> wrote:

> If something like this were to be implemented, it should not be only in the
> dev channel, but simply behind a command line switch like
> --extensions-dev-mode.
> But I do not believe something like this will be implemented.
>
> ☆PhistucK
>
>
>
> On Sat, Dec 12, 2009 at 11:30, Evgeny Shadchnev <
> evgeny.shadch...@gmail.com> wrote:
>
>> It'd be really useful if it were possible to reload all extensions
>> every time a tab is opened or refreshed. This way, the development
>> would be as simple as 1. refreshing the page, seeing if the content
>> script works 2. switching to the editor, making a change 3. refreshing
>> again. Of course, this makes sense only for dev channel.
>>
>> >> 3) The need to constantly reload the extension is quite annoying. Is
>> >> there a way for chrome to just read my latest changes while I'm
>> >> developing the extension.
>> >
>> > We've been struggling with what exactly is the right solution for
>> > this. What feature are you using? Browser action? Content scripts? I
>> > think the answer is different for those two cases.
>> >
>> > Thanks,
>> >
>> > - a
>> >
>> > --
>> >
>> > You received this message because you are subscribed to the Google
>> Groups "Chromium-extensions" group.
>> > To post to this group, send email to
>> chromium-extensi...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> chromium-extensions+unsubscr...@googlegroups.com<chromium-extensions%2bunsubscr...@googlegroups.com>
>> .
>> > 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 chromium-extensions@googlegroups.com
>> .
>> To unsubscribe from this group, send email to
>> chromium-extensions+unsubscr...@googlegroups.com<chromium-extensions%2bunsubscr...@googlegroups.com>
>> .
>> 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 chromium-extensi...@googlegroups.com.
To unsubscribe from this group, send email to 
chromium-extensions+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/chromium-extensions?hl=en.


Reply via email to