SCP Foundation: Add names to details pages

SCP Foundation: Add names to details pages

Do you love the SCP Foundation, but wish they had the descriptive names on the actual detail pages for each item? This script takes care of that minor detail!

With love to the creative minds at The SCP Foundation (http://www.scp-wiki.net/)

Download from gist.github.com

Changelog

Version 3.0

The latest version accounts for more differences on the pages and the potential for additional series.

Fetches the SCP titles more consistently, and adds the page title container on pages that lack it.

Version 2.2

Updated to fix some greasemonkey changes and add compatibility for (a few) future series blocks.

Version 2.1

Adds support for the scp-wiki.net domain and the new SCP Series 2 block opened on 10/19/2011

Version 2.0

Adds links to the next and previous entries so you can navigate the whole index with ease.

Version 1.0

Initial release. Adds the descriptive names from the SCP series index page to the individual detail pages.

2 thoughts on “SCP Foundation: Add names to details pages

  1. Kathy says:

    Excellent catch! I’ll make sure to update the code on UserScripts.org soon!

  2. Hurtz says:

    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;
    }

Comments are closed.

Cart