我在chrome.identity.removeCachedAuthToken()中使用Google。我可以登录用户,但不能使用removeCachedAuthToken()登录。chrome.identity.removeCachedAuthToken({ token: current_token }, var xhr= new XMLHttpRequest();
xhr.open('GET',
我现在正在寻找如何在chrome扩展中使用Google API。所有我想做的是解析一个网站的内容,并将其作为一个新的事件插入到谷歌日历。我得到了解析和所有的东西,但是在Chrome扩展中使用Google API似乎是不可能的。我只是想在点击chrome扩展中的按钮时编写一个示例事件,但它一直拒绝加载Google API,并显示以下错误:
Refused to load the script 'https://apis.google.combecause it