As a fellow extension developer, you'll know that remote code is extremely sandboxed by the review process and you can jump into the code easily.
Hell if you're that paranoid, sniff any remote connections with mitmproxy and generally just... understand what an extension does before you leave it on your machine.
Some extensions are just fun; this extension is wicked for me as design inspiration but yeah, salty take and hackernews PB+J
It's super short, and has subtitles, so watch it whilst you're next sat with your elbows on your knees, then go try it out.
Video content:
- Two Quick Demos
- First: Hooking into MapLibre from console.
- Second: Searching for public API keys on Zillow.
You can repurpose the code below to find and extend functions, edit components, hook into specific React component event handlers etc, all from client window.
You can drop the code directly into the client console if you're working with Next. Otherwise, you'll need to tweak one line.
Why am I sharing? Building extensions is super fun, and I'd like others to share in that fun.
The code is bad, and I am bad at what I do. But somehow, I make it work. If that interests you, you can have fun building extensions, too.
Also, PS. Please use it responsibly. Technically, you could use it to crawl the Internet for information that probably shouldn't be stored in state. We don't want that.
Reply with your indifference, praise or silence below.
If anyone's around here and isn't adverse to actually being paid for developing extensions in a non-shitty way, I built https://github.com/dougwithseismic/monetize-this and use it in my own extensions.
I get that it's noble to hold a position of 'no way, I will never monetize, I am a shining white knight' but lets be real, we all gotta eat. If you choose not to then that's great, Im glad but please; monetization !== shady shit.