💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
[TOC] > [参考](http://blog.haoji.me/chrome-plugin-develop.html#hu-xiang-tong-xin-gai-lan) ## 概述 | injected-script | content-script | popup-js | background-js | | --- | --- | --- | --- | | injected-script | \- | window.postMessage | \- | \- | | content-script | window.postMessage | \- | chrome.runtime.sendMessage chrome.runtime.connect | chrome.runtime.sendMessage chrome.runtime.connect | | popup-js | \- | chrome.tabs.sendMessage chrome.tabs.connect | \- | chrome.extension. getBackgroundPage() | | background-js | \- | chrome.tabs.sendMessage chrome.tabs.connect | chrome.extension.getViews | \- | | devtools-js | chrome.devtools. inspectedWindow.eval | \- | chrome.runtime.sendMessage | chrome.runtime.sendMessage |