Skip to content

Instantly share code, notes, and snippets.

@andrewlkho
Last active December 27, 2015 17:39
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 andrewlkho/7364227 to your computer and use it in GitHub Desktop.
Save andrewlkho/7364227 to your computer and use it in GitHub Desktop.
Clean up YouTube

Here is how I make the viewing experience on YouTube that little bit more pleasant (using Safari).

Firstly, I opt-in to the YouTube HTML5 trial which replaces Flash videos with H.264.

Next, I install the A Cleaner Internet Safari extension which declutters a lot of the site.

Finally, I apply a stylesheet which removes the "You need to upgrade your Adobe Flash Player" warning that appears when flash is not installed (user.css). If a video requires flash then I open it in Google Chrome using the "Open With..." part of the Develop menu.

div.yt-alert.yt-alert-default.yt-alert-error.yt-alert-player {
display: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment