Agilebits Blog Print-Friedly

Makes the Agilebits blog print only the article content.

  1. // ==UserScript==
  2. // @name Agilebits Blog Print-Friedly
  3. // @version 1.0
  4. // @namespace http://www.arthaey.com
  5. // @description Makes the Agilebits blog print only the article content.
  6. // @include http://blog.agilebits.com/*
  7. // @grant GM_addStyle
  8. //
  9. // Backed up from http://userscripts.org/scripts/edit/453252
  10. // Last updated on 2014-04-07
  11. // ==/UserScript==
  12.  
  13. GM_addStyle("@media print { \
  14. aside, header, footer, #globalNav, #subNav, #mainContent > p { \
  15. display: none \
  16. } \
  17. \
  18. body { \
  19. background: none \
  20. } \
  21. \
  22. #contentWrapper, #mainContent { \
  23. width: 100%; \
  24. box-shadow: none; \
  25. -webkit-box-shadow: none \
  26. } \
  27. ");