您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Extract Pic Links
// ==UserScript== // @name Direct URL Webtoons // @version 2020.04.19.1 // @description Extract Pic Links // @include http*://www.webtoons.com* // @author Rainbow-Spike // @namespace https://greasyfork.org/users/7568 // @homepage https://greasyfork.org/ru/users/7568-dr-yukon // @icon https://www.google.com/s2/favicons?domain=webtoons.com // @grant none // @run-at document-end // ==/UserScript== var timer = 300, imgs, x, img, a, nod = document.createElement ( "span" ); //NODE nod.style = 'font-size: 15px; left: 5px; position: fixed; width: 550px; text-decoration: underline; top: 50px;'; document.querySelector ( "body" ).appendChild ( nod ); //RELOADER function reloader ( ) { nod.innerHTML = ''; imgs = document.querySelectorAll ( "img._images" ); for ( x = 0; x < imgs.length; x++ ) { img = imgs [ x ].getAttribute ( 'data-url' ); a = document.createElement ( "a" ); a.href = img; a.innerHTML = img; a.style.display = 'block'; nod.appendChild ( a ); } } setInterval ( reloader, timer ); // HOTKEYS var prev = document.querySelector ( '.pg_prev' ), next = document.querySelector ( '.pg_next' ); if ( prev != null ) prev.accessKey = "z"; if ( next != null ) next.accessKey = "x"; // SELECTION function selectblock ( name ) { var rng = document.createRange ( ); rng.selectNode ( name ); var sel = window.getSelection ( ); sel.removeAllRanges ( ); sel.addRange ( rng ); } selectblock ( nod );