Direct URL Webtoons

Extract Pic Link

ของเมื่อวันที่ 18-04-2020 ดู เวอร์ชันล่าสุด

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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.

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

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