Obfuscation with Protext

Obfuscation is the process of making something obscure, unclear, or unintelligible. Obfuscation techniques, such as markup mangling, work great for deterring people from understanding the codebase. Beyond that, mangling serves no purpose for the end user.

Recently, I came across a new and very unique obfuscation technique. One that focuses on the content rendered on the screen, not the underlying code.

Read more

Switching to Workbox

Writing a good, healthy, bug-free service-worker script and its installer script is a pretty hefty task. There are multiple pitfalls and they aren’t always visible before time. The worst part is, if something goes wrong, things can get out of hand pretty quickly.

Just watch this talk by Alexander Pope - ServiceWorkers Outbreak.

Read more

react-router in Twitter and Pinterest style

Modals are the de facto tool used to show notices and alerts, related content, and the pesky “Please subscribe” requests.

Twitter and Pinterest are two websites that use modals heavily. I’d go as far as to say that they use modals as a central components of their design, and not just some auxiliary tools.

Read more

Browser history functioning and loopback gotcha

According to MDN,

The History interface allows to manipulate the browser session history, that is the pages visited in the tab or frame that the current page is loaded in.

But how exactly does the browser keep track of the visited pages?

Read more

Animating Dots & Dashes

Using dashed-dotted-lines to create sweet and simple animations.

Read more