Skip to content

Instantly share code, notes, and snippets.

@otsune
Created November 8, 2009 12:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save otsune/229247 to your computer and use it in GitHub Desktop.
Save otsune/229247 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name use Perl Journal: Add title with journal title
// @namespace http://www.otsune.com/
// @include http://use.perl.org/~*/journal/*
// @require http://gist.github.com/3242.txt
// ==/UserScript==
(function() {
var journaltitle = $X('id("journalslashdot")/div[@class="title"]/h3')[0].textContent;
document.title = journaltitle + ' - ' + document.title;
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment