Soul+Cleaner

清洁魂+首页

2022-04-21 يوللانغان نەشرى. ئەڭ يېڭى نەشرىنى كۆرۈش.

// ==UserScript==
// @name         Soul+Cleaner
// @name:en         Soul+Cleaner
// @name:zh         Soul+Cleaner
// @namespace    [email protected]
// @version      1.0.2
// @description  清洁魂+首页
// @description:en  Clean Soul+ HomePage
// @description:zh  清洁魂+首页
// @author       Xiccnd

// @license      GPL-3.0 License

// @match        *://*.white-plus.net/index.php
// @match        *://*.snow-plus.net/index.php
// @match        *://*.level-plus.net/index.php
// @match        *://*.east-plus.net/index.php
// @match        *://*.south-plus.net/index.php
// @match        *://*.north-plus.net/index.php
// @match        *://*.spring-plus.net/index.php
// @match        *://*.summer-plus.net/index.php
// @match        *://*.imoutolove.me/index.php

// @match        *://*.white-plus.net
// @match        *://*.snow-plus.net
// @match        *://*.level-plus.net
// @match        *://*.east-plus.net
// @match        *://*.south-plus.net
// @match        *://*.north-plus.net
// @match        *://*.spring-plus.net
// @match        *://*.summer-plus.net
// @match        *://*.imoutolove.me

// @require https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js
// @icon         https://cdn.jsdelivr.net/gh/Xiccnd/Xiccnd-Pic@master/20220421113011992.1vh7zbll47r4.ico
// @grant        none
// ==/UserScript==

$(function () {

    'use strict';

    /*
    * 开关插件功能
    * */

    //开启清洁功能
    xiccndClean()

    //开启深度清洁功能
    //xiccndDeepClean()

    /*
    * 清除功能
    * */
    function xiccndClean() {

        /*
        * 去除页头广告
        * */
        $('div#header div').eq(-2).remove()

        /*
        * 去除网页头部
        * */
        $('td.banner').remove()
        $('div.bdbA').remove()

        /*
        * 去除蜜柑计划
        * */
        $('div#t_123.t').remove()

        /*
        * 去除网页底部
        * */
        $('div#main>div.t_one').remove()
        $('div#main>div.t').remove()
        $('div#footer').remove()
    }

    /*
    * 深度清除功能
    * */
    function xiccndDeepClean() {
        //去除漫区特设
        $('div#t_39.t').remove()
        //去除人民囧府
        $('div#t_1.t').remove()
        //去除网赚资源区
        $('tr#fid_170.tr3.f_one').remove()
    }
})