Created
November 8, 2019 08:34
-
-
Save Vazkii/cbb9b5f038ab989caa99970c5487686d to your computer and use it in GitHub Desktop.
Userscript to hide fabric mods (use with Tampermonkey or any other userscript plugin)
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 Hide Fabric Mods | |
// @version 1.0 | |
// @description Hides fabric mods from CurseForge | |
// @author Vazkii | |
// @match https://www.curseforge.com/minecraft/mc-mods* | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
$('.project-listing-row').each(function(e) { | |
if($(this).find('a[href="/minecraft/mc-mods/fabric"]').length > 0) | |
$(this).hide(); | |
}); | |
})(); |
It seems a new curse website update just broke this script this week. They removed the "href" from the fabric icons.
I forked and made a small change to the script to make it work again.
CurseForge has a Filter for that, but it's kinda crappy. Anyway, I'll use it to filter Forge mods. 😜
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How do I use install this to Tempermonkey?