webdav/http file upload support

This commit is contained in:
James Feng Cao 2023-01-19 17:24:07 +08:00
parent 3ecbea5097
commit a3147eaa1a
9 changed files with 21 additions and 4 deletions

View file

@ -104,6 +104,7 @@ The following html5 applications are allowed to read local files referred by &am
VPN VPN
Wait for network msg Wait for network msg
Certificate info Certificate info
upload to box.com
Web fullscreen Web fullscreen
Long pressing the bookmark button in uweb browser will popup menus defined in file "default.link". The file format is as follows: Long pressing the bookmark button in uweb browser will popup menus defined in file "default.link". The file format is as follows:
[Menu name]:[url][space][javascript code] [Menu name]:[url][space][javascript code]

View file

@ -49,7 +49,8 @@
<p><a href="https://releases.pagure.org/uweb/">pagure</a></p> <p><a href="https://releases.pagure.org/uweb/">pagure</a></p>
<p><a href="https://sourceforge.net/projects/uwebbrowser/files/v1/">sourceforge</a></p> <p><a href="https://sourceforge.net/projects/uwebbrowser/files/v1/">sourceforge</a></p>
<h4 id="change-logs">Change logs</h4> <h4 id="change-logs">Change logs</h4>
<p>956: Search engines (.search file) to apply same folder &quot;home.css&quot;. Use POST type search engine as bookmark for auto login.<br> <p>958: Add webdav/http file upload support with <a href="../links/index.html">&quot;i:0u&quot; links</a>.<br>
956: Search engines (.search file) to apply same folder &quot;home.css&quot;. Use POST type search engine as bookmark for auto login.<br>
955: Address bar: <a href="../acmd/index.html">&quot;:!&quot; or &quot;!&quot;</a> for command line support (.js/.sh files as executables).<br> 955: Address bar: <a href="../acmd/index.html">&quot;:!&quot; or &quot;!&quot;</a> for command line support (.js/.sh files as executables).<br>
953: hardware keyboard: &quot;:&quot;, &quot;!&quot; to set focus on address bar<br> 953: hardware keyboard: &quot;:&quot;, &quot;!&quot; to set focus on address bar<br>
949: Address bar: &quot;:p [width in milliInch]x[height]&quot; to generate PDF in custom size<br> 949: Address bar: &quot;:p [width in milliInch]x[height]&quot; to generate PDF in custom size<br>

View file

@ -84,7 +84,8 @@ uweb, termux &amp;amp; history versions
github github
pagure pagure
sourceforge sourceforge
Change logs 956: Search engines (.search file) to apply same folder &amp;quot;home.css&amp;quot;. Use POST type search engine as bookmark for auto login. Change logs 958: Add webdav/http file upload support with &amp;quot;i:0u&amp;quot; links.
956: Search engines (.search file) to apply same folder &amp;quot;home.css&amp;quot;. Use POST type search engine as bookmark for auto login.
955: Address bar: &amp;quot;:!&amp;quot; or &amp;quot;!&amp;quot; for command line support (.js/.sh files as executables). 955: Address bar: &amp;quot;:!&amp;quot; or &amp;quot;!&amp;quot; for command line support (.js/.sh files as executables).
953: hardware keyboard: &amp;quot;:&amp;quot;, &amp;quot;!&amp;quot; to set focus on address bar 953: hardware keyboard: &amp;quot;:&amp;quot;, &amp;quot;!&amp;quot; to set focus on address bar
949: Address bar: &amp;quot;:p [width in milliInch]x[height]&amp;quot; to generate PDF in custom size</description> 949: Address bar: &amp;quot;:p [width in milliInch]x[height]&amp;quot; to generate PDF in custom size</description>
@ -165,6 +166,7 @@ Note: &#34;Engines&#34; needs file &#34;engine.search&#34;whose format is sam
VPN VPN
Wait for network msg Wait for network msg
Certificate info Certificate info
upload to box.com
Web fullscreen Web fullscreen
Long pressing the bookmark button in uweb browser will popup menus defined in file &amp;quot;default.link&amp;quot;. The file format is as follows: Long pressing the bookmark button in uweb browser will popup menus defined in file &amp;quot;default.link&amp;quot;. The file format is as follows:
[Menu name]:[url][space][javascript code] [Menu name]:[url][space][javascript code]

View file

@ -51,6 +51,7 @@
<a href="i:0gdefault.link::vpn:i:1dandroid.net.vpn.SETTINGS:::%0A">VPN</a></p> <a href="i:0gdefault.link::vpn:i:1dandroid.net.vpn.SETTINGS:::%0A">VPN</a></p>
<p><a href="i:0gdefault.link::Wait msg:i:1c%0A">Wait for network msg</a></p> <p><a href="i:0gdefault.link::Wait msg:i:1c%0A">Wait for network msg</a></p>
<p><a href="i:0gdefault.link::Certificate info:i:1b%0A">Certificate info</a></p> <p><a href="i:0gdefault.link::Certificate info:i:1b%0A">Certificate info</a></p>
<p><a href="i:0gdefault.link::up2Box: {let path=`%f`;let iSlash=path.lastIndexOf('/',path.length-2);let f;if('/'!=path[path.length-1])let f=path.substring(iSlash+1);else f=path.substring(iSlash+1,path.length-1)+'.tgz';location.href='i:0u'+path+':https://dav.box.com/dav/'+f;%0A">upload to box.com</a></p>
<p><a href="i:0gdefault.link::web fullscreen: location.href='i:5fsetTimeout(()=>document.documentElement.requestFullscreen(),50);';%0A">Web fullscreen</a></p> <p><a href="i:0gdefault.link::web fullscreen: location.href='i:5fsetTimeout(()=>document.documentElement.requestFullscreen(),50);';%0A">Web fullscreen</a></p>
<p>Long pressing the bookmark button in <a href="../index.html">uweb browser</a> will popup menus defined in file &quot;default.link&quot;. The file format is as follows:<br> <p>Long pressing the bookmark button in <a href="../index.html">uweb browser</a> will popup menus defined in file &quot;default.link&quot;. The file format is as follows:<br>
[Menu name]:[url][space][javascript code]</p> [Menu name]:[url][space][javascript code]</p>

View file

@ -17,7 +17,8 @@ uweb, termux &amp;amp; history versions
github github
pagure pagure
sourceforge sourceforge
Change logs 956: Search engines (.search file) to apply same folder &amp;quot;home.css&amp;quot;. Use POST type search engine as bookmark for auto login. Change logs 958: Add webdav/http file upload support with &amp;quot;i:0u&amp;quot; links.
956: Search engines (.search file) to apply same folder &amp;quot;home.css&amp;quot;. Use POST type search engine as bookmark for auto login.
955: Address bar: &amp;quot;:!&amp;quot; or &amp;quot;!&amp;quot; for command line support (.js/.sh files as executables). 955: Address bar: &amp;quot;:!&amp;quot; or &amp;quot;!&amp;quot; for command line support (.js/.sh files as executables).
953: hardware keyboard: &amp;quot;:&amp;quot;, &amp;quot;!&amp;quot; to set focus on address bar 953: hardware keyboard: &amp;quot;:&amp;quot;, &amp;quot;!&amp;quot; to set focus on address bar
949: Address bar: &amp;quot;:p [width in milliInch]x[height]&amp;quot; to generate PDF in custom size</description> 949: Address bar: &amp;quot;:p [width in milliInch]x[height]&amp;quot; to generate PDF in custom size</description>

View file

@ -167,6 +167,7 @@ gozer 广告屏蔽样式
VPN VPN
wireless wireless
显示网站安全证书 显示网站安全证书
上传坚果云
迅雷盘离线 迅雷盘离线
网页全屏 网页全屏
点击安装Cookie延期地址栏内删除特殊字符站内搜索seedr离线下载等 点击安装Cookie延期地址栏内删除特殊字符站内搜索seedr离线下载等

View file

@ -346,6 +346,7 @@ gozer 广告屏蔽样式
VPN VPN
wireless wireless
显示网站安全证书 显示网站安全证书
上传坚果云
迅雷盘离线 迅雷盘离线
网页全屏 网页全屏
点击安装Cookie延期地址栏内删除特殊字符站内搜索seedr离线下载等 点击安装Cookie延期地址栏内删除特殊字符站内搜索seedr离线下载等

View file

@ -51,7 +51,8 @@
<a href="i:0gdefault.link::vpn:i:1dandroid.net.vpn.SETTINGS:::%0A">VPN</a><br> <a href="i:0gdefault.link::vpn:i:1dandroid.net.vpn.SETTINGS:::%0A">VPN</a><br>
<a href="i:0gdefault.link::wireless:i:1dandroid.settings.WIRELESS_SETTINGS:::%0A">wireless</a><br> <a href="i:0gdefault.link::wireless:i:1dandroid.settings.WIRELESS_SETTINGS:::%0A">wireless</a><br>
<a href="i:0gdefault.link::显示安全证书:i:1b%0A">显示网站安全证书</a><br> <a href="i:0gdefault.link::显示安全证书:i:1b%0A">显示网站安全证书</a><br>
<a href="i:0gdefault.link::迅雷盘离线:http://pan.xunlei.com/ {let rsc=setInterval(function(){var offBtn=document.querySelector('.pan-dropdown-menu.plus-menu>a:nth-child(2)');if(offBtn){clearInterval(rsc);var wsc=setInterval(function(){offBtn.click();var textarea=document.querySelector('.fileurl-input__container>textarea');if(textarea){clearInterval(wsc);textarea.value='%25u';var event=document.createEvent('HTMLEvents');event.initEvent('input',false,true);textarea.dispatchEvent(event);document.querySelector('.pan-dialog-btn__primary').click();}},200);}},1000);}%0A">迅雷盘离线</a></p> <a href="i:0gdefault.link::上传坚果云: {let path=`%f`;let iSlash=path.lastIndexOf('/',path.length-2);let f;if('/'!=path[path.length-1])let f=path.substring(iSlash+1);else f=path.substring(iSlash+1,path.length-1)+'.tgz';location.href='i:0u'+path+':https://dav.jianguoyun.com/dav/%e6%88%91%e7%9a%84%e5%9d%9a%e6%9e%9c%e4%ba%91/'+f;%0A">上传坚果云</a></p>
<p><a href="i:0gdefault.link::迅雷盘离线:http://pan.xunlei.com/ {let rsc=setInterval(function(){var offBtn=document.querySelector('.pan-dropdown-menu.plus-menu>a:nth-child(2)');if(offBtn){clearInterval(rsc);var wsc=setInterval(function(){offBtn.click();var textarea=document.querySelector('.fileurl-input__container>textarea');if(textarea){clearInterval(wsc);textarea.value='%25u';var event=document.createEvent('HTMLEvents');event.initEvent('input',false,true);textarea.dispatchEvent(event);document.querySelector('.pan-dialog-btn__primary').click();}},200);}},1000);}%0A">迅雷盘离线</a></p>
<p><a href="i:0gdefault.link::网页全屏: location.href='i:5fsetTimeout(()=>document.documentElement.requestFullscreen(),50);';%0A">网页全屏</a></p> <p><a href="i:0gdefault.link::网页全屏: location.href='i:5fsetTimeout(()=>document.documentElement.requestFullscreen(),50);';%0A">网页全屏</a></p>
<p><a href="i:0gdefault.link:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/link.cfg">点击安装Cookie延期地址栏内删除特殊字符站内搜索seedr离线下载等</a><br> <p><a href="i:0gdefault.link:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/link.cfg">点击安装Cookie延期地址栏内删除特殊字符站内搜索seedr离线下载等</a><br>
<a href="i:0gdefault.link:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/offline.link">点击安装离线下载(pcloud,furk,微云等)</a></p> <a href="i:0gdefault.link:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/offline.link">点击安装离线下载(pcloud,furk,微云等)</a></p>

View file

@ -29,6 +29,14 @@ input{height:40px;width:100%;border-radius:50px;}
</form> </form>
<p><a href="javascript:document.forms[0].u.value='https://dav.jianguoyun.com/dav/%e6%88%91%e7%9a%84%e5%9d%9a%e6%9e%9c%e4%ba%91/uweb.tgz';void(0)">坚果云</a> <p><a href="javascript:document.forms[0].u.value='https://dav.jianguoyun.com/dav/%e6%88%91%e7%9a%84%e5%9d%9a%e6%9e%9c%e4%ba%91/uweb.tgz';void(0)">坚果云</a>
<a href="javascript:document.forms[0].u.value='https://app.koofr.net/dav/koofr/uweb.tgz';void(0)">koofr</a>
<a href="javascript:document.forms[0].u.value='https://webdav.pcloud.com/uweb.tgz';void(0)">pcloud</a>
<a href="javascript:document.forms[0].u.value='https://webdav.yandex.com/uweb.tgz';void(0)">yandex</a>
<a href="javascript:document.forms[0].u.value='https://webdav.opendrive.com/uweb.tgz';void(0)">opendrive</a>
<a href="javascript:document.forms[0].u.value='https://dav.box.com/dav/uweb.tgz';void(0)"></a>
<a href="javascript:document.forms[0].u.value='https://yura.teracloud.jp/dav/uweb.tgz';void(0)">teracloud</a>
<br>
<a href="javascript:document.forms[0].i.value='/data/data/info.torapp.uweb/files';void(0)">uweb目录</a> <a href="javascript:document.forms[0].i.value='/data/data/info.torapp.uweb/files';void(0)">uweb目录</a>
<a href="javascript:document.forms[0].i.value='/data/data/info.torapp.uweb/app_webview/Default/Cookies';void(0)">Cookie (webview 76+)</a> <a href="javascript:document.forms[0].i.value='/data/data/info.torapp.uweb/app_webview/Default/Cookies';void(0)">Cookie (webview 76+)</a>