Skip to content

Instantly share code, notes, and snippets.

@radium-v
Created December 16, 2012 03:05
Show Gist options
  • Save radium-v/4302789 to your computer and use it in GitHub Desktop.
Save radium-v/4302789 to your computer and use it in GitHub Desktop.
YTFix
// ==UserScript==
// @match http://*/*
// @match http://*.youtube.com/*
// @match https://*.youtube.com/*
// ==/UserScript==
/**
* Install:
* - Save the file to your desktop.
* - In Chrome, open the "Extensions" page (Bacon button --> Tools --> Extensions).
* - Drag the file into the window.
* - Refresh Youtube and enjoy.
*
* Notes:
* - This is experimental. Youtube will likely change their page eventually.
* - The video box overlaps the buttons on the left. Oh well. I could fix it, but meh.
* - There's a slight jump when the script runs. These scripts are usually the last thing on the page to load.
*
* Version 0.1 by radium-v :3
*
*/
document.body.classList.remove('site-left-aligned');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment