
Fixing Userscript Cross-Origin Request Errors
Why fetch fails across origins in a userscript, and how GM_xmlhttpRequest, @connect and permission prompts solve it.
Field notes and practical guides on flag assets, userscripts and browser-only developer tooling.

Why fetch fails across origins in a userscript, and how GM_xmlhttpRequest, @connect and permission prompts solve it.

How base64 and base64url encoding work, the Unicode problem with btoa and atob, data URIs, and why base64 is not encryption.

Which characters need HTML entity encoding, named versus numeric entities, and why entities alone do not prevent XSS.

The CSS recipe for glassmorphism panels, backdrop-filter support, performance cost, contrast pitfalls and fallback strategies.

Comparing UUID v4 and v7 for randomness, index locality, sortability and privacy, with a straightforward decision guide.

Browser-only converters and formatters never transmit your data. What that means in practice, how to verify a tool really runs locally, and where the limits are.
How to build a complete favicon set from one SVG source: ico, PNG sizes, apple-touch-icon, manifest icons and link tag order.

How userscript support differs on macOS and Safari, including paid managers, iOS support and debugging tips.

How JWT structure, base64url and claims work, why decoding is not verification, and why you should not paste production tokens into remote tools.

How client-side SVG to PNG conversion works using canvas and Image, covering resolution, transparency, fonts and batch export.

A practical Flexbox reference covering container and item properties, alignment, wrapping, the flex-basis trap and common bugs.

How to export, sync and restore your Tampermonkey scripts, and what a backup does and does not include.

How hex colour codes convert to RGB and HSL, covering alpha, modern CSS colour functions, oklch and contrast ratio calculation.

What userscripts are, how Tampermonkey and Violentmonkey run them, how to install one safely, how to write your first script, and how to debug it.
Build an accessible country picker with circular flag icons: search, keyboard navigation, ARIA roles and virtualisation for 800+ options.

An explanation of how userscript managers inject code, sandbox scripts, and differ from extensions and bookmarklets.

How cron expressions work: five and six field formats, ranges, steps, day-of-week logic, time zones and platform differences.

How to set custom cursors with the CSS cursor property, hotspot coordinates, size limits, formats and fallbacks.
How to add country flag icons with CSS: background-image, data URIs, mask-image recolouring, sprite sheets and dark mode borders.

A beginner walkthrough for installing your first userscript, from adding a manager to enabling the script on a site.

A practical regex reference covering character classes, quantifiers, groups, lookaround, flags and common recipes for web development.

A factual comparison of Tampermonkey and Violentmonkey covering licensing, browser support, sync, editors and APIs.

A practical guide to embedding circular SVG country, state, language and symbol flags in HTML, React and CSS, including data URIs, sprites, PNG fallbacks and accessibility.