From 0779adfe6481027fbe49f6433e19fe10c3c93a13 Mon Sep 17 00:00:00 2001 From: LittleBit Date: Fri, 21 Aug 2026 04:31:00 -0500 Subject: [PATCH] [bsky-replacer] move variable inside function to fix error --- bsky-replacer.user.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bsky-replacer.user.js b/bsky-replacer.user.js index cbcd03d..fa207a3 100644 --- a/bsky-replacer.user.js +++ b/bsky-replacer.user.js @@ -10,10 +10,11 @@ // @description Attempts to go to bsky.app can be redirected to any similar client of your choosing (default witchsky.app) // ==/UserScript== -const clientDomain = "witchsky.app" // Replace with the domain of the Bluesky client you want to use - (function() { 'use strict'; + + const clientDomain = "witchsky.app" // Replace with the domain of the Bluesky client you want to use + // Replaces the domain while keeping the path and query parameters const newUrl = window.location.href.replace('bsky.app', clientDomain); window.location.replace(newUrl); -- knotmirror 0.0.1