Chrome: bookmark bar, "add page", url = code
Created
April 12, 2019 16:30
-
-
Save coreylight/5f15ac8afe13ff66a644798a22841ffb to your computer and use it in GitHub Desktop.
Hide Twitter sidebar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:((() => {var main=document.querySelector("main");const getEl=()=>document.querySelector('[data-testid="sidebarColumn"]');var obsv=new MutationObserver(e=>{var t=getEl();main.contains(t)&&t.remove()});obsv.observe(main,{subtree:!0,childList:!0});var el=getEl();el&&el.remove()})()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment