批量取消关注 Nexusmods 上的模组。
Stop tracking multiple mods at once on Nexus Mods. USE WITH CAUTION!
On the Nexus Mods Tracking Centre page, open the browser console and type elStopTrackingAll() and press Enter to stop tracking all mods displayed on the current page.
It is essentially a script that simulates clicks on all the stop tracking buttons.
Full code:
// ==UserScript==
// @name Stop Tracking All
// @name:en Stop Tracking All
// @namespace https://github.com/ewigl/nexusmods-stop-tracking-all
// @icon https://www.nexusmods.com/favicon.ico
// @match https://www.nexusmods.com/mods/trackingcentre*
// @match https://www.nexusmods.com/*/mods/trackingcentre*
// @grant unsafeWindow
// @version 1.0.1
// @author Licht
// @license MIT
// @description 批量取消关注 Nexusmods 上的模组。
// @description:en Stop tracking multiple mods at once on Nexus Mods.
// ==/UserScript==
unsafeWindow.elStopTrackingAll = () => {
$(".toggle-track-mod").each((_i, element) => {
element.click();
});
};