Artboard 16light, inspiration, solution, idea, innovation,Google Sheets iconSwift icon
Published at
Updated at
Reading time
7min
Web Weekly keeps you up to date, teaches you web development tricks and covers all things working in tech. If you like it, subscribe below.

Goooooood day! πŸ‘‹

Hello everyone! How has your week been? I had some time to work on my website, ran a new 10km best time (5:15 min/km), and read many nerdy articles. It was a good week, and I hope the same applies to you!

This week's Web Weekly includes:

  • Browser and VS Code extensions.
  • A new proposal for native browser prerendering.
  • Why you shouldn't argue with strangers on the internet.

... and, as always, GitHub repositories, a new Tiny Helper and some music.

Something that made me smile

I loved this Tweet (and project) from 2018 and will adopt the term VPG from now on! πŸ˜†

I made a VGP (very good program) that makes it so it looks like I’m typing on slack whenever anyone else is typing, and stops when they stop.  Everyone loves it so far and doesn’t find it annoying at all!

A browser extension to identify large DOM nodes

DOM treemap extension showing the size of DOM nodes

If you're monitoring your sites with Chrome's Lighthouse, you might have seen the "Avoid excessive DOM size" warning. How can you discover your site's large DOM nodes?

My friend Schepp had the same question and developed a handy browser extension to identify reasons for excessive DOM size.

Chrome extension Firefox extension

Should you argue with strangers on the internet?

Instead, I write in my diary. "Dear diary, why are humans so fucking stupid? Except me. xoxo"

When you create content online, there will always be someone who has "opinions" about it. Should you engage with every person online? I don't think so (you don't owe anything to anyone online), and that's why I enjoyed reading Mehret Biruk's take on the topic.

Stop arguing with strangers

TIL: "React Native for Web" is a thing

Twitter's div Soup and Uglyfied CSS, Explained

Did you already inspect Twitter's web app? I did when I discovered alt text for social images. Its structure is what some people call a "div soup", and this week I learned that this soup is made with React Native for Web. I didn't know this existed. πŸ™ˆ

Learn how Twitter is built

How to tell a story with animations

A promise broken

Disclaimer: I only scanned the following article. But I loved scrolling through the page because beautiful animations are going on there!

Enjoy the beauty of animations

A β™₯️ for map visialisations

A beautiful map illustration

I'm super into map visualizations and discovered Andrei Kashcha's City roads project. It draws all the roads of a particular area; it's just fascinating to look at how cities are built.

The project reminded me of the Pretty Maps scripts. I'm that close to printing my local area and hanging it onto my walls.

Create a beautiful map

A VS Code UI to manage Node.js dependencies

VS Code extension to handle Node.js dependencies

When I use tools like CodeSandbox, I always enjoy how it handles Node.js dependencies. The service provides a sidebar UI to install and upgrade dependencies.

I found a VS Code extension that does the same, and I'm super excited about it!

Manage your Node.js dependencies

What happens when the sea level rises?

Map showing where water flows if the seal level rises

It's 2021, and we're in the middle of climate change. The following website shows what happens when the sea level rises. According to the site, with only 1m higher sea level, my hometown is already flooded. It's so scary!

See what will be under water

Can we have native prefetching, please?

Source code; showing a new speculation rules script (type="speculationrules") element

The Chrome folks are pushing so many new web features so that it's hard to keep track. But the prerendering proposal caught my eye: it bakes prerendering and prefetching into browsers.

I love this idea!

Check out the Prerendering origin trial

A serverless function to proxy and cache API calls

With all this functionality, I could: 1.Deploy a new API endpoint that accepts query params for the user and profile image size (/api/user-image/?stefanjudis&size=40). 2. Fetch and proxy the GitHub profile images in a serverless function. 3. Cache the responded image to save requests to GitHub.

I got rid of an annoyance on Tiny Helpers yesterday. When you navigated the site, you ran into GitHub profile image rate limits.

A serverless function that proxies and caches GitHub profile images helped out there! It's just beautiful that we can deploy serverless functions in a few minutes these days.

Work around rate limits

TIL recap: the relatedTarget JavaScript event property

Source code: document.querySelector('button')   .addEventlistener('focus', (event) => {     console.log(event.target);             // πŸ‘† the element that received focus     console.log(event.relatedTarget);      // πŸ‘† the element that lost focus (if any)   });

Did you know that JavaScript events also include a relatedTarget property? If you're building something that deals with focus handling, it can come in handy!

Learn more about relatedTarget

Reader shout out πŸ’™

 Weekly Digest 38/2021 by Marco Biedermann

If you enjoy this newsletter, you will enjoy Marco's Weekly Digest on dev.to, too. Marco shares excellent development and design resources, and there are always beautiful things in there.

Last week he included one of my Tweets. 😊

Thank you, Marco, and thank you all for reading along!

Three valuable projects to have a look at

  • github/hotkey – Trigger an action on an element with a keyboard shortcut.
  • electerious/Ackee – Self-hosted, Node.js based analytics tool for those who care about privacy.
  • csswizardry/ct – A stylesheet to visualize what's in your <head/>.

A new Tiny Helper

A form with the headline "Redirect Detective"

I received some fishy emails this week and wondered how to find out the redirect targets of these suspicious URLs without clicking them. The "Redirect Detective" helped out!

See where redirects are going to

Find more single-purpose online tools on tiny-helpers.dev.

A quote to think about

This Raptitude article questions what would happen if you treated everything you do as if it would be your last time doing it? I thought about that a lot this week.

You always know when you’re doing something for the first time, and you almost never know when you’re doing something for the last time.

A song that makes you stop coding

Character drawing in Incubus "Drive" music video

This week's track is a classic from the past. Incubus' "Drive" is a song that made me forget everything this week.

Listen to "Drive"

Thank you for reading!

And that's a wrap for the thirty-eighth Web Weekly! If you enjoy my newsletter, I'd love you to tell others about it. β™₯️

If you're not a subscriber, you can change that! πŸ˜‰

Stay safe, and I'll talk to you next week! πŸŽ‰ πŸ‘‹

PS. I heard the cool kids use RSS. You can find multiple feeds on my site.

Related Topics

Related Articles