Thu. Dec 5th, 2019

Host your Website

Read and learn

FatCow Web Hosting $1.00/mo* Trust your web hosting to the #1 web host provider, GoDaddy!

Browser hacking: Parsing HTML fragments

1 min read

Serenity is open source on GitHub:
Follow me on Twitter:
Support Serenity on Patreon:
Sponsor me on GitHub:
Donate via Paypal:

Serenity is a Unix-like operating system that I’m implementing from scratch.

6 thoughts on “Browser hacking: Parsing HTML fragments

  1. Love your videos, learning so much! Also love nitpicking, sorry not sorry^^

    I see how constructing html documents manually was tedious, but doesn't this API open you up to html injections?

    Also 30:23: I think the node's old siblings may still be pointing to it.

  2. Great videos and progress!

    I made a comment in a previous video ( which you might have missed ), regarding declarative, composable GUI frameworks like Flutter, SwiftUI and ReactJS. I find these frameworks really fast and intuitive when prototyping UI's ( especially with hot reloading capabilites ). I thought they might be of inspiration if you'd ever want's to rewrite part of your GUI system. Have you looked into them?

    It can look like this in Flutter:

    void main() => runApp(MyApp());

    class MyApp extends StatelessWidget {
    Widget build(BuildContext context) {
    return MaterialApp(
    title: 'Welcome to Flutter',
    home: Scaffold(
    appBar: AppBar(
    title: Text('Welcome to Flutter'),
    body: Center(
    child: Text('Hello World'),

    BTW: Perhaps you could add a childReplace() method ?

Comments are closed.

Copyright © All rights reserved. | Newsphere by AF themes.