Greasy Fork

Greasy Fork is available in English.

elecfans 电子发烧网 阅读全文

try to take over the world!

当前为 2020-06-06 提交的版本,查看 最新版本

// ==UserScript==
// @name         elecfans 电子发烧网 阅读全文
// @namespace    http://tampermonkey.net/
// @version      0.11
// @description  try to take over the world!
// @author       萱萱的饭
// @match        http://www.elecfans.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    $(document).ready(function(){
        $('.article-content').css('height','100%');
        $('.seeHide').remove();
        $('.sub-adbt').remove();
        $('html body.article-page div#header div.advertising.clearfix').remove();
        $('a.page-next').each(function(i){if($(this).text()=='全文'){
            $(this)[0].click();
        }});
    });
    // Your code here...
})();