EdFrees

Normal G-mail Inbox

Apr 7th, 2022 (edited)
1,604
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         Normal G-mail Inbox
  3. // @version      1.1
  4. // @description  Change that useless side-bar back to a normal list.
  5. // @match        https://mail.google.com/*
  6. // @icon         https://www.google.com/s2/favicons?sz=64&domain=google.com
  7. // @grant        none
  8. // @license      MIT
  9. // @namespace    Change G-mail Inbox back to normal automatically
  10. // ==/UserScript==
  11. const checkElements = setInterval(function () {
  12.     if (document.getElementById('loading').style  !== null) {
  13.         document.getElementsByClassName('no')[1].children[0].className = 'nh oy8Mbf nn aeN bbZ bym';
  14.         clearInterval(checkElements);
  15.     }
  16. }, 500);
  17.  
  18. /*
  19. Google decided to make the G-mail Inbox "modern". I think it's quite useless and counterproductive.
  20. */
Add Comment
Please, Sign In to add comment