🏠 Home 

Compact Outlook.com

Show more e-mails in folders by hiding the row with the first sentence of the e-mail


Install this script?
  1. // ==UserScript==
  2. // @name Compact Outlook.com
  3. // @namespace http://prantlf.tk/
  4. // @version 0.2
  5. // @description Show more e-mails in folders by hiding the row with the first sentence of the e-mail
  6. // @author prantlf@gmail.com
  7. // @match https://outlook.office.com/owa/*
  8. // @grant none
  9. // ==/UserScript==
  10. (function() {
  11. 'use strict';
  12. console.info('[Compact Outlook.com] Adding compacting styles.');
  13. var style = document.createElement('style'),
  14. styles =
  15. '._lvv_w._lvv_x,' +
  16. '._lvv_C1._lvv_D1 {' +
  17. ' height: 55px;' +
  18. '}' +
  19. '._lvv_O,' +
  20. '._lvv_Q1 {' +
  21. ' display: none;' +
  22. '}';
  23. style.id = 'prantlf-compact-outlook';
  24. try{
  25. style.innerHTML = styles;
  26. } catch (error) {
  27. style.styleSheet.cssText = styles;
  28. }
  29. document.head.appendChild(style);
  30. }());