Skip to content

Instantly share code, notes, and snippets.

@thomfre
Last active December 22, 2017 19:38
Show Gist options
  • Save thomfre/e86852631d70e0227b42c0804cebedee to your computer and use it in GitHub Desktop.
Save thomfre/e86852631d70e0227b42c0804cebedee to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name FB-unuglifier
// @namespace https://thomfre.net/
// @version 0.2
// @description try to make Facebook look good again
// @grant GM_info
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_addStyle
// @run-at document-start
// @author thomfre
// @match https://www.facebook.com/*
// @downloadURL https://gist.github.com/thomfre/e86852631d70e0227b42c0804cebedee/raw/902193fca421cbad3d9a5105f3cfff7dde391aa5/FB-unuglifier.user.js
// @updateURL https://gist.github.com/thomfre/e86852631d70e0227b42c0804cebedee/raw/902193fca421cbad3d9a5105f3cfff7dde391aa5/FB-unuglifier.user.js
// ==/UserScript==
(function() {
'use strict';
GM_addStyle('.UFICommentActorAndBody, .UFIActorImage, .UFIImageBlockImage, ._3-a6 ._2rn3, _3-8y _2lhm, _2r3x, ._4-ep .img, .UFIReplyList, .UFIAddCommentInput, .UFIInputContainer { border-radius: 2px !important; }' +
'.UFICommentActorAndBody { background-color: rgba(0, 0, 0, 0) !important; padding-bottom: 2px !important; padding-top: 2px !important; }' +
'._10lo._10lp { background: rgba(0,0,0,0) !important; border: none !important; border-radius: 0 !important; box-shadow: none !important; display: block !important; position: unset !important; padding-left: 20px !important; }');
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment