Science PDF extract expander

By ms609 Last update Mar 16, 2009 — Installed 30 times. Daily Installs: 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
// ==UserScript==
// @name           Science PDF extract expander
// @namespace      geological-supplies.com
// @include        http://www.sciencemag.org*/cgi/pdf_extract/*
// ==/UserScript==

a = document.getElementsByTagName('a');
countA = a.length;
for (i = 0; i<countA; i++){
	if (a[i].innerHTML == 'PDF') window.location.href = a[i].href + ".pdf";
}