News for hackers. Stuff that matters.
Re:Thrust: Chromium-based cross-platform, cross-language app... by morganrallen on Thursday November 13, 2014 @07:14PM (#8605055)
As a proof of concept I knocked up JankyBrowser in about 3 hours. Nagivation? Check. Tabs? Check (how long did other browser take to get those!). All in a little over 6K of JS.

https://gist.github.com/morganrallen/f07f59802884bcdcad4a

Re:Thrust: Chromium-based cross-platform, cross-language app... by christiangenco on Thursday November 13, 2014 @11:49PM (#8605856)
...wow! This is a really compelling

I know it's really fashionable to hate on javascript, but there's really something to be said for being able to code a web browser with tools you can learn on Khan Academy.

Re:Thrust: Chromium-based cross-platform, cross-language app... by al2o3cr on Friday November 14, 2014 @08:45AM (#8607044)
"var webview = document.createElement("webview");"

Turns out, it's pretty easy to code a web browser in ANYTHING if one of the primitives you can instantiate is A WEB BROWSER...

Re:Thrust: Chromium-based cross-platform, cross-language app... by mhernandez1988 on Friday November 14, 2014 @09:12AM (#8607164)
al2o3cr, actually no. There are a load of difficult implementations needed to achieve even the most basic webbrowser, even when building on top of the already great chromium content lib. For instance, Thrust's predecessor ExoBrowser failed where Thrust is succeeding, thankfully we have progressed to a state of composability where we can take the work of others before and compose it into something useable for the world. The 500 something commits to Thrust were no simple feat, and their are many more to come.
Re:Thrust: Chromium-based cross-platform, cross-language app... by spolu on Thursday November 13, 2014 @07:17PM (#8605061)
The only browser that fits in a gist!
Re:Thrust: Chromium-based cross-platform, cross-language app... by skrebbel on Friday November 14, 2014 @05:54AM (#8606579)
Here, a browser that fits in a .bat file:

    @echo off
    "C:\Program Files\Internet Explorer\iexplore.exe"
Re:Thrust: Chromium-based cross-platform, cross-language app... by spolu on Friday November 14, 2014 @10:11AM (#8607440)
Only this one is not designed by you...
Re:Thrust: Chromium-based cross-platform, cross-language app... by xaitv on Friday November 14, 2014 @07:14AM (#8606749)
hehe, browser
Re:Thrust: Chromium-based cross-platform, cross-language app... by beagle3 on Saturday November 15, 2014 @03:11AM (#8611177)
Cookies are handled by Chromium, I suppose?

Or are they completely ignored?

Re:Thrust: Chromium-based cross-platform, cross-language app... by notastartup on Thursday November 13, 2014 @09:23PM (#8605513)
My god. I'm just awestruck, I just ran it and it worked beautifully.

The same thing in Java Swing took me 3 weeks 4 years ago.

Re:Thrust: Chromium-based cross-platform, cross-language app... by morganrallen on Thursday November 13, 2014 @09:31PM (#8605542)
Thanks! Not too bad for a couple hours on a sick day.