What I need is basically automating this:
How to use it- Find the msgID, userID or topicID you need. Let's use msgID 51902990.
- Remove the last 4 digits from the msgID to get the directory name (if there are less than 4 digits, use 0): 5190.
- Put everything together behind the (above) URL and add ".html": http://loyce.club/archive/posts/5190/51902990.html.
So a search box, someone enters a number, and gets forwarded to the correct URL.
Hi LoyceV.
I had to make 3 search boxes.
But I think that is what you want.
You can check it out here:
https://bitcoindata.science/LoyceV/searchtool.hmlVery simple code, as I said. Pure JS, no addons.
function gomsg () {
var msg = document.getElementById('msgID').value;
var msgfolder = msg.slice(0, 4);
window.location.href = ("http://loyce.club/archive/posts/" + msgfolder +"/"+ msg+".html");
}