JSFiddle - React, Tailwind, and code Playground
by WK_of_Angmar
HTML
<table>
<tr>
<td><b>The userID is 12345654321</b>
</td>
<td>random jibber-jabber</td>
</tr>
</table>
JavaScript
// Change the first "0" in the next line to the table row where the user ID can be found.
var id = document.getElementsByTagName("tr")[0].getElementsByTagName("td")[0].textContent.match(/\d+/);
var element = document.createElement("div");
var startOfLink = [
["Manage account", "www.website.com/account/manageaccount.aspx="],
["Update details", "www.website.com/account/updatedetails.aspx="],
["Send message", "www.website.com/account/sendmessage.aspx="]
];
startOfLink.forEach(function (x) {
var anchor = document.createElement("a");
anchor.textContent = x[0];
anchor.href = x[1] + id;
element.appendChild(anchor);
element.appendChild(document.createElement("br"));
});
document.body.appendChild(element);