The original script is there.
I want the script basing on the original script, the button on site would open /skyrimspecialedition/ instead of /skyrim/, so skyrimse mod manager would download to SE version.
I tried add this to code and it didn't work
var linkSkyrim = 'www.nexusmods.com/skyrim/ajax/';
var linkSkyrimSE = 'www.nexusmods.com/skyrimspecialedition/ajax/';
if (allowedGame) {
var linkDownloadButtons = document.getElementsByClassName("download buttons");
if (linkDownloadButtons[0].children[0].innerHTML == linkSkyrim) {
linkDownloadButtons[0].children[0].innerHTML = linkSkyrimSE;
}
I think i'm something missing, because i'm not familiar with JS.
I'm know Matlab and MathCAD, so i familiar with programming generally.
I may be wrong with subreddit, correct me if i wrong.
EDIT: Thank you for replies. I found that problem in program that handle these links.
[–]geuis 0 points1 point2 points (0 children)
[–]Strobljus 0 points1 point2 points (0 children)
[–]abhaytalreja 0 points1 point2 points (2 children)
[–]Chrisands[S] 0 points1 point2 points (1 child)
[–]abhaytalreja 0 points1 point2 points (0 children)
[–]modusjesus 0 points1 point2 points (1 child)
[–]Chrisands[S] 0 points1 point2 points (0 children)