我想在我的页面上使用此按钮,但是当我使用chrome脚本出现创建一个新的圆圈时,同样的情况发生在firefox和safari explorer只能用于分析控制台我得到此错误
无法加载资源:服务器响应状态为400(错误请求) / + 1 / fastbutton?bsv& annotation = inline& width = 300& hl = en-US& origin =档案%3A%2F%2F&安培; URL =文件%3A%2F%2F%2FC%3A%2FUsers%2Fusuario%2FDesktop%2Fnoche.html&安培; JSH = M%3B%2F%2Fapps静电%2F_%2Fjs%2Fgapi %2F_ 功能 _%2Frt%3DJ%2Fver%3DlgJnpFHo_sE.es。%2Fsv%3D1%2Fam%3D!9YrXPIrxx2-ITyEIjA%2FD%3D1%2Frs%3DAItRSTMUGsaYaMyYb_qFDQo8MG8RKB82aQ#_methods = onPlusOne%2C_ready%2C_close %2C_open%2C_resizeMe%2C_renderstart%2Concircled%2Conload和ID = I1_1352910400423&安培;父=文件%3A%2F%2F“> HTTPS:?//plusone.google.com/ / + 1 / fastbutton BSV&安培;注释=直列&安培;宽度= 300安培; HL =的en-US&安培;来源=文件%3A%2F%2F&安培; URL =文件%3A%2F%2F%2FC%3A%2FUsers%2Fusuario%2FDesktop%2Fnoche.html&安培; JSH = M%图3B%2F %2Fapps静电%2F_%2Fjs%2Fgapi%2F_ 功能 _%2Frt%3DJ%2Fver%3DlgJnpFHo_sE.es。%2Fsv%3D1%2Fam%3D!9YrXPIrxx2- ITyEIjA%2FD%3D1%2Frs%3DAItRSTMUGsaYaMyYb_qFDQo8MG8RKB82aQ#_methods = onPlusOn È%2C_ready%2C_close%2C_open%2C_resizeMe%2C_renderstart%2Concircled%2Conload和ID = I1_1352910400423&安培;父=文件%3A%2F%2F
答案 0 :(得分:1)
我认为问题在于您正在通过file://
协议测试本地代码,如查询参数中所示:
origin=file%3A%2F%2F&url=file%3A%2F%2F%2FC%3A%2FUsers%2Fusuario%2FDesktop%2Fnoche.html
将您的文件放在可以通过http提供的位置。将页面上传到您的站点或安装Web服务器以进行测试。
我相信我能够复制你在Chrome和Safari中看到的内容;但是,这种方法不是支持使用插件的方法,也不会用于向真实用户提供页面。