Chrome扩展程序ID-如何找到它 [英] Chrome extension id - how to find it
问题描述
如何找出扩展名的chrome扩展名?
How can I find out what the chrome extension id is for an extension?
推荐答案
当您获得扩展名ID时将您的扩展程序上传到Google Web Store。就是Adblock的网址为 https://chrome.google.com/webstore/detail/cfhdojbkjhnkpkpkdaibdccddilifddb
,此URL的最后一部分是其扩展名 cfhdojbkjhnklbpkdaibdccddilifddb
。
You get an extension ID when you upload your extension to Google Web Store. Ie. Adblock has URL https://chrome.google.com/webstore/detail/cfhdojbkjhnklbpkdaibdccddilifddb
and the last part of this URL is its extension ID cfhdojbkjhnklbpkdaibdccddilifddb
.
如果您希望从扩展程序中读取已安装的扩展程序ID,请查看管理模块。 chrome.management.getAll
允许获取有关所有已安装扩展程序的信息。
If you wish to read installed extension IDs from your extension, check out the managment module. chrome.management.getAll
allows to fetch information about all installed extensions.
这篇关于Chrome扩展程序ID-如何找到它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!