New Greasemonkey Script for d20pfsrd.com Available


Homebrew and House Rules

The Exchange

In addition to the wonderful Greasemonkey script that automagically links keywords on the Paizo boards to their mechanical effects on d20pfsrd.com, we now have another Greasemonkey script for users to enjoy (care of Denny Edwards).

This one is extremely basic but its effect is notable. It removes "Pathfinder_OGC" from the title of pages on d20pfsrd.com, such that tab names are shorter and easier to read now.

For example. Without the script in place, if you have multiple tabs open in Firefox to the following pages, you see the following as the "names" of the tabs. The "Pathfinder_OGC" comes first, and makes the actual page name often run off the tab so you can't read it.

Pathfinder_OGC: Artificer
Pathfinder_OGC: Diabolist
Pathfinder_OGC: Half-Ogre
Pathfinder_OGC: Ratkin
Pathfinder_OGC: Saurian

With the script in place you would just see the following:

Artificer
Diabolist
Half-Ogre
Ratkin
Saurian

If you have Greasemonkey installed, you can nab the GM script on our downloads page or by clicking here.

Save the file then drag it into Firefox and it should prompt you to install it.

I have included the source of the script in a spoiler below in case you want to read it before installing it (you can of course read the js file after downloading to be sure).

Spoiler:
// ==UserScript==
// @name Remover Pathfinder_OGC from Title
// @namespace #
// @description Removes the Pathfinder_OGC prefix from title tags on the d20pfsrd site making page names easier to read in tabs.
// @copyright 2010+, Denny Edwards (http://www.example.com/~jdoe)
// @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html
// @version 0.0.1
// @include http://www.d20pfsrd.com/*
// @include https://www.d20pfsrd.com/*
// @include http://sites.google.com/*
// @include https://sites.google.com/*
// ==/UserScript==

var otitle;
otitle = document.title.replace("Pathfinder_OGC:","");
document.title = otitle;

Community / Forums / Pathfinder / Pathfinder First Edition / Homebrew and House Rules / New Greasemonkey Script for d20pfsrd.com Available All Messageboards

Want to post a reply? Sign in.