我正在尝试让JavaScript (使用Greasemonkey)从我自己的站点中提取数据,以定制另一个站点。我使用的代码如下:{ xhr.open("GET", url, true)picks up error here xhr.send(null); 上面的方法运行得很好,它从URL获取文本,并将其返回给匿名函数,我将该函数传递给该函数,只要该文件与我调用它的<
我不知道如何处理这个错误,每个请求都有一个唯一的字符串。我请求的jsonP是一个jsonP代理,据我所知,该代理已按其应有的方式配置。post it because it hangs chrome when I try to push the code button i stackoverflow. "})
我在https页面上运行greasemonkey中的代码。