NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name TabunGeoStyle // @namespace // @author geolaz // @include https://tabun.everypony.ru/* // @version 1 // @description // @include http://tabun.everypony.ru/blog/* // @include https://tabun.everypony.ru/blog/* // @run-at document-start // @require http://code.jquery.com/jquery-2.1.1.min.js // @grant GM_addStyle // @grant GM_getResourceText // ==/UserScript== $(document).ready(function() { var articles = document.getElementsByClassName('topic'); if ( articles.length === 1 ) { headmessage = $( "h2.page-header" ).html(); if (headmessage != "Сообщения") { document.getElementsByClassName("topic-info")[0].setAttribute("id", "is-single-article"); } } $( "a:contains('Посты')" ).attr("href", "https://tabun.everypony.ru/index/newall/"); });