Skip to content

Instantly share code, notes, and snippets.

@sobataro
Last active August 13, 2018 05:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sobataro/f655d288e6c88dbfc8921b57d2600a85 to your computer and use it in GitHub Desktop.
Save sobataro/f655d288e6c88dbfc8921b57d2600a85 to your computer and use it in GitHub Desktop.
DocBase の邪魔な左右のツールバーを消すブックマークレット
javascript:(function(){document.getElementsByClassName('js-main-menu')[0].remove();document.getElementsByClassName('js-content-activities')[0].remove();document.getElementsByClassName('main-layout__content')[0].style["left"]="0";document.getElementsByClassName('main-layout__content')[0].style["width"]="100%";document.getElementsByClassName('post-detail')[0].style["max-width"]="100%";window.dispatchEvent(new Event('resize'))}())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment