NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Vikings on Facebook Bloat remove // @namespace http://tampermonkey.net/ // @version 0.1 // @author Dragonixx // @match https://apps.facebook.com/vikingsmobile/ // @include https://*.apps.fbsbx.com/* // @require https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js // @require https://gist.github.com/raw/2625891/waitForKeyElements.js // @grant GM_addStyle // ==/UserScript== GM_addStyle("#pagelet_dock { display: none !important; }"); GM_addStyle("#pagelet_bluebar { display: none !important; }"); GM_addStyle("#rightCol { display: none !important; }"); GM_addStyle(".header { display: none !important; }"); GM_addStyle("body { overflow: hidden !important; height:100% !important}"); GM_addStyle("#unity-player { height:100% !important}"); GM_addStyle("#canvas.emscripten { height:100% !important; width: 100% !important;}"); waitForKeyElements( ".smart_sizing_iframe", killClass ); waitForKeyElements( "canvas.emscripten", setCorrectSize ); function killClass(jNode) { jNode.removeClass("smart_sizing_iframe"); } function setCorrectSize(jNode) { jNode.setAttr("height", "100%"); jNode.setAttr("width", "100%"); }