如何通过javascript重新加载我的chrome扩展程序? [英] How can I reload my chrome extension by javascript?
本文介绍了如何通过javascript重新加载我的chrome扩展程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图让我在chrome扩展程序的弹出窗口中按一个按钮,它将重新加载该扩展程序.有可能吗?
I'm trying to make that if you press a button in the popup window in my chrome extension, it will reload the extension. Is that possible?
推荐答案
只需找到此方法,它正是我想要的:
Just found this method, which does exactly what I want:
chrome.runtime.reload();
这篇关于如何通过javascript重新加载我的chrome扩展程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文