Tag Svelte & Kit

Simple Proxy for puppeteer extension rewritten

I have an extension that controls the proxy of a browser. Before the rewrite, it was pretty slim, written in plain Valina JS, and I didn't touch it for three years. 


But manifest V3 will be mandatory as of June this year, so I rewrote it. It took me a few hours, and I converted it into a Svelte TS extension. 

Added a few new features, like the possibility to auto-disconnect if the proxy is failing, start the proxy with the browser, being able to verify a proxy is valid, and dark theme...

View full article

PartyTown On SvelteKit

To start, I'll say what party town is, in a nutshell: it's a tool to get some of your execution out of the main thread and into a worker.
It's doing that by communicating between the worker and the main thread, which will primarily execute DOM updates.
More in-depth, this concept works by you marking the scripts as `not javascript` then those scripts are forwarded to the worker. If those scripts are external, they must be passed through a proxy that will get around CORS.
Now most common use for Pa...

View full article