Categories
Web

Fix ERR_BLOCKED_BY_CLIENT in Chrome

This is a topic that really threw me for a loop – I have an application which displays a receipt, but it was unable to display it properly. The issue was that my application is running on Domain A (mia.web-performance.ch) and the store that created the receipt is running on Domain B (pia.web-performance.ch). Whenever you clicked the link to view the PDF, you got a blocked page instead.

I spent quite some time searching for answers online, but unfortunately, most of the results I found were unhelpful and didn’t provide any real solutions.

Categories
Web

Self-hosted URL shortener

The need did arise to have my own URL shortener like bit.ly. I was even so simple to use bit.ly, but they do not offer “branded domain” on the free tier.

https://bitly.com/pages/pricing (2024-11-07)

So, I was researching using Claude AI to see what self-hosted options are available that best case can run on inexpensive shared hosting. My needs are minimal. I need redirects, a UI, a simple API, and statistics on how much this is used.

Categories
Web

Piwigo 15 Language Pack Issues

I recently updated my Piwigo instance to version 15. Not out of a real need, but rather just because it’s good to stay current with software updates. This is the first time I ran into an issue, which I caused but didn’t expect.

I deactivated and deleted most languages, and I also switched my default from “English [GB]” to “English [US]. A mistake as I later found out.

Categories
Web

Install LibYAML on XAMPP (Windows)

YAML is used in a wide array of applications, whether in Ansible scripts or elsewhere. In general, it is easier to write YAML than to write correct JSON on your keyboard. If you need to read and parse YAML on your Windows computer, you may find it necessary to install LibYAML to have access to useful functions like yaml_parse().

Uncaught Error: Call to undefined function yaml_parse() in yml2xml.php:5

This post will explain how you can add LibYAML to your Windows XAMPP installation. This will also resolve the error in case the function is not yet present on your system. However, this is not limited to XAMPP, as the process is similar if you run a Windows server with PHP.

Categories
Web

OCSP Checker

You might find yourself needing to inspect the OCSP response for a given URL. This tool is excellent and can do exactly that.

https://certificatetools.com/ocsp-checker (2024-08-29)
Categories
Web

clockify.me and the flood of errors

Time tracking is a fundamental task in most companies. I used to use Clockify for a few years, primarily for its API access and the native Windows client with the mini counter. However, I frequently encountered issues with the client logging me out, crashing, or syncing incorrectly. By the summer of 2024, I had reached my limit.

Categories
Web

What is ClaudeBot/1.0

ClaudeBot is a web crawler used to download training data for training LLMs (Large Language Models). This bot is operated by Anthropic, the company that runs Claude.ai.

ClaudeBot/1.0; +claudebot@anthropic.com

Should you block CaludeBot or limit its access, and how can you do that? Find out more in this article.

Categories
Security Web

GitHub follow commits as RSS

There might be times when you want to closely follow updates to a public GitHub repository. I had this use case in June 2024 when following the Swiss NCSC for cyber threat information regarding DDoS attacks.

I solved this problem by setting up an API key and regularly querying the main branch commits. However, this process is unnecessarily complex. A much easier way is to follow a repository as an RSS feed.

Categories
Web

Understanding GLCID, WBRAID, and GBRAID

In today’s digital marketing world, tracking how ads perform is crucial. Google has been helping advertisers track ad performance using something called GLCID. Recently, Google introduced two new tools called WBRAID and GBRAID. These changes are due to new privacy rules from Apple, and they help advertisers see how effective their ads are without compromising user privacy.

Categories
Web

Analyze HAR with HTTP Watch Studio

The HTTP Archive format, known as HAR, is a JSON-formatted archive file format used to log a web browser’s interactions with a website.

To save a HAR file in Chrome, open the Developer Console. The HAR file contains everything, including cookies and sessions, which can be considered secrets. Remember to be careful with whom you share this file. This can be useful if a website encounters an error condition. It can be a valuable way to debug rendering issues.