inoreader-clear

A customized style for <a href="https://www.inoreader.com/" target="_blank">InoReader</a> with :

  1. // ==UserScript==
  2. // @name inoreader-clear
  3. // @namespace http://userstyles.org
  4. // @description A customized style for <a href="https://www.inoreader.com/" target="_blank">InoReader</a> with :
  5. // @author hectorqiu
  6. // @homepage https://userstyles.org/styles/119240
  7. // @include http://inoreader.com/*
  8. // @include https://inoreader.com/*
  9. // @include http://*.inoreader.com/*
  10. // @include https://*.inoreader.com/*
  11. // @run-at document-start
  12. // @version 0.3
  13. // ==/UserScript==
  14.  
  15. (function() {var css = [
  16. "@namespace url(http://www.w3.org/1999/xhtml);",
  17. ".reader_pane_view_style_2{",
  18. " width:400px!important;",
  19. "}",
  20. "#three_way_contents{",
  21. " width:calc(100% - 740px)!important;",
  22. " left:720px!important;",
  23. "}",
  24. "#subscriptions_buttons, #sb_rp_tools {background-image: none !important;border-bottom: 1px solid !important;}",
  25. ".article_stripe{background-color: #fff !important;}",
  26. "#tree_pane, .tree_ad { background-color: #f7f7f7; border-right: 1px solid #aaa; color: #383838; font-size: 14px;}",
  27. ".article_stripe { width: 0;}",
  28. ".article_content { font-size: 16px !important;}",
  29. ".ad_size_leaderboard { display: none; height: 90px; width: 728px;}",
  30. "#reader_pane .ad_title { display: none; margin-top: 0;}",
  31. ".reader_pane_view_style_2{width:400px!important;}",
  32. "#subscriptions_buttons, #sb_rp_tools{border-bottom: 1px solid ;background-image:none !important;}",
  33. ".article_stripe { opacity: 0 !important;}",
  34. "#wraper.tree_width_2 #tree_pane{width: 320px!important;}",
  35. "#wraper.tree_width_2 .parent_div .parent_div .tree_link{ max-width:200px!important;}",
  36. "#wraper.tree_width_2 #reader_pane{ left:320px!important;}",
  37. ".article_content { max-width: 800px!important;}",
  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. })();