Greasy Fork

来自缓存

Greasy Fork is available in English.

赚吧精简

赚吧精简1.0.0

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name            赚吧精简
// @description     赚吧精简1.0.0
// @include         *://*.zuanke8.com/*
// @version         1.0.1
// @namespace       zuanke8
// @run-at          document-start
// @require         http://cdn.staticfile.org/jquery/1.12.4/jquery.min.js
// ==/UserScript==
var style = `
<style>
.hdc{
    display:none;
},
.tl th, .tl td{
   padding:2px
}
#um{
   padding-top:0px
}
.pls .tns {
    padding: 0 5px 5px 50px;
}
.pls .tns+p{
    padding-left:50px
}
.pls .avatar{
    position:absolute;
    margin:0px
}
.pls .avatar img {
    padding: 5px 5px 8px;
    background: #FFF url(../../static/image/common/midavt_shadow.gif) 0 100% repeat-x;
    width: 40px;
}
#xad_mu{
    display:none
}
.t_fsz{
   min-height:50px
}
#scbar{
    display:none
}
.bm_h{
    display:none
}
.pil{
    display:none;
}
.pi{
   padding:5px;
}
.adsbygoogle{
    display:none !important
}
.authi{
    display:none
}
</style>
`;
$(function() {
    $(".pcb").siblings().remove();
    $(".plm").remove();
    $("head").append(style);


    var totalHeight = 200; //定义一个总高度变量
    function ata(){ //loa动态加载数据
        totalHeight =  parseFloat( $(window).height() ) +  parseFloat( $(window).scrollTop() ); //浏览器的高度加上滚动条的高度
        if ( $(document).height() <= totalHeight ) { //当文档的高度小于或者等于总的高度时,开始动态加载数据
           $("#autopbn").click();
        }
    }
    $(window).scroll(function(){
        ata();
    });
});