25Feb/11
SCP Foundation: Add names to details pages
SCP Foundation: Add names to details pages
Adds the descriptive names from the SCP series index page to the individual detail pages.
Updated 11/21/2011: Now with Next and Previous buttons so you can navigate without going back to the index!
WooCommerce Tax Rates: Import TaxRates.com Rate Tables
Network Plugin Auditor
Hello,
Nice little script here, but there is one small bug when navigating the site through the recent posts link.
E.g. if the URL looks like this: http://www.scp-wiki.net/scp-076/comments/show
I’ve modified your padnumberwithzeros function like so:
function padnumberwithzeros(number, length) {
var str = ” + number;
var slashIdx = str.indexOf(“/”);
if (slashIdx > 0)
str = str.substring(0, slashIdx);
while (str.length < length) {
str = '0' + str;
}
return str;
}
Excellent catch! I’ll make sure to update the code on UserScripts.org soon!