Hide sidebar SSS

Hide it

  1. // ==UserScript==
  2. // @name Hide sidebar SSS
  3. // @include http*://sneakysneakysnake.blogspot.com/*
  4. // @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
  5. // @grant GM_addStyle
  6. // @description Hide it
  7.  
  8. // @version 0.0.1.20170509053427
  9. // @namespace https://greasyfork.org/users/112442
  10. // ==/UserScript==
  11.  
  12. var div = document.getElementById("secondary");
  13. if (div) {
  14. div.style.display = "none"; // Hides it
  15. // Or
  16. // div.parentNode.removeChild(div); // Removes it entirely
  17. }
  18.  
  19. var div2 = document.getElementById("colophon");
  20. if (div2) {
  21. div2.style.display = "none"; // Hides it
  22. }
  23.  
  24. var div3 = document.getElementById("masthead");
  25. if (div3) {
  26. div3.style.display = "none"; // Hides it
  27. }
  28.  
  29. $('.wrapper').children().unwrap();
  30. $('*').css('background', 'black');
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.