YouTube Full Description

By Jordon Kalilich Last update Sep 27, 2009 — Installed 3,070 times. Daily Installs: 2, 2, 5, 5, 3, 1, 5, 1, 0, 4, 3, 0, 4, 4, 1, 1, 1, 1, 0, 3, 2, 2, 2, 0, 1, 2, 4, 4, 1, 4, 4, 3

There are 1 previous version of this script.

// ==UserScript==
// @name          YouTube Full Description
// @version       0.7
// @date          2009-09-27
// @description   Automatically shows the full description on YouTube video pages.
// @namespace     http://www.theworldofstuff.com/greasemonkey/
// @copyright     Copyright 2007-2009 Jordon Kalilich (http://www.theworldofstuff.com/)
// @license       GNU GPL version 3 or later; http://www.gnu.org/copyleft/gpl.html
// @require       http://www.theworldofstuff.com/greasemonkey/updatenotifier.js
// @include       http://youtube.com/watch?*
// @include       http://*.youtube.com/watch?*
// ==/UserScript==

updateNotifier("YouTube Full Description", "http://userscripts.org/scripts/show/10040", 0.7, "http://www.theworldofstuff.com/greasemonkey/youtubefulldescription.txt", 3600);

document.getElementById('watch-video-details-inner-less').style.display = 'none';
document.getElementById('watch-video-details-inner-more').style.display = 'block';
// the above has the effect of mixing up the "more info" and "less info" links, so let's mix those up too
// to allow this to work for all lanugages, use a dummy variable to assist in swapping them
var dummy = document.getElementById('watch-video-details-toggle-less').getElementsByTagName('a')[0].innerHTML;
document.getElementById('watch-video-details-toggle-less').getElementsByTagName('a')[0].innerHTML = document.getElementById('watch-video-details-toggle-more').getElementsByTagName('a')[0].innerHTML;
document.getElementById('watch-video-details-toggle-more').getElementsByTagName('a')[0].innerHTML = dummy;