GC Hide Disclaimer

By Marcel de Haas Last update Feb 20, 2008 — Installed 764 times. Daily Installs: 0, 0, 0, 0, 1, 1, 0, 0, 6, 0, 1, 0, 0, 0, 2, 1, 4, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1

Archived Comments (locked)

Subscribe to Archived Comments 2 posts, 2 voices

Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
UncleOwen User

Hi,

I did some changes to my local version of the script:

I shortened the regexp to http://www.geocaching.com/seek/cache_details.aspx*, because I happened to be on http://www.geocaching.com/seek/cache_details.as...=, which didn't match the old one (could be related to other scripts, but still a valid url that others might come across)

I changed the code to

var disc = document.getElementById('DisclaimerText');
disc.parentNode.removeChild(disc.nextSibling);
disc.parentNode.removeChild(disc.nextSibling);
disc.parentNode.removeChild(disc.nextSibling);
disc.parentNode.removeChild(disc.nextSibling);
disc.parentNode.removeChild(disc.nextSibling);
disc.parentNode.removeChild(disc);

ugly, I know, but this also removes the empty space that is otherwise left in place of the disclaimer.

Maybe you want to update the script with these changes (at least the first one)

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel