YouTube "Lights Out"

By Anmar Mansur Last update Sep 29, 2008 — Installed 19,593 times. Daily Installs: 20, 28, 38, 44, 39, 54, 61, 39, 50, 52, 47, 57, 56, 65, 51, 36, 36, 35, 47, 50, 39, 57, 51, 38, 36, 30, 43, 50, 52, 38, 34, 48
Script Summary:
Turn the lights out for easier watching of YouTube videos!
Recently Updated TopicsPosts
Not working with "Better Yo...2
Not working on Mac3
Can you update this?1
'Turn lights out' img over ...2

this script has 6 topics, 55 posts

Review Summary
5 stars
5 reviews (5)
4 stars
0 reviews (0)
3 stars
0 reviews (0)
2 stars
0 reviews (0)
1 star
0 reviews (0)

this script has 5 reviews

Description

This script was inspired by and is basically a modification of the excellent Flickr "Lights Out" script by Brenton Cleeland. It works with both the new and old YouTube page layouts and simply adds a button labeled "Lights" to the area under the player, where the "Save" and "Share" buttons are.

This is still in beta. Please report bugs and make suggestions in the comments.

Screen Shots

Screenshot with callout.

Change Log

2008-09-29: Minor fix to properly hide all elements of YouTube Channel pages.

2008-08-27: Thanks to a suggestion by georgie in the comments, added another Greasemonkey User Script Commands menu entry to enable lights dim only behavior.

2008-08-23: Thanks to a suggestion by oldarney in the comments, added Greasemonkey User Script Commands menu entries to modify the behavior of the Lights Out button between the standard lights dim then off and one click immediate lights off.

2008-04-17: Added quick-and-dirty support for profile videos.

2008-04-15: Found a new place to insert the "Lights Out" button in the new YouTube layout. I apologize for the delay.

2007-08-25: A recent minor change in new YouTube page layout forced the "Lights" button to appear on a separate line.

2007-08-19: Minor update to support international versions of YouTube, e.g. "uk.youtube.com".

2007-08-02: Fixed a bug where clicking the Lights button added a "#" to the URL, breaking other buttons/links on the page.

2007-08-01: The script now accounts for the page height, fixing a bug where longer pages where not fully covered.