cretz / doogie

A Chromium-based web browser with tree-style pages
https://cretz.github.io/doogie
MIT License
279 stars 28 forks source link

Extension Support #35

Open cretz opened 7 years ago

cretz commented 7 years ago

Now that this issue has gone a long way, we might be able to add them to Doogie soon. Yay.

tonymiao2012 commented 7 years ago

As far as I know, CEF3 supports JS extension itself. Use 'native' tag to claim JS codes will map your JS functions to native methods. Why not use that way?

travisfont commented 7 years ago

@tonymiao2012 can you explain in better detail?

Also, what's the difference from Extension (to) Plugin? Reference https://github.com/cretz/doogie/issues/34

Overall, having extensions is a HUGE enhancement! It's what separates the user from fully using Doogie over Chrome.

terinjokes commented 7 years ago

@tfont I'm not @cretz but I believe plugins means the "native" plugins like Flash (and Widevine DRM plugin #30), whereas extensions are the things we are commonly interacting with.

cretz commented 7 years ago

My uses of the terms:

No guarantees if/when any of this will happen, but the issues are there to capture discussion.

tonymiao2012 commented 7 years ago

@tfont Well, the meaning of "extension" I mentioned before is similar with the concept "JS Integration". I have a reference here: https://bitbucket.org/chromiumembedded/cef/wiki/JavaScriptIntegration.md. CEF3 supports embedded V8 extension. So you could define your local JS API freely.