Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我检查我的扩展程序页面时,我在 Chrome 的“脚本”选项卡中看不到我的脚本。我的脚本只是一个 hello world,我什至创建了一个 .js 文件并将其包含在 src 属性中,但它仍然没有显示。
万一其他人遇到同样的问题,我使用 IP 或域名而不是 localhost “修复它”,问题是由安全策略引起的
检查你的js文件的路径。也许chrome找不到文件。