Keine Beschreibung

Dom Hastings d2afa3f46b Merge pull request #37 from dom111/master-topic-12-not_external_image_assets vor 6 Jahren
assets e4b052f93e Fix #12: convert image assets to base64 data: URI vor 6 Jahren
examples 5d939abbd0 Fix bad location vor 6 Jahren
external 54c26332e2 Add Apache example that uses only local assets vor 6 Jahren
src d6bbbf644a Merged from wrong branch vor 6 Jahren
test fe76589ddc Remove comment in test/run*.sh vor 6 Jahren
tmp 77450abe45 Add tmp dir vor 6 Jahren
.editorconfig 4d1a7b5169 Specify more indentation rules vor 6 Jahren
.gitignore 1033824665 Fix npm lock file name vor 6 Jahren
LICENSE 4ec02b7cdd Add MIT license vor 6 Jahren
README.md cc52364443 Fix error in README.md version of bookmarklet. vor 6 Jahren
index.html 4c973c59d3 Fix incorrect path to minified styling as pointed out on https://dom.hastin.gs/blog/coding/wevdav-js-update/475#comment-33810 vor 7 Jahren
package.json e4b052f93e Fix #12: convert image assets to base64 data: URI vor 6 Jahren

README.md

webdav-js

A simple way to administer a WebDAV filesystem in a browser.

Currently Supported

Firefox (Unsure of specific version, works on latest) Chrome (Unsure of specific version, works on latest)

Implementations

Add this to your Bookmarks Bar:

javascript:!function(){var t=document.getElementsByTagName("head")[0],e=function(e,s){var a=document.createElement("script");a.src=e,a.type="text/javascript",s&&(a.onload=s),t.appendChild(a)},s=function(e){var s=document.createElement("link");s.href=e,s.rel="stylesheet",t.appendChild(s)};e("https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js",function(){["https://cdn.rawgit.com/noelboss/featherlight/1.7.1/release/featherlight.min.js","https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js?autorun=false","https://cdn.rawgit.com/notifyjs/notifyjs/master/dist/notify.js","https://cdn.rawgit.com/noelboss/featherlight/1.7.1/release/featherlight.min.css","https://cdn.rawgit.com/dom111/webdav-js/master/assets/css/style-min.css","https://cdn.rawgit.com/dom111/webdav-js/master/src/webdav-min.js"].forEach(function(t){t.match(/css$/)?s(t):e(t)})})}()

Another use could be to implement the above bookmarklet in-line using Apache's Indexes option using the HeaderName directive.

Blog post

Supports

  • Browsing WebDAV shares by folder
  • Previewing font, image, video, audio and anything supplied by the server with text/ mime-types
  • Directory creation
  • Drag and drop file upload

TODO

  • jsTree navigation for Copy/Move
  • jsDoc