因为注释部分在iframe中,并且它位于其他站点(plus.googleapis.com)上,所以我需要启用跨域功能。为此,我在package.json中包含了跨域内容: "name": "testfirefoxextension", "这是lib/main.js的全部内容
// Import the pa
有我的跨域调用的实现,它使用了所需的is文本插件。htaccess文件在我的跨域站点Header set Access-Control-Allow-Origin "*"define(['text','modulerequire(['textremote'],function(){
require(['libs/app'