inoreader_clear

clear UI

  1. // ==UserScript==
  2. // @name inoreader_clear
  3. // @description clear UI
  4. // @include http://www.inoreader.com/*
  5. // @include https://www.inoreader.com/*
  6. // @grant GM_addStyle
  7. // @version 0.1
  8. // @namespace https://greasyfork.org/users/19987
  9. // ==/UserScript==
  10.  
  11. //GM_addStyle("");
  12. GM_addStyle("#tree_pane, .tree_ad { background-color: #f7f7f7; border-right: 1px solid #aaa; color: #383838; font-size: 14px;}");
  13. GM_addStyle(".article_stripe { width: 0;}");
  14. GM_addStyle(".article_content { font-size: 16px !important;}");
  15. GM_addStyle(".ad_size_leaderboard { display: none; height: 90px; width: 728px;}");
  16. GM_addStyle("#reader_pane .ad_title { display: none; margin-top: 0;}");
  17.  
  18. GM_addStyle(".reader_pane_view_style_2{width:400px!important;}");
  19. GM_addStyle("#subscriptions_buttons, #sb_rp_tools{border-bottom: 1px solid ;background-image:none !important;}");
  20. GM_addStyle(".article_stripe { opacity: 0 !important;}");
  21.  
  22. (function() {var css = [
  23. "@namespace url(http://www.w3.org/1999/xhtml);",
  24. ".reader_pane_view_style_2{",
  25. " width:400px!important;",
  26. "}",
  27. "#three_way_contents{",
  28. " width:calc(100% - 740px)!important;",
  29. " left:670px!important;",
  30. "}",
  31. ".article_content{",
  32. " width:100% !important;",
  33. " max-width:inherit!important;",
  34. "}",
  35. ".article_footer_3way{",
  36. " width:calc(100% - 740px) !important;",
  37. "}"
  38. ].join("\n");
  39. if (typeof GM_addStyle != "undefined") {
  40. GM_addStyle(css);
  41. } else if (typeof PRO_addStyle != "undefined") {
  42. PRO_addStyle(css);
  43. } else if (typeof addStyle != "undefined") {
  44. addStyle(css);
  45. } else {
  46. var node = document.createElement("style");
  47. node.type = "text/css";
  48. node.appendChild(document.createTextNode(css));
  49. var heads = document.getElementsByTagName("head");
  50. if (heads.length > 0) {
  51. heads[0].appendChild(node);
  52. } else {
  53. // no head yet, stick it whereever
  54. document.documentElement.appendChild(node);
  55. }
  56. }
  57. })();