javascript

Posts tagged with #javascript
Total: 4

Introducing snippethost.gitlab.io

Posts | 2026-01-11 | 1 min read
#gitlab #javascript

It is no secret that I’m no big fan of GitHub and it’s dominance in the VCS-ecosystem.

So in an effort of leveling the playing field I’m taking it onto myself to build more cool things for and with my VCS of choice, GitLab!

Read more…

Show Size of Elements Using JavaScript

Notes | 2024-01-19 (updated 2025-10-25) | 1 min read
#debugging #javascript

I was recently doing a lot of layouting pages to later be printed, so showing how big certain elements are was of help to me.

This is a JavaScript function that does just that.

Read more…

Simple Copy Button Using JavaScript

Notes | 2024-01-16 (updated 2025-10-25) | 1 min read
#javascript

I often find myself wanting a simple copy button in my web projects.

This is the recipe I build them from using clipboard.js and a couple lines of JavaScript.

Read more…

Generate link in plain text element using JavaScript

Notes | 2023-12-17 (updated 2025-10-25) | 1 min read
#javascript

Sometimes, when working with externally generated content you might want to make links clickable when rendering it in the client.

This is a snippet to do just that.

Read more…