Download from Nexusmods.com without wait and redirect (support Manual/Vortex/MO2/NMM)
< 脚本 Nexus No Wait 的反馈
Archive links don't work for anything but ONE mod on the entire site. XD
That's because both game name and mod id are hardcoded in the extension code. -_-
Here's fixed version of function archivedFile():
function archivedFile()
function archivedFile() { if (/[?&]category=archived/.test(window.location.href)) { const fileIds = document.getElementsByClassName("file-expander-header"); const elements = document.getElementsByClassName("accordion-downloads"); const imageCode = (id) => `<svg title="" class="icon ${id}"><use xlink:href="https://www.nexusmods.com/assets/images/icons/icons.svg#${id}"></use></svg>`; const path = `${location.protocol}//${location.host}${location.pathname}`; for (let i = 0; i < elements.length; i++) { elements[i].innerHTML = '' + `<li><a class="btn inline-flex" href="${path}?tab=files&file_id=${fileIds[i].getAttribute("data-id")}&nmm=1" tabindex="0">` + `${imageCode('icon-nmm')} <span class="flex-label">Mod manager download</span></a></li>` + `<li><a class="btn inline-flex" href="${path}?tab=files&file_id=${fileIds[i].getAttribute("data-id")}" tabindex="0">` + `${imageCode('icon-manual')} <span class="flex-label">Manual download</span></a></li>`; } } }
登录以发布留言。
Archive links don't work for anything but ONE mod on the entire site. XD
That's because both game name and mod id are hardcoded in the extension code. -_-
Here's fixed version of
function archivedFile()
: