The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,861 other subscribers

Archive for the ‘JavaScript/ECMAScript’ Category

Online HTML Stripper. Remove HTML and formatting from text

Posted by jpluimers on 2026/02/11

This was the easiest tool to remove HTML from select tags while keeping line breaks: [Wayback/Archive] Online HTML Stripper. Remove HTML and formatting from text.

Especially the client-side on-line tools I tried failed that option:

This just does not work at all for me: [Wayback/Archive] HTML Cleaner (cannot paste HTML text: needs to paste formatted text which does not work with select elements).

Could I have done this on a command-line? Of course, but I don’t need it often enough to warrant investigating and remembering how to do that in an efficient manner.

Queries:

Read the rest of this entry »

Posted in Blogging, Development, HTML, JavaScript/ECMAScript, LifeHacker, PHP, Power User, Scripting, SocialMedia, Software Development, Web Development | Leave a Comment »

JavaScript unit testing in the browser without Node.js: Getting Started | QUnit

Posted by jpluimers on 2026/01/29

A cool way to unit-test JavaScript code on the browser side is [Wayback/Archive] Getting Started | QUnit:

To get started with QUnit in the browser, create a simple HTML file called test.html and include the following markup:

<!DOCTYPE html>
<meta charset="utf-8">
<title>Test Suite</title>
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-2.19.4.css">
<body>
  <div id="qunit"></div>
  <div id="qunit-fixture"></div>
  <script src="https://code.jquery.com/qunit/qunit-2.19.4.js"></script>
</body>

That’s all the markup you need to start writing tests. Note that this loads the library from the jQuery CDN.

I was so glad to find QUnit via the below links as I unconsciously wanted such a thing for a very very long time.

You can either run it locally or remotely or from the jQuery CDN as both it

  • is a Node.js module so the source files are all available on the jQuery CDN
  • it does not require the Node.js to load so it can run from any location you want (that CDN, locally or another on-line location)

Read the rest of this entry »

Posted in Chrome, Development, Edge, Firefox, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers, Web Development | Leave a Comment »

Some links for JavaScript tokenizers and syntax highlighters

Posted by jpluimers on 2026/01/28

In yesterday’s post Bookmarklet for Archive.is to navigate to the canonical link with the “redirected from” instead of “saved from” I mentioned js-tokenizer for syntax highlighting. When writing that, I didn’t have time to dig deeper, but saved the links for later investigation.

Since I won’t have time to finish writing a complete article on this anytime soon, I decided to just publish the list:

Read the rest of this entry »

Posted in Development, JavaScript/ECMAScript, Scripting, Software Development | Leave a Comment »

Bookmarklet for Archive.is to navigate to the canonical link with the “redirected from” instead of “saved from”

Posted by jpluimers on 2026/01/27

This is a follow-up on Bookmarklet for Archive.is to navigate to the canonical link which can be accessed from multiple URLs, some through redirection:

You can see the difference in these archived links (the navivate was a typo that I only spotted after the original blog post got published):

I wanted a Bookmarklet to find the last link; the one in the referenced blog post didn’t.

Read the rest of this entry »

Posted in Bookmarklet, Debugging, Development, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers, Web Development | Leave a Comment »

It died, but longer ladders will be there: 12ft – Wikipedia

Posted by jpluimers on 2025/12/31

From 12ft – Wikipedia:

On July 17, 2025, the News Media Alliance reported that it had taken down the website.

It’s impossible to enjoy the content of online media by paying (for instance because payment systems are not compatible, but also because those media often have region blocks), so this is to longer ladders (and understanding how ladders work):

Read the rest of this entry »

Posted in archive.is / archive.today, Cloud, Containers, Development, Docker, HTML, HTML5, Infrastructure, Internet, InternetArchive, JavaScript/ECMAScript, LifeHacker, Power User, Python, Scripting, Software Development, WayBack machine, Web Development | Leave a Comment »

If you develop web-sites, be sure their basics work without JavaScript, as JavaScript is a security risk

Posted by jpluimers on 2025/12/18

I have had JavaScript disabled by default for years now, which means that:

  • if your site requires JavaScript, I will opt for an alternative
  • I will block anything ad related, even if it means I cannot use your site

The reasons are simple:

  1. JavaScript has become a big security threat over time. Be it tracking (hello fingerprinting!), data leakage, direct attacks, supply chain attacks, sloppy code or other risks, JavaScript is not vulnerable just by itself, but especially the eco systems (hello npm – 2 attacks in September 2025 alone – and advertising networks) using it. Just a few references:
    1. [Wayback/Archive] The perils of JavaScript: How we’ve broken the internet’s security
    2. [Wayback/Archive] Most Common Security Vulnerabilities Using JavaScript – SecureCoding
    3. [Wayback/Archive] Supply Chain Security Alert: Popular Nx Build System Package Compromised with Data-Stealing Malware – StepSecurity
    4. [Wayback/Archive] Wormable Malware Causing Supply Chain Compromise of npm Code Packages – Arctic Wolf
    5. [Wayback/Archive] FingerprintJS | Identify Every Web Visitor & Mobile Device
  2. JavaScript has become a huge resource hog. Disabling JavaScript by default increased the snappiness and battery life of my laptops and smartphones significantly. In addition, it makes it way easier to read region-blocked content. Double win!

The below thread by [Wayback/Archive] Dr. Christopher Kunz (@christopherkunz@chaos.social) – chaos.social sparked me to finally write why and add some relevant links.

Thread:

Read the rest of this entry »

Posted in Development, Infosec (Information Security), JavaScript/ECMAScript, Power User, Scripting, Security, Software Development, Web Development | Leave a Comment »

How do you disable these thumbnails that pop up near the end of videos!? : r/youtube

Posted by jpluimers on 2025/12/09

Since a few years, YouTube puts annoyingly overlays on top of like the last 5 to 10 seconds of videos often covering valuable content.

Lately – while preparing for concerts – I have watched a lot of score music videos where the end really is very important to me (see the example below), for instance when rehearsing [Wayback/Archive] La Alhambra – Llano – YouTube until the final end.

The solution came from [Wayback/Archive] How do you disable these thumbnails that pop up near the end of videos!? : r/youtube

Read the rest of this entry »

Posted in Chrome, Chromium, CSS, Development, Edge, HTML, JavaScript/ECMAScript, Power User, Scripting, SocialMedia, Software Development, Web Development, WebAssembly, YouTube | Leave a Comment »

How could i get a permanent link for raw file? · community · Discussion #22537 · GitHub

Posted by jpluimers on 2025/12/04

I used [Wayback/Archive] How could i get a permanent link for raw file? · community · Discussion #22537 · GitHub to go

The reason I needed it is that for quite a while now, GitHub has started to display PDF files as preview, and modified the download behaviour to get a blob: link instead of the actual raw file download location.

On the to do list:

  1. figure out the same for raw files in gists
  2. figure out the same for GitLab
  3. convert these into Bookmarklets (fiddle with the bold parts in the above URLs)

Thanks [Wayback/Archive] Lotaristo (Czeslaw Meyer) and [Wayback/Archive] byrneh (Hugh Byrne)

--jeroen

Posted in Bookmarklet, Conference Topics, Conferences, Development, DVCS - Distributed Version Control, Event, gist, git, GitHub, GitLab, Hosting, JavaScript/ECMAScript, Power User, Scripting, Software Development, Source Code Management | Tagged: | Leave a Comment »

Is this the ultimate XKCD “Dependency” derivative?

Posted by jpluimers on 2025/11/29

xkcd modern digital infrastructure torn down by a satisfied looking cat

Besides the August 2025 XKCD infrastructure dependency inspired cartoon on the right, the more recent and great [Wayback/Archive] XCKD: Dependency derivative below is a monumental piece as it combines the recent:

  • fiber outage of the Internet Archive
  • DoS of Cloudflare by itself
  • AWS us-east-1 dependencies outage
  • Crowdstrike DoS of Windows machines
  • framework-du-jour mentality in the JavaScript world
  • many more¹

Image [Wayback/Archive] 36247840bf294a9d.png (1080×1389) from [Wayback/Archive] xyla 🐀🪇: “someone pls alt text this shit…” – buy shitpost cheap:

Read the rest of this entry »

Posted in *nix, Amazon.com/.de/.fr/.uk/..., AWS Amazon Web Services, C, CDN (Content Delivery Network), Cloud, Cloudflare, cURL, Development, Fun, Hardware, Infrastructure, ISP, JavaScript/ECMAScript, Network-and-equipment, Node.js, npm, Power User, Rust, Scripting, Software Development, Web Development | Tagged: , | Leave a Comment »

The Marvin the Paranoid Android 404-text

Posted by jpluimers on 2025/11/27

A while ago, I mentioned a 404-text simulating the Marvin the Paranoid Android as a side-line on a PlantUML post.

While categorising my ASCII art posts, I came across it, and it was published before I started archiving blog links in the Wayback Machine and Archive.is as much as possible.

Back during categorising, I added a few of those archived links, then made a note to research deeper.

So later, I got to that digging and did some digital spelunking, restored the text from an archived page and the underlying JavaScript code that simulated the text being typed on a “terminal”.

Then I did some more spelunking to the oldest usage I could find.

Here are the results:

Read the rest of this entry »

Posted in ASCII art / AsciiArt, Development, Fun, HTML, JavaScript/ECMAScript, Meme, Scripting, Software Development, Web Development | Leave a Comment »