Skip to content

Conversation

@lytofb
Copy link

@lytofb lytofb commented Oct 10, 2016

在popup页面加了两个输入框,分别存入key和keyfrom,之后便能用自定义的api key来请求了

@Qbuer
Copy link

Qbuer commented Dec 29, 2016

原作者是不是停止维护这个项目了。。我也想加个这样的功能来着。


function getbasicurl(useHttps) {
var thisurl = (useHttps ? urls.dictHttps : urls.dict);
var chazduserkey = localStorage.getItem("chazduserkey");
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

用chrome.storage.sync.get()吧,能在不同的设备间同步

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我感觉没啥必要,而且用chrome.sync是异步调用,现在写的这个逻辑不能用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants