Advertisement
Guest User

Untitled

a guest
Feb 4th, 2017
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. // ==UserScript==
  2. // @name mymymmy
  3. // @namespace mymymymymy
  4. // @description mymymmymymmyyy.
  5. // @author my
  6. // @homepage https://userstyles.org/none
  7. // @include http://feedly.com/*
  8. // @include https://feedly.com/*
  9. // @include http://*.feedly.com/*
  10. // @include https://*.feedly.com/*
  11. // @version 1.0
  12. // @run-at document-start
  13. // ==/UserScript==
  14. (function() {var css = "";
  15. if (false || (document.domain == "feedly.com" || document.domain.substring(document.domain.indexOf(".feedly.com") + 1) == "feedly.com"))
  16. css += [
  17. "#mainBarFX {",
  18. " padding-top: 0!important;",
  19. " }",
  20. "#searchBarFX {",
  21. " display: none!important;",
  22. " }"
  23. ].join("\n");
  24.  
  25. if (false || (document.domain == "banki.ru" || document.domain.substring(document.domain.indexOf(".banki.ru") + 1) == "banki.ru"))
  26. css += [
  27. ".layout-column-center, .l-c-column {",
  28. " width: 100%!important;",
  29. " }"
  30. ].join("\n");
  31.  
  32. if (typeof GM_addStyle != "undefined") {
  33. GM_addStyle(css);
  34. } else if (typeof PRO_addStyle != "undefined") {
  35. PRO_addStyle(css);
  36. } else if (typeof addStyle != "undefined") {
  37. addStyle(css);
  38. } else {
  39. var node = document.createElement("style");
  40. node.type = "text/css";
  41. node.appendChild(document.createTextNode(css));
  42. var heads = document.getElementsByTagName("head");
  43. if (heads.length > 0) {
  44. heads[0].appendChild(node);
  45. } else {
  46. // no head yet, stick it whereever
  47. document.documentElement.appendChild(node);
  48. }
  49. }
  50.  
  51. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement