我想在扩展弹出窗口中显示(并使用)Google Maps API 地图。我将https://maps.googleapis.com和https://maps.gstatic.com/添加到 content_security_policy,但显然 Maps 使用内联 evals (!) 所以这只会引发错误。
我还尝试在我的扩展程序中创建一个地图页面并将其作为 iframe 拉入,但似乎 Maps API 检测到这一点并仅显示图像。
任何提示如何让 Google Maps API 地图显示在弹出窗口中?