-
-
Save DavidBuchanan314/4f0cc29d356eca21a8ea01f2d84395f9 to your computer and use it in GitHub Desktop.
DEPRECATED - this doesn't do anything anymore, feeds work differently now
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name New Userscript | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://bsky.app/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=bsky.app | |
// @grant none | |
// ==/UserScript== | |
(window => { | |
'use strict'; | |
let orig_URL = window.URL; | |
window.URL = function(url, base) { | |
let res = new orig_URL(url, base); | |
if (url == "https://bsky.social/xrpc/app.bsky.unspecced.getPopular") { | |
res.searchParams.set("includeNsfw", "true"); | |
} | |
return res; | |
}; | |
})(window); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment