3donlinefilms Autopagination

Appends next page to the current page

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         3donlinefilms Autopagination
// @namespace    https://greasyfork.org/en/users/10118-drhouse
// @version      2.2
// @description  Appends next page to the current page
// @match        https://www.3donlinefilms.com/*
// @require      https://code.jquery.com/jquery-3.7.0.min.js
// @author       drhouse
// @license      CC-BY-NC-SA-4.0
// @icon         https://www.google.com/s2/favicons?sz=64&domain=www.3donlinefilms.com
// ==/UserScript==
/* global $ */

(function() {
    window._page_zipper_is_bookmarklet=true;
    window._page_zipper=document.createElement('script');
    window._page_zipper.type='text/javascript';window._page_zipper.src='//www.printwhatyoulike.com/static/pagezipper/pagezipper_10.js';
    document.getElementsByTagName('head')[0].appendChild(window._page_zipper);

    setInterval(function(){
        $("[id^='pgzp_page']").each(function() {
            if (this.id.match(/\d$/)) {
                $(this).find('header').remove();
            }
        });

        $('img').each(function() {
            var dataSrc = $(this).attr('data-src');
            if (dataSrc) {
                $(this).attr('src', dataSrc);
            }
        });

        $('.wrap-content:not(:first)').find('.title.text_center').remove()
        $('.wrap-footer:not(:first)').remove()
      
    }, 1000);

})();