PureBasic Forum
https://www.purebasic.fr/english/

HTML5 Browser
https://www.purebasic.fr/english/viewtopic.php?f=14&t=72166
Page 1 of 9

Author:  firace [ Mon Jan 28, 2019 12:16 pm ]
Post subject:  HTML5 Browser

I made a very simple (single-tab) HTML5 web browser.
Still under development and lacking some features, so definitely not for everyone, but it's already usable enough for my typical usage.
I've decided to uninstall Chrome, and am now tentatively using it as my primary browser... :)

The following websites have been confirmed to display properly:

    Google Search
    Google Calendar
    Google Drive
    Google Maps
    Google Keep
    Google Finance
    Gmail (Lite mode)
    YouTube
    Wikipedia
    LinkedIn
    Reddit
    IMDB
    Bing
    DuckDuckGo
    Most news sites
    Most banking sites
    And many more :)


Note: It's mostly built with PB (+ some external libs)!
A chromium-based version is also on my todo list...

Beta info and download

Author:  Dude [ Mon Jan 28, 2019 12:54 pm ]
Post subject:  Re: HTML5 Browser

Interesting, and seems to work well. I was expecting broken pages and/or JavaScript error popups, but nope! :)

Went to Snopes to test the ad-blocking of it (they have hundreds!), and it works, but the images are stretched:

Image

Author:  Zebuddi123 [ Mon Jan 28, 2019 2:04 pm ]
Post subject:  Re: HTML5 Browser

Hi firace This is just what we need a no B.S. browser a " Does what it say's on the can" browser. Great thanks Ill be watching!!!

1st. Request encrypted password store would be very nice

Zebuddi. ;)

Posted using Forkle
https://www.radsix.com/

Author:  Fred [ Mon Jan 28, 2019 4:19 pm ]
Post subject:  Re: HTML5 Browser

Did you write your html5 parser in PB ?

Author:  Kiffi [ Mon Jan 28, 2019 6:55 pm ]
Post subject:  Re: HTML5 Browser

:shock:

@firace: Kudos!

Keep up the good work ... Peter

Author:  firace [ Mon Jan 28, 2019 9:07 pm ]
Post subject:  Re: HTML5 Browser

Thanks for the nice feedback! It looks very simple but it took quite a bit of work and research to optimize performance and make things robust enough...

It also supports hardware acceleration for simple WebGL. For instance this demo should take almost no CPU time:
https://kitasenjudesign.com/work/39/


@Fred: Of course not! I just don't have the expertise to write my own parser, and I generally prefer to use existing and time-tested components as much as possible, so I can focus on the features I really want in a browser. I wouldn't try to compete against the armies of coders at Google or Mozilla all by myself anyway... :)

Author:  Little John [ Tue Jan 29, 2019 7:57 am ]
Post subject:  Re: HTML5 Browser

Kiffi wrote:
@firace: Kudos!

Keep up the good work

+ 1 :-)

Author:  Little John [ Tue Jan 29, 2019 10:12 am ]
Post subject:  Re: HTML5 Browser

Yesterday on my notebook, your browser worked fine (under Windows 10 Version 1809).

Now I tested it on another computer (also under Windows 10 Version 1809), and it doesn't work.
The error message is:
Quote:
Out-of-date rendering engine libraries
---------------------------
Please install the latest security updates for your Operating System, then try again.

After searching for updates with the "Windows Update" function, Windows says that there are currently no updates available.

Author:  firace [ Tue Jan 29, 2019 12:19 pm ]
Post subject:  Re: HTML5 Browser

@Little John

That's strange. Could you please check the version and timestamp of the following system file on both systems?

C:\windows\system32\jscript9.dll

Another possible reason could be if your system date/time is incorrect.

Author:  swhite [ Tue Jan 29, 2019 3:58 pm ]
Post subject:  Re: HTML5 Browser

Hi
I tried running in Windows 10 Pro and this the message that I received. As far as I can tell my system is up to date so I am not sure what is wrong.

Simon

---------------------------
Out-of-date rendering engine libraries
---------------------------
Please install the latest security updates for your Operating System, then try again.
---------------------------
OK
---------------------------

Author:  Little John [ Tue Jan 29, 2019 5:03 pm ]
Post subject:  Re: HTML5 Browser

From the PC where Forkle runs as expected:

Image


From the PC where Forkle does not run:

Image


The date and time settings are correct on both systems.

Author:  firace [ Tue Jan 29, 2019 11:31 pm ]
Post subject:  Re: HTML5 Browser

@Little John

Is Windows installed on the C drive on both machines?

Also can you post the output of the About menu from both machines?

You should get something like:

Code:
Forkle 0.61.0.03 beta (v0.61.0.03, Jan 28 2019, 11:12:25)
Layout engine version: 11.523.17134.0 (28)

Author:  dige [ Wed Jan 30, 2019 8:56 am ]
Post subject:  Re: HTML5 Browser

Cool! :D https://html5test.com/ says "Your browser scores 312 out of 555 points"

Author:  Dude [ Wed Jan 30, 2019 9:31 am ]
Post subject:  Re: HTML5 Browser

dige wrote:
Cool! :D https://html5test.com/ says "Your browser scores 312 out of 555 points"

Firefox 65.0 scores 503/555 here, Edge 492, Chrome 530. Which browser actually gets 555? :shock:

Author:  ❤x1 [ Wed Jan 30, 2019 4:53 pm ]
Post subject:  Re: HTML5 Browser

@Dude : none, it's a target rather than a reality, if any browser was to hit the perfect score, they'd just make it harder...

Page 1 of 9 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/