This Page Is a Quine (2021)
pranavg.me
This Page Is a Quine (2021)
1–10 of 10 posts
Re: This Page Is a Quine (2021)
#2Re: This Page Is a Quine (2021)
#3Re: This Page Is a Quine (2021)
#4https://github.com/mame?tab=overview&from=1970-12-01&to=1970...
Re: This Page Is a Quine (2021)
#5But on Lynx, it's rendered as only a plain page without all the CSS style bits to make it quine.
Re: This Page Is a Quine (2021)
#6This page is a truly naked, brutalist HTML quine (2019) - https://news.ycombinator.com/item?id=32968597 - Sept 2022 (44 comments)
Show HN: This page is a truly naked, brutalist HTML quine - https://news.ycombinator.com/item?id=20094866 - June 2019 (94 comments)
Re: This Page Is a Quine (2021)
#7Re: This Page Is a Quine (2021)
#8Apparently, at least on Chrome, Ctrl+F will not find text inside a block, no matter whether it's displayed or not.
Ctrl+F works even to find text inside the displayed and elements, but not inside the displayed element. What could be the browser-writer's rationale for this? And are there any other HTML elements that "suppress searching" like this?
Re: This Page Is a Quine (2021)
#9> This page works on all browsers But on Lynx, it's rendered as only a plain page without all the CSS style bits to make it quine.
Re: This Page Is a Quine (2021)
#10The trick is `* {display:block;}`. Having learned that, I wondered whether https://secretgeek.github.io/html_wysiwyg/html.html used the same trick. So I opened up the page and Ctrl+F'ed for "display:". Nothing came up! Back to https://pranavg.me/ and Ctrl+F'ed for "display". Nothing came up! Apparently, at least on Chrome, Ctrl+F will not find text inside a block, no matter whether it's displayed or not. Ctrl+F works…
Interesting enough, document.body.innerText does contain the style sheet contents, so the browser does consider it visible text in some sense.