我不确定要使用哪些 Chrome API 以及如何使用它们:
Chrome 扩展程序开发页面令人困惑并且感觉不完整,如果您对此有帮助,将不胜感激。
答案 0 :(得分:0)
首先,您应该了解 Chrome 扩展程序的 the basic of manifest file。 然后要编写一个能够满足您要求的扩展程序,您可以:
读取特定域名上的页面内容(例如,仅在 URL 包含 google.com 时触发)
有了这个,你可以使用 Content Script:
向远程服务器发送请求并取回数据
你必须:
{
...
permissions: [
"*://yourremoteserver.com/*" // Read the doc for more detail how to request permission to call request into a server
]
...
}