When service workers met framesets

  • Observe the .shtml file extension. That means it was once using Apache’s server-side includes, a simple way of repeating chunks of markup across pages. Scientists have been trying to reproduce the wisdom of the ancients using modern technology ever since.
  • See how the layout is 100vw and 100vh? Well, this was long before viewport units existed. In fact there is no CSS at all on that page. It’s one big table element with 100% width and 100% height.
  • So if there’s no CSS, where is the border-radius coming from? Let me introduce you to an old friend—the non-animated GIF. It’s got just enough transparency (though not proper alpha transparency) to fake rounded corners between two solid colours.
  • The management takes no responsibility for any trauma that might befall you if you view source. There you will uncover JavaScript from the dawn of time; ancient runic writing like if (navigator.appName == "Netscape")
  • a domain served over HTTPS,
  • that registers a service worker,
  • but also uses framesets and frames.

--

--

--

A web developer and author living and working in Brighton, England. Everything I post on Medium is a copy — the originals are on my own website, adactio.com

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

All You Need to Know About @Decorators— a Case Study

Register

A Beginner’s Guide To React Native Navigation

Long, empty road

Typing Builder Functions in TypeScript Featuring Styled Components

How I Built Stack Data Structure Demonstration With JavaScript.

A stack of books. Image by Andrew Draper from Unsplash.

Learning to Code: Day 50— Basic JavaScript Part 15

Interesting facts about Node.js

Resigning from the AMP advisory committee

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jeremy Keith

Jeremy Keith

A web developer and author living and working in Brighton, England. Everything I post on Medium is a copy — the originals are on my own website, adactio.com

More from Medium

Faulty logic

Headless components in React and why I stopped using a UI library for our design system

Rush to Retire NPM for RushJS

Rush logo

Why Your Developers Should Meet With The Customer