且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何自动重新加载我正在开发的Chrome扩展程序?

更新时间:2023-12-05 18:37:46

您可以使用 Extensions Reloader 适用于Chrome:


使用扩展程序的工具栏按钮或浏览至 http://reload.extensions 重新加载所有未打包的扩展程序



如果您曾经开发过Chrome扩展程序,您可能希望
自动完成重新加载解包扩展的过程,而不需要
需要通过扩展页面。



Extensions Reloader允许您使用2种方式重新加载所有未打包的扩展


- 扩展程序的工具栏按钮。



2 - 浏览至 http:// reload .b

工具栏图标将通过单击重新加载解压后的扩展。



通过浏览重新加载旨在自动执行重新加载过程
使用后期构建脚本 - 只需将浏览添加到
http: //reload.extensions ,并将
刷新为Chrome窗口。


更新:截至2015年1月14日,该扩展程序是开源的,提供GitHub


I'd like for my chrome extension to reload every time I save a file in the extension folder, without having to explicitly click "reload" in chrome://extensions/. Is this possible?

Edit: I'm aware I can update the interval at which Chrome reloads extensions, which is a half-way solution, but I'd rather either making my editor (emacs or textmate) trigger on-save a reload or asking Chrome to monitor the directory for changes.

You can use "Extensions Reloader" for Chrome:

Reloads all unpacked extensions using the extension's toolbar button or by browsing to "http://reload.extensions"

If you've ever developed a Chrome extension, you might have wanted to automate the process of reloading your unpacked extension without the need of going through the extensions page.

"Extensions Reloader" allows you to reload all unpacked extensions using 2 ways:

1 - The extension's toolbar button.

2 - Browsing to "http://reload.extensions".

The toolbar icon will reload unpacked extensions using a single click.

The "reload by browsing" is intended for automating the reload process using "post build" scripts - just add a browse to "http://reload.extensions" using Chrome to your script, and you'll have a refreshed Chrome window.

Update: As of January 14, 2015, the extension is open-sourced and available on GitHub.