Direct URL Webtoons

Extract Pic Link

Verze ze dne 18. 04. 2020. Zobrazit nejnovější verzi.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name			Direct URL Webtoons
// @version			2020.04.18
// @description		Extract Pic Link
// @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,
	img = document.querySelector ( "img._images" ).src;

var nod = document.createElement ( "a" );
nod.href = img;
nod.style = 'font-size: 20px; left: 5px; position: fixed; text-decoration: underline; top: 50px; z-index: 9999;';
nod.innerHTML = 'Copy Direct Link:' + img;
nod.className = 'us_link';
document.querySelector ( "body" ).appendChild ( nod );

function reloader ( ) {
	img = document.querySelector ( "img._images" ).src
	document.querySelector ( ".us_link" );
	nod.href = img;
	nod.innerHTML = 'Copy Direct Link:' + img;
}

setInterval ( reloader, timer );