📜 ⬆️ ⬇️

We fix the button "Subscribe" in Google Reader

Hello!

Frankly, I don’t know if I’m alone in trouble, but for a long time using Google Reader as an RSS reader, I’m pretty sick of the disproportionate width of the Subscribe button and the block that pops up when I click it. It would seem that all this is garbage, but an eye blister is very strong.

And what is more regrettable, this bug from the old version of the reader, moved to a new one. Anyway, I suspect that I’m the one who ran into him ...
')
In short, here it is, the problem:
image

In the end I was tired of stumbling over this element and sketched out a little user script. But at the same time I decided to share it with those for whom aesthetics is important as much as for me. And that's what happened at the exit:
image

Here is a small fix. The script code is extremely simple:
// ==UserScript== // @name Google Reader Fix Up // @namespace http://userstyles.org // @description   ""           Google Reader // @author kafeg // @homepage http://vk.com/kafik // @include http://www.google.ru/* // @include https://www.google.ru/* // @include http://www.google.kz/* // @include https://www.google.kz/* // @include http://www.google.com/* // @include https://www.google.com/* // @include http://google.ru/* // @include https://google.ru/* // @include http://google.kz/* // @include https://google.kz/* // @include http://google.com/* // @include https://google.com/* // @run-at document-start // ==/UserScript== (function() { var css = ""; css += "#quick-add-bubble-holder { width: 530px; }\n#lhn-add-subscription { width: 100px; }"; document.addEventListener("DOMContentLoaded", function(){ if (typeof GM_addStyle != "undefined") { GM_addStyle(css); } else if (typeof PRO_addStyle != "undefined") { PRO_addStyle(css); } else if (typeof addStyle != "undefined") { addStyle(css); } else { var heads = document.getElementsByTagName("head"); if (heads.length > 0) { var node = document.createElement("style"); node.type = "text/css"; node.appendChild(document.createTextNode(css)); heads[0].appendChild(node); } } } , false); })(); 

Performance has been tested in Google Chrome 17.0.963.83 m.

Well, to install the script with one click, just click here .

upd: Added google.com

Source: https://habr.com/ru/post/141010/


All Articles