Direct URL Webtoons

Extract Pic Link

Tính đến 18-04-2020. Xem phiên bản mới nhất.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

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

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

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.

(I already have a user style manager, let me install it!)

// ==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 );