1. 114

  2. 17

    If you set the contenteditable attribute, you can even live-edit the css on the page

    <style contenteditable style="display:block">

    and BTW, uBlock injected a big element at the very beginning of the linked website

    1. 6

      My brain, currently somewhat fatigued, wanted to google what a ‘contented itable’ was and what you use it for. I need a break, methinks.

      1. 2

        Oh, interesting point about making injected content visible. I may have to experiment with that. Would be good to see what extensions are really doing.

        1. 1

          hi – i made a different example that makes the style editable (using contenteditable)


          Note (as it says there) that if you press Enter while editing the style, the browser will inject elements that stop being treated as part of the style tag. So be careful with this new super power!

        2. 8

          Not only is it a naked, brutalist quine, it’s a naked, brutalist, literate quine.

          1. 4

            It’s surprisingly readable, probably because the contrast on the tags, which you mostly want to skip, is so low.

            1. 2

              I ♥️ this.

              btw. my personal minimal (responsive 😉) html boilerplate:

              <!doctype html><html lang="de"><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">
              1. 2

                That’s a lot of unnecessary quotation marks! Also I think your two meta tags can be merged.

                1. 1

                  Thanks for the feedback 😊👍 These are great suggestions.

                2. 2

                  do meta tags not go in <head>?

                  1. 2

                    Head (& body) are no longer required.

                    1. 2

                      <head>, <body>, and even <html> have never been required in HTML.