What is the method the Chrome Web Store uses to la

2019-09-20 02:35发布

I'm just wondering how the Chrome Web Store is implemented. There is a web site that has an option to LAUNCH APP. What happens when that button is clicked. How does it go about launching the extension?

You can find the Chrome Signal Application here

1条回答
爷的心禁止访问
2楼-- · 2019-09-20 03:18

Chrome uses an internal extension to grant special permissions to that page (namely "webstorePrivate" and "management"). There's not much to it in Chrome proper:

All the code that actually calls these APIs is served from Google's servers for the web store page itself. As a starting point, if you open the developer tools on the Chrome web store and type chrome.runtime.id, it will respond with "ahfgeienlihckogmohjhadlkjgocpleb".

查看更多
登录 后发表回答