Unblocking CSS with Media Queries – Website Performance Optimization

CSS allows us to scope styles to particular conditions. For example, consider the file we have in front of us. The body rule applies in all conditions. However, when the device is in landscape mode, we apply a special rule to float the menu on the right. Similarly, if someone decides to print the page, we resize the […]

XSS on Google Search – Sanitizing HTML in The Client?

Google Search is arguably the frontpage of the Internet, and it’s search bar has been hammered with untrusted user-input for decades. That’s why I would have never thought to ever experience something like a live XSS on Google Search myself. That was, until I was sent the following URL. I see this weird string in the search bar […]