- Joined
- Jun 12, 2020
Kiwidirect
What is this shit?
This is a Firefox extension that'll redirect you to your preferred Kiwi Farms domain. It basically sniffs any HTTP requests to kiwifarms.net, sneed.today, kiwifarmsaaf4t2h7gc3dfc5ojhmqruw2nit3uejrpiagrxeuxiyxcyd.onion and rewrites them to whatever domain you specify on the fly. This works for web pages and media so assets that have been inadvertently hardcoded to a domain will also load (e.g. chat avatars on sneed.today).Cool, how do I get it?
Download the attached .zip file and install it manually from about:addons. It is signed by Mozilla but only for private distribution as I rate the chances of it being approved for AMO distribution at 0%.I installed it, now what?
The purple Kiwi Farms Tor icon should now be in your toolbar (or may be hidden under extensions) and you can use that to enable/disable it and set your preferred domain. The extension defaults to .onion so remember to configure this straight away if you're on clearnet.Known issues
Tor Browser chads will see an error on the options page asking them to set webextensions.storage.sync.enabled to true inabout:config
. You can ignore this but the extension will just default to always being on and with the .onion as the preferred domain.- I had to put in some bullshit to mangle the .onion anti-DDoS cookie as same-site being 'strict' caused it to not send the cookie after redirection and needlessly trigger a new challenge. The bullshit basically deletes the cookie and immediately recreates it with a more relaxed same-site policy but this hasn't been run through its paces 100% so it might be buggy.
But I'm a Chrome cuck!
The extension does actually support Chromium (I tested with Brave) but it's just buggy and I don't know how to fix the issues.- If you edit the settings, it won't take effect until an HTTP request has been made. This is because I could not find a way to reliably update the instance/enabled properties as the storage onChanged event for some reason doesn't work. So if you change to sneed.today and click a link, it might take you to the .onion first instead, then it'll work on the second attempt.
- Sometimes it just won't redirect pages but will redirect the assets. This seems to be due to caching as CTRL+F5 fixes it. I could not reliably reproduce the issue and it seemed to sometimes affect pages I hadn't even loaded previously so preloading might be partly to blame.
- Brave intercepts .onion URLs before I have a chance to redirect by default. Disabling "Private window with Tor" in brave://settings/privacy seems to stop this.
Why does this require so many permissions?
Fixed in 0.0.14. I was a dumbass and doing it wrong.
It also requests access to cookies to help resolve issue #2. It won't touch your cookies if you're on clearnet as Kiwiflare doesn't have a strict same-site policy for its cookies.
Updates?
Check this thread for updates. Since this is privately distributed with no update URL in the manifest, there's no way to automatically update it.Source?
Unpack the zip. There's no obfuscation or minifying going on. Trigger Warning: I'm not a JavaScript programmer and hacked this together using a couple of old Invidious redirect extensions so the code is kinda shit.License?
MIT+NIGGERAttachments
Last edited: