Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

加了一个自定义apikey的功能 #40

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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