Greasy Fork

Greasy Fork is available in English.

it1352 view all

it1352.com 查看全部内容,不必登陆

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         it1352 view all
// @name:zh-CN   it1352 view all
// @name:zh-TW   it1352 view all
// @name:en      it1352 view all
// @version      0.1
// @author       LoganGong
// @namespace    http://tampermonkey.net/
// @description  it1352.com 查看全部内容,不必登陆
// @description:zh-CN  it1352.com 查看全部内容,不必登陆
// @description:zh-TW  it1352.com 查看全部内容,不必登陆
// @description:en  it1352.com view all the content
// @match        *://it1352.com/*
// @match        *://www.it1352.com/*
// @grant        GM_registerMenuCommand
// @grant        GM_unregisterMenuCommand
// @grant        GM_openInTab
// @grant        GM_getValue
// @grant        GM_setValue
// @grant        GM_notification
// @license      MIT
// @run-at       document-end
// ==/UserScript==

(function() {
    'use strict';
    var IT1352 = "www.it1352.com";
    var HOST = document.location.host;
    var SELECTOR = ".arc-body-main";
    var MORESELECTOR = ".arc-body-main-more";
    if(HOST === IT1352) {
        var mains = document.querySelectorAll(SELECTOR);
        var mores = document.querySelectorAll(MORESELECTOR);
        setTimeout(function() {
            if(mains && mains.length) {
                mains.forEach(function(item) { item.style.height = "auto" });
            }
            if(mores && mores.length) {
                mores.forEach(function(item) {item.style.display = "none" });
            }
        }, 500);
    }
})();