Local File Link convert For FF

Change link 'file://' to 'file://///'

17.04.2019 itibariyledir. En son verisyonu görün.

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         Local File Link convert For FF
// @version      0.1
// @description  Change link 'file://' to 'file://///'
// @author       Mitsuya Tsujikawa
// @require      https://code.jquery.com/jquery-1.12.4.js
// @include      *
// @namespace https://greasyfork.org/users/292663
// ==/UserScript==

$(function(){

    var links, a;
    links = document.getElementsByTagName('a');

    for (var i = 0; i < links.length; i++) {
        a = links[i];
        a.attributes.href.nodeValue = a.attributes.href.nodeValue.replace(/^file:\/{2}/,'file://///');
    }

});