webdav.html 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width" />
  2. <script>function g(){
  3. let d=document;
  4. let f=d.forms[0];
  5. let loc = window.location.href;
  6. let dir = loc.substring(0, loc.lastIndexOf ("/")+1);
  7. window.open("f:"+f.i.value+"&"+f.u.value+":"+dir+"template/webdav.html");
  8. return false;
  9. }
  10. </script><style>
  11. input{height:40px;width:100%;border-radius:50px;}
  12. </style>
  13. <title>webdav storage</title></head><body>
  14. <p>This page is to generate install-able menu items and bookmarks for webdav cloud storage operations (upload, backup/restore, delete and create directory).</p>
  15. Bookmark the generated page for later use.<br>
  16. <form onsubmit="return g();" style="margin:5px 0 5px 0;padding:0px">
  17. <input name=i placeholder="Name"/><br>
  18. <input name=u placeholder="Server url including path"/><br>
  19. <input type="submit" value="webdav links">
  20. </form>
  21. <p>
  22. <a href="javascript:{let f=document.forms[0];f.i.value='Box';f.u.value='https://dav.box.com/dav';void(0)}">Box</a>
  23. <a href="javascript:{let f=document.forms[0];f.i.value='koofr';f.u.value='https://app.koofr.net/dav/koofr';void(0)}">koofr</a>
  24. <a href="javascript:{let f=document.forms[0];f.i.value='pcloud';f.u.value='https://webdav.pcloud.com';void(0)}">pcloud</a>
  25. <a href="javascript:{let f=document.forms[0];f.i.value='powerfolder';f.u.value='https://my.powerfolder.com/webdav/personal';void(0)}">powerfolder</a>
  26. <a href="javascript:{let f=document.forms[0];f.i.value='yandex';f.u.value='https://webdav.yandex.com';void(0)}">yandex</a>
  27. <a href="javascript:{let f=document.forms[0];f.i.value='opendrive';f.u.value='https://webdav.opendrive.com';void(0)}">opendrive</a>
  28. <a href="javascript:{let f=document.forms[0];f.i.value='sme';f.u.value='https://webdav.storagemadeeasy.com';void(0)}">storagemadeeasy</a>
  29. <a href="javascript:{let f=document.forms[0];f.i.value='nut';f.u.value='https://dav.jianguoyun.com/dav/%e6%88%91%e7%9a%84%e5%9d%9a%e6%9e%9c%e4%ba%91';void(0)}">Nutstore</a>
  30. <a href="javascript:{let f=document.forms[0];f.i.value='teracloud';f.u.value='https://yura.teracloud.jp/dav';void(0)}">teracloud</a>
  31. </p>
  32. </body></html>