Skip to content

Instantly share code, notes, and snippets.

@palaniraja
Created May 14, 2018 16:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save palaniraja/ea3fdc183a6c195a390b8b50b7f69e20 to your computer and use it in GitHub Desktop.
Save palaniraja/ea3fdc183a6c195a390b8b50b7f69e20 to your computer and use it in GitHub Desktop.
Medium blog - Declutter bookmarklet
javascript:(function(){%20var%20style%20=%20document.createElement(%27style%27),%20styleContent%20=%20document.createTextNode(%27.js-stickyFooter,%20.js-postShareWidget,%20.js-metabar%20{%20display:none%20!important;%20}%20.postArticle--full%20.sectionLayout--insetColumn{%20max-width:none%20!important;%20}%20%27);%20style.appendChild(styleContent%20);%20var%20caput%20=%20document.getElementsByTagName(%27head%27);%20caput[0].appendChild(style);%20})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment