mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
siteextra to support site source html preprocessing before rendering
This commit is contained in:
parent
7c38fa2615
commit
3eacdfbe86
17 changed files with 22 additions and 30 deletions
|
@ -49,7 +49,7 @@
|
|||
<p><a href="https://releases.pagure.org/uweb/">pagure</a></p>
|
||||
<p><a href="https://sourceforge.net/projects/uwebbrowser/files/v1/">sourceforge</a></p>
|
||||
<h4 id="change-logs">Change logs</h4>
|
||||
<p>958: Add webdav/http file upload support with <a href="../links/index.html">"i:0u" links</a>.<br>
|
||||
<p>961: webdav/http file upload support with <a href="../links/index.html">"i:0u" links</a>.<br>
|
||||
956: Search engines (.search file) to apply same folder "home.css". Use POST type search engine as bookmark for auto login.<br>
|
||||
955: Address bar: <a href="../acmd/index.html">":!" or "!"</a> for command line support (.js/.sh files as executables).<br>
|
||||
953: hardware keyboard: ":", "!" to set focus on address bar<br>
|
||||
|
|
|
@ -84,7 +84,7 @@ uweb, termux &amp; history versions
|
|||
github
|
||||
pagure
|
||||
sourceforge
|
||||
Change logs 958: Add webdav/http file upload support with &quot;i:0u&quot; links.
|
||||
Change logs 961: webdav/http file upload support with &quot;i:0u&quot; links.
|
||||
956: Search engines (.search file) to apply same folder &quot;home.css&quot;. Use POST type search engine as bookmark for auto login.
|
||||
955: Address bar: &quot;:!&quot; or &quot;!&quot; for command line support (.js/.sh files as executables).
|
||||
953: hardware keyboard: &quot;:&quot;, &quot;!&quot; to set focus on address bar
|
||||
|
|
|
@ -12,6 +12,8 @@
|
|||
<a href="i:0gdefault.link::mkdir_%1%: {let path=`%f`;let iSlash=path.lastIndexOf('/',path.length-2);let f=path.substring(iSlash+1);location.href='i:0wMKCOL:%2%/'+f;}%0A">Make directory on server %1%</a><br>
|
||||
|
||||
<p><b>Bookmarks:</b></p>
|
||||
<a href="i:0e/data/data/info.torapp.uweb/files:%2%/uweb.tgz">Backup config to %1%</a><br>
|
||||
<a href="i:0d%2%/uweb.tgz">Restore config from %1%</a><br>
|
||||
<a href='i:0wDELETE:%2%/'>Delete on server %1%</a><br>
|
||||
<a href='i:0wMKCOL:%2%/'>Make directory on server %1%</a><br>
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@ Bookmark the generated page for later use.<br>
|
|||
<a href="javascript:{let f=document.forms[0];f.i.value='yandex';f.u.value='https://webdav.yandex.com';void(0)}">yandex</a>
|
||||
<a href="javascript:{let f=document.forms[0];f.i.value='opendrive';f.u.value='https://webdav.opendrive.com';void(0)}">opendrive</a>
|
||||
<a href="javascript:{let f=document.forms[0];f.i.value='sme';f.u.value='https://webdav.storagemadeeasy.com';void(0)}">storagemadeeasy</a>
|
||||
<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>
|
||||
<a href="javascript:{let f=document.forms[0];f.i.value='teracloud';f.u.value='https://yura.teracloud.jp/dav';void(0)}">teracloud</a>
|
||||
</p>
|
||||
|
||||
|
|
|
@ -66,14 +66,14 @@
|
|||
<li>Long press the button "settings", check the option "Apply user styles".</li>
|
||||
</ul>
|
||||
<p>If file "default.css" exists, the style will be applied to all sites without matching [domain root].css.</p>
|
||||
<h3 id="extra-html-experimental">Extra html (experimental)</h3>
|
||||
<h3 id="extra-html">Extra html</h3>
|
||||
<ul>
|
||||
<li>Need to be named as "[domain].html".</li>
|
||||
<li>Need to be named as "[domain].html". Notice: the file name here is "[full domain]" not "[domain root]".</li>
|
||||
<li>Under folder "siteextra".</li>
|
||||
<li>Long press the button "settings", check the option "Apply user extra".</li>
|
||||
<li>May have issues with some redirected urls.</li>
|
||||
</ul>
|
||||
<p>"sitejs/.js" , "sitecss/.css" and "sitecss/.js" are applied to all non-http urls (file urls etc.).</p>
|
||||
<p>The extra html could be placed before the site source html (uweb uses an algorithm to merge the extra html with the site source html automatically). Ex. when the extra html ends with "<textarea>", the site source html appears as the value of the textarea element, thus the extra html can further process the the site source html before rendering. For sites with textarea elements, "<div><textarea>" could be used.</p>
|
||||
<p>"sitejs/.js", "sitecss/.css", "sitecss/.js" and "siteextra/.html" are applied to all non-http urls (file urls etc.).</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ uweb, termux &amp; history versions
|
|||
github
|
||||
pagure
|
||||
sourceforge
|
||||
Change logs 958: Add webdav/http file upload support with &quot;i:0u&quot; links.
|
||||
Change logs 961: webdav/http file upload support with &quot;i:0u&quot; links.
|
||||
956: Search engines (.search file) to apply same folder &quot;home.css&quot;. Use POST type search engine as bookmark for auto login.
|
||||
955: Address bar: &quot;:!&quot; or &quot;!&quot; for command line support (.js/.sh files as executables).
|
||||
953: hardware keyboard: &quot;:&quot;, &quot;!&quot; to set focus on address bar
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue