NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name eksi-gri-arkaplan-acil // @namespace https://openuserjs.org/users/asyard // @version 0.8.1 // @description Kaosa acil cozum // @author asyard // @match http://eksisozluk.com/* // @match https://eksisozluk.com/* // @grant none // @license MIT // @require https://code.jquery.com/jquery-3.5.1.min.js // ==/UserScript== /* jshint -W097 */ 'use strict'; // My code here... var $ = window.jQuery; $(document).ready(function() { // cesitli css duzeltmeleri $("#top-bar").css('background-color','#D4D4D4'); $("header").css('background-color','#D4D4D4').css('border-top','1px solid black'); $('body').css('background-color','#D4D4D4'); $(".editform").css('background-color','#D4D4D4').css('border','1px solid #BFB9B9'); $('a[class="entry-author"]').css('color','black'); $(".edittools button").css('background-color','#D4D4D4').css('color', ''); $("#content a").css('color','black');//.css('text-decoration','underline'); $("#entry-list a ").css('color','black'); $("a.empty-index-item").css('color','#AFAFAF'); $("#top-bar>#advanced-search-form").css('background-color','#D4D4D4'); $('button').css('background-color','#A0A0A0').css('border','1px solid #BFB9B9'); $('#search-textbox').css('border','1px solid #cccccc'); $('small').css('color','#333'); $('#site-footer > ul > li > a').css('color','black'); // footer link rengi $("#entry-list footer .other .eksico").css("fill", "black"); $("#topic-channels li.channel>a").css("background-color", "#AFAFAF"); $("button:contains('yolla')").css("float", "right").css("color","black"); $(".favorite-list-popup").css("background-color", "#D4D4D4"); $(".favorite-list-popup div ul li a").css("color", "#333"); $("ul.dropdown-menu").css("background-color", "#D4D4D4"); $("article").css("background-color", "#D4D4D4"); $(".related-title-links").css("font-size", "12px"); // alakali basliklar kutucugundaki linkler // hover icin fonksiyon tanimlamalari // kanallar kismi $('#quick-index-nav li').hover(function(e) { if(e.type === "mouseenter") { $("a", this).css("color", "#A0A0A0").css("border-color", "#A0A0A0"); } else { $("a", this).css("color", "black").css("border-color", "transparent"); } // dropdown listesindeki un noktanin rengi if($("li.dropdown a svg").length == 3) { $($("li.dropdown a svg").get(2)).css("fill", e.type === "mouseenter"?"#A0A0A0":"").css("border-color", e.type === "mouseenter"?"#A0A0A0":""); } }); // sol framedeki sekmeler, sol framedeki basliklar, sol framedeki debe, entrylerdeki hepsini goster baglantisi, debelerde gezerkenki tuslar, sayfa gecisi tuslari, mesaj kutulari $('ul.tabs li, ul.topic-list li a, ol.topic-list li a, a.showall, #feed-refresh-link, .prev-link, .next-link, .pager a, article').hover(function(e) { $(this).css("background-color", e.type === "mouseenter"?"#A0A0A0":"transparent"); }); // sol framedeki yenile tusu $('#feed-refresh-link').hover(function(e) { $(this).css("background-color", e.type === "mouseenter"?"#A0A0A0":"transparent").css('color','#333'); }); // uc noktali dropdown menuler $('ul.dropdown-menu li').hover(function(e) { $("a", this).css('background-color', e.type === "mouseenter"?"#A0A0A0":"#D4D4D4").css('color',"black"); }); // ajax guncellemeleri icin eventleri yeniden koymak lazim $(document).ajaxComplete(function() { $('small').css('color','#333'); $("div.favorite-list-popup.toggles-menu.open li a").css('color','black'); $('#feed-refresh-link').css("background-color", "#D4D4D4").css('color','#333'); $('.index-link').css('color','black'); //profil sayfasindaki istatistik basliklari $('#title > a > span').css('color','black'); //profil sayfasindaki istatistik alt basliklari // sol framedeki sekmeler, sol framedeki basliklar, sol framedeki debe $('ul.tabs li, ul.topic-list li a, ol.topic-list li a').hover(function(e) { $(this).css("background-color", e.type === "mouseenter"?"#A0A0A0":"transparent"); }); // sol framedeki yenile tusu $('#feed-refresh-link').hover(function(e) { $(this).css("background-color", e.type === "mouseenter"?"#A0A0A0":"transparent").css('color','#333'); }); // favlayanlar listesi icin $("div.favorite-list-popup.toggles-menu.open li").hover(function(e) { $("a",this).css("background-color", e.type === "mouseenter"?"#A0A0A0":"#D4D4D4").css("text-decoration","none"); }); }); });