您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
视频区域js
当前为
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greasyfork.icu/scripts/14224/89877/wz-skai.js
var acfix_setScroll = false; (function(){ if ($('#ACFlashPlayer-re').size() > 0) { setInterval(doFixVideo, 1000); } if ($('#article-mainer').size() > 0) { setInterval(doFix, 1000); } })(); function doFixVideo(){ $('.author-comment.top .name').css("color", "#aaa"); $('.item-comment.item-comment-quote .author-comment').css("display", "none"); $('.item-comment.item-comment-quote .author-comment.top').css("display", "block"); $(".item-comment.item-comment-quote").toArray().forEach(function(q){ c = $(q).children(); var t,m; if (c.size() == 4) { t = c[1]; m = c[2]; } else if (c.size() == 3) { t = c[0]; m = c[1]; } if ($(t).hasClass("top")) { $(t).insertAfter(m); } }); $('#area-comment-inner').css('width', '1032px'); $('.right_-main .divtop').css('width', '270px').css('margin-left', 0); $('.right_-main .divtop .right').css('width', '190px'); $('.right_-main .divtop .divtop_bottom').css('width', '280px'); $('.right_-main .divbottom').css('display', 'none'); $('.right_-main .divmiddle').css('width', '270px').css('margin-left', 0); $('.right_-main .divmiddle .div_right').css('display', 'none'); $('.right_-main .divmiddle .div_left').css('width', '100%'); $('#article-mainer .right_').css('width', '180px'); $('#area-bottom-view').css('width', '1032px'); $('#area-comment').css('width', '1032px'); $('#area-editor').css('width', '1022px'); $('.item-comment').css('padding-bottom', "0px"); $('.right_-main .right_ .bottom_').css("font-size", "13px"); $('.right_-main .right_').css("width", "160px"); } function doFix() { if (acfix_setScroll == false) { $(window).on('scroll', function(){$('.right_-main').css("position", "relative"); $('#area-title-view').css('position', 'relative')}); acfix_setScroll = true; } $('.author-comment.top .name').css("color", "#aaa"); $('.item-comment.item-comment-quote .author-comment').css("display", "none"); $('.item-comment.item-comment-quote .author-comment.top').css("display", "block"); $(".item-comment.item-comment-quote").toArray().forEach(function(q){ c = $(q).children(); var t,m; if (c.size() == 4) { t = c[1]; m = c[2]; } else if (c.size() == 3) { t = c[0]; m = c[1]; } if ($(t).hasClass("top")) { $(t).insertAfter(m); } }); $('#article-mainer').css('width', '1032px'); $('.right_-main .divtop').css('width', '270px').css('margin-left', 0); $('.right_-main .divtop .right').css('width', '190px'); $('.right_-main .divtop .divtop_bottom').css('width', '280px'); $('.right_-main .divbottom').css('display', 'none'); $('.right_-main .divmiddle').css('width', '270px').css('margin-left', 0); $('.right_-main .divmiddle .div_right').css('display', 'none'); $('.right_-main .divmiddle .div_left').css('width', '100%'); $('#article-mainer .right_').css('width', '180px'); $('#area-bottom-view').css('width', '1032px'); $('#area-comment').css('width', '1032px'); $('#area-editor').css('width', '1022px'); $('.item-comment').css('padding-bottom', "0px"); $('.right_-main .right_ .bottom_').css("font-size", "13px"); $('.right_-main .right_').css("width", "160px"); }