Pruning and Polishing: Keeping OpenBSD Modern
openbsd.org
openbsd.org
This is a good example for that code that is neither used nor tested is useless.
<script>
document.getElementById("bonus").innerHTML = 'body { font-family: "Comic Sans MS", "Chalkboard SE", "Comic Neue", cursive, sans-serif; }'
window.onscroll = function() {
document.getElementById("bonus").innerHTML = 'body { font-family: serif; }'
window.onscroll = null
}
</script>I see that the font changes to serif, when the text is scrolled. Is that funny? How does this HTML work?
This gag rewards people who read more than the first couple of lines before bouncing just because of the ugly font.
Note The OpenBSD Foundation does not ;^).
Maybe I'm reading too much into it, but even if just an unintentional byproduct - isn't that a nice "additional" reward for people that don't allow running unnecessary scripts on random web sites?