File: examples/bookmarklet/README.md

Recommend this page to a friend!
  Classes of Dom Hastings   JS Webdav Client   examples/bookmarklet/README.md   Download  
File: examples/bookmarklet/README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: JS Webdav Client
Access files of a Webdav server
Author: By
Last change: Switched to featherlight from fancybox, organised private functions to make them easier to find, prefixed all private variables with _ for easy distinction, moved pretty print from iframe eval to properly using prettify
Date: 2 years ago
Size: 1,115 bytes
 

Contents

Class file image Download

To use this bookmarklet, add the following to your bookmarks:

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)})})}()

then browse to your WebDAV location in your favourite browser (currently only Chrome or Firefox are supported), click the button and upload/browse at your leisure.