// ==UserScript== // @name DeviantArt Eclipse - Extras // @namespace http://tampermonkey.net/ // @description Redesign // @author Isi-Daddy // @include https://www.deviantart.com/ // @include https://www.deviantart.com/* // @version 1.1.19 // @grant GM_getValue // @require http://code.jquery.com/jquery-3.4.1.min.js // @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js // @require https://greasyfork.org/scripts/5392-waitforkeyelements/code/WaitForKeyElements.js?version=115012 // @downloadURL https://update.greasyfork.icu/scripts/403463/DeviantArt%20Eclipse%20-%20Extras.user.js // @updateURL https://update.greasyfork.icu/scripts/403463/DeviantArt%20Eclipse%20-%20Extras.meta.js // ==/UserScript== /* timestamp*//* waitForKeyElements ( "time", klassentest ); function klassentest (subj) { $("._3j4Pa").addClass("button"); $(".button").css({ "height" : "100px", "width" : "100px", "background" : "none" }); var time = subj.attr("datetime").replace("T", " ").slice(0, -5); subj.append("
" + time + "
"); subj.append("
"); $(".time").css({ "visibility" : "hidden", "position" : "absolute", "color" : "#d6ded4", "top": "-26px", "border": "1px solid #5c5c5c", "padding": "3px 10px", "margin-left": "-20px", "background" : "#475c4d" }); $(".after").css({ "visibility":"hidden", "width": "0", "height": "0", "border-left": "5px solid transparent", "border-right": "5px solid transparent", "border-top": "5px solid #475c4d", "position" : "absolute", "top": "-5px", "margin-left": "30px" }); subj.mouseenter(function(event) { //event.stopPropagation() $(this).children().addClass("show"); $(".time.show, .after.show").css({"visibility": "visible"}); }).mouseleave(function(event){ //event.stopPropagation() $(this).children().removeClass("show"); $(".time,.after").css({"visibility": "hidden"}); }); } */ //feedback var noteCount = ''; if($("button._1qPjE._1V7e9").find("span").hasClass("_3i5Bn")){ noteCount = '' + $("div._2u-H1._28mNT._2ZwRg span._3i5Bn").text()+ '' ; } $("button._1qPjE._1V7e9").remove(); $("div._2u-H1._28mNT._2ZwRg").append(''+noteCount+'Chat'); //chat var noteCountChat = ''; if($("button._3Vw-L._1RSIk").find("span").hasClass("_1ez3c")){ noteCountChat = '' + $(".XWyfm._3KrWg._3NUNO span._1ez3c").text()+ '' ; } $("button._3Vw-L._1RSIk").remove(); $("div.XWyfm._3KrWg._3NUNO").append(''+noteCountChat+'Chat'); var theColorIs2 = $('.iRyVV svg').css("color"); $("._2Ae1S._2JjnE._2fqBI svg").css("fill", theColorIs2); $("._2Ae1S._2JjnE._2fqBI").css({ "margin-bottom": "-10px" }); //profile var noteCountProfile = ''; if($("button._1lJ-D._3MIsm").find("span").hasClass("_3tPpy")){ noteCountProfile = '' + $("._3GThX.MAP1J._2cZwH span._3tPpy").text()+ '' ; } $("button._1lJ-D._3MIsm").remove(); $("div._3GThX.MAP1J._2cZwH").append(''+noteCountProfile+'Chat'); var theColorIs3 = $('._21ei1 svg').css("color"); /*$("._3HH04._3s0_v.YU6Gg svg").css("fill", theColorIs3); $("._3HH04._3s0_v.YU6Gg").css({ "margin-bottom": "-10px" });*/ //Button Chat on profile $("button._3vg-L._1fw_p._2iY-h").remove(); var user = top.location.pathname.substring(1) $("div.-B55x").append('Note'); $("a._3vg-L._1fw_p._2iY-h").css({ "text-align": "center", "position": "relative" }); $( "a._3vg-L._1fw_p._2iY-h" ).hover( function() { $( this ).css({"color": "#00c787"}); }, function() { $( this ).css({"color": "inherit"}); } ); $("a._3vg-L._1fw_p._2iY-h span").css({ "font-weight": "bold", "font-size": "14px", "font-family": "inherit", "position": "absolute", "right": "37px", "border-left": "1px solid #d1d9d0", "padding": "18px 11px 18px 42px" }); //pictures var noteCountPicture = ''; if($("button._21OYk._6lRyf").find("span").hasClass("_22eC3")){ noteCountPicture = '' + $("._1G6s5._31Gyh.NYiDj span._22eC3").text()+ '' ; } $("button._21OYk._6lRyf").remove(); $("div._1G6s5._31Gyh.NYiDj").append(''+noteCountPicture+'Chat'); /*var theColorIs4 = $('._1jxju svg').css("color"); $("._1jxju._1UM_Z.ysYD1 svg").css("fill", theColorIs4);*/ //generl da var noteCountdA = ''; if($("button._3BYRx._14hFt").find("span").hasClass("xgEVQ")){ noteCountdA = '' + $("._2xoap._1iYeb.EnfXJ span.xgEVQ").text()+ '' ; } $("button._3BYRx._14hFt").remove(); $("div._2xoap._1iYeb.EnfXJ").append(''+noteCountdA+'Chat'); //Chat schrift $("span ._2_n00").remove(); $("span ._2UWhz").remove(); $("span ._2NYr-").remove(); $("span ._1Tbmy").remove();