ember-cli-chrome icon indicating copy to clipboard operation
ember-cli-chrome copied to clipboard

Promise Layer

Open muhang opened this issue 10 years ago • 2 comments

I'd love to take a crack at getting this goal implemented, but I was wondering which chrome API calls you were intending to wrap. It seems like it would make sense to wrap:

  • utilities.disableFingerPrints(app)
  • utilities.addChromeHelper(app)
  • utilities.forceHashLocation(app)

This would allow these three calls in the included function to be chained. If this sounds good, I'll go ahead and give it a whirl!

muhang avatar Jul 24 '15 22:07 muhang

Hey none of those really need it, the promise stuff I was talking about is for the chrome api. Check out https://developer.chrome.com/extensions/api_index

The major ones ive run into needing support for are:

https://developer.chrome.com/extensions/tabs https://developer.chrome.com/extensions/bookmarks

but there are many use cases using the others.

j-mcnally avatar Jul 24 '15 23:07 j-mcnally

In my several years of experience with the chrome extension api, I'm sure the chrome team would love to have a promise style api available. It would probably be easier to write this code inside the ember-cli-chrome addon, but it would be good to make it it's own small repo when the code is mature, and make sure the chrome extension api team knows about it.

devinrhode2 avatar Oct 13 '15 02:10 devinrhode2