WebDAV Browser

Browse WebDAV share directly from a browser

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 WebDAV Browser
// @name:ru WebDAV обозреватель
// @version 0.1
// @description Browse WebDAV share directly from a browser
// @description:ru Позволяет просмотреть WebDAV папку прямо из браузера
// @license 0BSD
// @author Sergey Ponomarev <[email protected]>
// @namespace https://gist.github.com/stokito/a7babfa3c04c92c6c4142581145fe33d
// @supportURL https://gist.github.com/stokito/a7babfa3c04c92c6c4142581145fe33d
// @match http://*/dav/*
// @match https://*/dav/*
// @match http://dav.*/*
// @match https://dav.*/*
// @match http://*/webdav/*
// @match https://*/webdav/*
// @match http://webdav.*/*
// @match https://webdav.*/*
// @match https://svn.code.sf.net/p/*/code/*
// @grant none
// ==/UserScript==

(function() {
    'use strict';
    console.log("Clear existing body if any")
    document.body.innerHTML = ""

    var style = document.createElement("link")
    style.rel = "stylesheet"
    style.href = "https://cdn.jsdelivr.net/gh/dom111/webdav-js/assets/css/style-min.css"
    document.head.appendChild(style)

    var script = document.createElement("script")
    script.src = "https://cdn.jsdelivr.net/gh/dom111/webdav-js/src/webdav-min.js"
    document.head.appendChild(script)
})();