Skip to content

Instantly share code, notes, and snippets.

@Mixone-FinallyHere
Created April 15, 2015 09:53
Show Gist options
  • Save Mixone-FinallyHere/326c1c1d35fe626f8124 to your computer and use it in GitHub Desktop.
Save Mixone-FinallyHere/326c1c1d35fe626f8124 to your computer and use it in GitHub Desktop.
Removes the left column from facebook browser.
// ==UserScript==
// @name De-Lefter
// @namespace http://your.homepage/
// @version 1
// @description Remove left collumn from facebook
// @author You
// @match https://monkeyguts.com/code.php?nav=code&id=628
// @grant none
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
// @include https://*.facebook.com/*
// @include https://*.facebook.com/*/*
// @include http://*.facebook.com/*
// @include http://*.facebook.com/*/*
// ==/UserScript==
var leftCol = "hasLeftCol", dope = document.body.className;
if(dope.contains(leftCol)) {
dope = dope.replace(leftCol, "");
document.body.className = dope;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment