Skip to content

Instantly share code, notes, and snippets.

javascript: (() => {
/*Apache2 License, Brian Ballsun-Stanton*/
const hostName = window.location.hostname;
const currentDomain = hostName.substring(hostName.lastIndexOf(".", hostName.lastIndexOf(".") - 1) + 1);
/*https://stackoverflow.com/a/19937750*/
if (currentDomain != "newsblur.com"){
const newTarget ="https://12ft.io/"+window.location.href;
window.location.href=newTarget;
} else {
Element.prototype.appendAfter = function(element) {
@JoeyBurzynski
JoeyBurzynski / 55-bytes-of-css.md
Last active October 28, 2025 06:41
58 bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
}