VeryCD File Show Link

VeryCD 的文件页面直接显示下载地址而不是js按钮。

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name           VeryCD File Show Link
// @namespace      http://qixinglu.com
// @description    VeryCD 的文件页面直接显示下载地址而不是js按钮。
// @include        http://www.verycd.com/files/*
// @version 0.0.1.20140517140356
// ==/UserScript==

var button_node = document.getElementById('downloadButton');
var link_node = document.createElement('a');
link_node.text = button_node.name;
link_node.href = button_node.name;
var button_parent_node = button_node.parentNode;
button_parent_node.removeChild(button_node);
button_parent_node.appendChild(link_node);