Compare commits

...

2 commits

Author SHA1 Message Date
James Feng Cao
632302bd68 use .search file as bookmarks to auto login 2023-01-16 22:35:51 +08:00
James Feng Cao
472a62a35b apply same folder home.css to search engines 2023-01-16 22:25:09 +08:00
13 changed files with 83 additions and 70 deletions

View file

@ -5,7 +5,22 @@
<link>/en/_posts/</link> <link>/en/_posts/</link>
<description>Recent content in _posts on uweb browser</description> <description>Recent content in _posts on uweb browser</description>
<generator>Hugo -- gohugo.io</generator> <generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Sun, 08 Jan 2023 00:00:00 +0000</lastBuildDate><atom:link href="/en/_posts/index.xml" rel="self" type="application/rss+xml" /> <lastBuildDate>Mon, 16 Jan 2023 00:00:00 +0000</lastBuildDate><atom:link href="/en/_posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Tips</title>
<link>/en/tips/</link>
<pubDate>Mon, 16 Jan 2023 00:00:00 +0000</pubDate>
<guid>/en/tips/</guid>
<description>To show web pages in desktop mode:
PC button + option &amp;quot;wide viewport&amp;quot; + global js &amp;quot;force page resizable&amp;quot;.
Playing audio when screen off
Option &amp;quot;Floating video&amp;quot; + video fullscreen playing
** Use POST-type search engine as bookmark to auto login **
Multiple home screens and Next/Prev page:
home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), ... can be visited via pressing the right arrow button while home4.mht(or .html or .</description>
</item>
<item> <item>
<title>Address bar command line</title> <title>Address bar command line</title>
<link>/en/acmd/</link> <link>/en/acmd/</link>
@ -140,7 +155,8 @@ Enable selection</description>
berify: reverse image search for video berify: reverse image search for video
Bookmarks with secrets (POST instead of GET) The search engine (&amp;quot;.search&amp;quot;) file can be used as bookmarks with secret. Here is an example bookmark for webdav cloud storage (replace &amp;quot;xxx&amp;quot; with real user and password): Bookmarks with secrets (POST instead of GET) The search engine (&amp;quot;.search&amp;quot;) file can be used as bookmarks with secret. Here is an example bookmark for webdav cloud storage (replace &amp;quot;xxx&amp;quot; with real user and password):
box cloud:POST:type=webdav&amp;amp;url=https://dav.box.com/dav&amp;amp;username=xxx&amp;amp;password=xxx:https://demo.filestash.app/login box cloud:POST:type=webdav&amp;amp;url=https://dav.box.com/dav&amp;amp;username=xxx&amp;amp;password=xxx:https://demo.filestash.app/login
Commands Clicking to run is only allowed from local pages for bookmarks in this section. Users need to either save the bookmarks to local or long press the link =&amp;gt; &amp;quot;open in new tab&amp;quot; to execute.</description> Use the file &amp;quot;home.css&amp;quot; in the same folder to style the search engines.
Commands Clicking to run is only allowed from local pages for bookmarks in this section.</description>
</item> </item>
<item> <item>
@ -232,20 +248,6 @@ commacd.sh
.profile : only for kshell with naked termux (no initial packages, need the following fix for termux quick crash to be launched)</description> .profile : only for kshell with naked termux (no initial packages, need the following fix for termux quick crash to be launched)</description>
</item> </item>
<item>
<title>Tips</title>
<link>/en/tips/</link>
<pubDate>Mon, 01 Nov 2021 00:00:00 +0000</pubDate>
<guid>/en/tips/</guid>
<description>To show web pages in desktop mode:
PC button + option &amp;quot;wide viewport&amp;quot; + global js &amp;quot;force page resizable&amp;quot;.
Playing audio when screen off
Option &amp;quot;Floating video&amp;quot; + video fullscreen playing
Multiple home screens and Next/Prev page:
home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), ... can be visited via pressing the right arrow button while home4.mht(or .html or .search), home3.mht(or .html or .search) ... with long pressing the left arrow.</description>
</item>
<item> <item>
<title>Long pressed link menu</title> <title>Long pressed link menu</title>
<link>/en/longclick/</link> <link>/en/longclick/</link>

View file

@ -52,6 +52,7 @@
<h3 id="bookmarks-with-secrets-post-instead-of-get">Bookmarks with secrets (POST instead of GET)</h3> <h3 id="bookmarks-with-secrets-post-instead-of-get">Bookmarks with secrets (POST instead of GET)</h3>
<p>The search engine (&quot;.search&quot;) file can be used as bookmarks with secret. Here is an example bookmark for webdav cloud storage (replace &quot;xxx&quot; with real user and password):<br> <p>The search engine (&quot;.search&quot;) file can be used as bookmarks with secret. Here is an example bookmark for webdav cloud storage (replace &quot;xxx&quot; with real user and password):<br>
box cloud:POST:type=webdav&amp;url=https://dav.box.com/dav&amp;username=xxx&amp;password=xxx:https://demo.filestash.app/login</p> box cloud:POST:type=webdav&amp;url=https://dav.box.com/dav&amp;username=xxx&amp;password=xxx:https://demo.filestash.app/login</p>
<p>Use the file &quot;home.css&quot; in the same folder to style the search engines.</p>
<h3 id="commands">Commands</h3> <h3 id="commands">Commands</h3>
<p>Clicking to run is only allowed from local pages for bookmarks in this section. Users need to either save the bookmarks to local or long press the link =&gt; &quot;open in new tab&quot; to execute.</p> <p>Clicking to run is only allowed from local pages for bookmarks in this section. Users need to either save the bookmarks to local or long press the link =&gt; &quot;open in new tab&quot; to execute.</p>
<p>To save the bookmarks to local, users firstly need to install &quot;bookmark&quot; menu by clicking corresponding link in the <a href="../urls/index.html">url services</a> page, then long press the bookmark link =&gt; &quot;open in new tab&quot; =&gt; &quot;Commands&quot; =&gt; &quot;bookmark&quot; to save the bookmark.</p> <p>To save the bookmarks to local, users firstly need to install &quot;bookmark&quot; menu by clicking corresponding link in the <a href="../urls/index.html">url services</a> page, then long press the bookmark link =&gt; &quot;open in new tab&quot; =&gt; &quot;Commands&quot; =&gt; &quot;bookmark&quot; to save the bookmark.</p>

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>955: Address bar: <a href="../acmd/index.html">&quot;:!&quot; or &quot;!&quot;</a> for command line support (.js/.sh files as executables).<br> <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>
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>
946: Option &quot;use offline cache&quot; to support serverless local websites.</p> 946: Option &quot;use offline cache&quot; to support serverless local websites.</p>

View file

@ -84,6 +84,12 @@
<li class="post">
<a href="tips/index.html">
<span>Tips</span>
</a>
</li>
<li class="post"> <li class="post">
<a href="acmd/index.html"> <a href="acmd/index.html">
<span>Address bar command line</span> <span>Address bar command line</span>
@ -174,12 +180,6 @@
</a> </a>
</li> </li>
<li class="post">
<a href="tips/index.html">
<span>Tips</span>
</a>
</li>
<li class="post"> <li class="post">
<a href="longclick/index.html"> <a href="longclick/index.html">
<span>Long pressed link menu</span> <span>Long pressed link menu</span>

View file

@ -5,7 +5,22 @@
<link>/en/</link> <link>/en/</link>
<description>Recent content on uweb browser</description> <description>Recent content on uweb browser</description>
<generator>Hugo -- gohugo.io</generator> <generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Sun, 08 Jan 2023 00:00:00 +0000</lastBuildDate><atom:link href="/en/index.xml" rel="self" type="application/rss+xml" /> <lastBuildDate>Mon, 16 Jan 2023 00:00:00 +0000</lastBuildDate><atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Tips</title>
<link>/en/tips/</link>
<pubDate>Mon, 16 Jan 2023 00:00:00 +0000</pubDate>
<guid>/en/tips/</guid>
<description>To show web pages in desktop mode:
PC button + option &amp;quot;wide viewport&amp;quot; + global js &amp;quot;force page resizable&amp;quot;.
Playing audio when screen off
Option &amp;quot;Floating video&amp;quot; + video fullscreen playing
** Use POST-type search engine as bookmark to auto login **
Multiple home screens and Next/Prev page:
home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), ... can be visited via pressing the right arrow button while home4.mht(or .html or .</description>
</item>
<item> <item>
<title>Address bar command line</title> <title>Address bar command line</title>
<link>/en/acmd/</link> <link>/en/acmd/</link>
@ -69,12 +84,10 @@ uweb, termux &amp;amp; history versions
github github
pagure pagure
sourceforge sourceforge
Change logs 955: Address bar: &amp;quot;:!&amp;quot; or &amp;quot;!&amp;quot; for command line support (.js/.sh files as executables). 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.
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 949: Address bar: &amp;quot;:p [width in milliInch]x[height]&amp;quot; to generate PDF in custom size</description>
946: Option &amp;quot;use offline cache&amp;quot; to support serverless local websites.
945: commands to support evaluation of generated js code.
943: Multiple home screens support .</description>
</item> </item>
<item> <item>
@ -271,7 +284,8 @@ Remote javascript is defined in default.rjs. Click the following link to install
berify: reverse image search for video berify: reverse image search for video
Bookmarks with secrets (POST instead of GET) The search engine (&amp;quot;.search&amp;quot;) file can be used as bookmarks with secret. Here is an example bookmark for webdav cloud storage (replace &amp;quot;xxx&amp;quot; with real user and password): Bookmarks with secrets (POST instead of GET) The search engine (&amp;quot;.search&amp;quot;) file can be used as bookmarks with secret. Here is an example bookmark for webdav cloud storage (replace &amp;quot;xxx&amp;quot; with real user and password):
box cloud:POST:type=webdav&amp;amp;url=https://dav.box.com/dav&amp;amp;username=xxx&amp;amp;password=xxx:https://demo.filestash.app/login box cloud:POST:type=webdav&amp;amp;url=https://dav.box.com/dav&amp;amp;username=xxx&amp;amp;password=xxx:https://demo.filestash.app/login
Commands Clicking to run is only allowed from local pages for bookmarks in this section. Users need to either save the bookmarks to local or long press the link =&amp;gt; &amp;quot;open in new tab&amp;quot; to execute.</description> Use the file &amp;quot;home.css&amp;quot; in the same folder to style the search engines.
Commands Clicking to run is only allowed from local pages for bookmarks in this section.</description>
</item> </item>
<item> <item>
@ -363,20 +377,6 @@ commacd.sh
.profile : only for kshell with naked termux (no initial packages, need the following fix for termux quick crash to be launched)</description> .profile : only for kshell with naked termux (no initial packages, need the following fix for termux quick crash to be launched)</description>
</item> </item>
<item>
<title>Tips</title>
<link>/en/tips/</link>
<pubDate>Mon, 01 Nov 2021 00:00:00 +0000</pubDate>
<guid>/en/tips/</guid>
<description>To show web pages in desktop mode:
PC button + option &amp;quot;wide viewport&amp;quot; + global js &amp;quot;force page resizable&amp;quot;.
Playing audio when screen off
Option &amp;quot;Floating video&amp;quot; + video fullscreen playing
Multiple home screens and Next/Prev page:
home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), ... can be visited via pressing the right arrow button while home4.mht(or .html or .search), home3.mht(or .html or .search) ... with long pressing the left arrow.</description>
</item>
<item> <item>
<title>Long pressed link menu</title> <title>Long pressed link menu</title>
<link>/en/longclick/</link> <link>/en/longclick/</link>

View file

@ -2,7 +2,7 @@
<script>function g(){ <script>function g(){
let d=document; let d=document;
let f=d.forms[0]; let f=d.forms[0];
d.location.href="i:19"; setTimeout(function(){ document.location.href="i:0i/data/data/info.torapp.uweb/files/home.css:"+f.b.value+":https://fastly.jsdelivr.net/gh/torappinfo/uweb/searchurl/template/home.css"; d.location.href="i:19"; setTimeout(function(){ document.location.href="i:0i/data/data/info.torapp.uweb/files/home.css:"+f.b.value+":https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/template/home.css";
},100); },100);
return false; return false;
} }

View file

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml"> xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url> <url>
<loc>/en/_posts/</loc> <loc>/en/_posts/</loc>
<lastmod>2023-01-08T00:00:00+00:00</lastmod> <lastmod>2023-01-16T00:00:00+00:00</lastmod>
<xhtml:link <xhtml:link
rel="alternate" rel="alternate"
hreflang="zh" hreflang="zh"
@ -15,11 +15,21 @@
href="/en/_posts/" href="/en/_posts/"
/> />
</url><url> </url><url>
<loc>/en/acmd/</loc> <loc>/en/tips/</loc>
<lastmod>2023-01-08T00:00:00+00:00</lastmod> <lastmod>2023-01-16T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tips/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tips/"
/>
</url><url> </url><url>
<loc>/en/</loc> <loc>/en/</loc>
<lastmod>2023-01-08T00:00:00+00:00</lastmod> <lastmod>2023-01-16T00:00:00+00:00</lastmod>
<xhtml:link <xhtml:link
rel="alternate" rel="alternate"
hreflang="zh" hreflang="zh"
@ -30,6 +40,9 @@
hreflang="en" hreflang="en"
href="/en/" href="/en/"
/> />
</url><url>
<loc>/en/acmd/</loc>
<lastmod>2023-01-08T00:00:00+00:00</lastmod>
</url><url> </url><url>
<loc>/en/offlinecache/</loc> <loc>/en/offlinecache/</loc>
<lastmod>2022-11-25T00:00:00+00:00</lastmod> <lastmod>2022-11-25T00:00:00+00:00</lastmod>
@ -360,19 +373,6 @@
</url><url> </url><url>
<loc>/en/termux/</loc> <loc>/en/termux/</loc>
<lastmod>2022-01-01T00:00:00+00:00</lastmod> <lastmod>2022-01-01T00:00:00+00:00</lastmod>
</url><url>
<loc>/en/tips/</loc>
<lastmod>2021-11-01T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tips/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tips/"
/>
</url><url> </url><url>
<loc>/en/longclick/</loc> <loc>/en/longclick/</loc>
<lastmod>2020-11-06T00:00:00+00:00</lastmod> <lastmod>2020-11-06T00:00:00+00:00</lastmod>

View file

@ -51,6 +51,7 @@
PC button + option &quot;wide viewport&quot; + global js &quot;force page resizable&quot;.</p> PC button + option &quot;wide viewport&quot; + global js &quot;force page resizable&quot;.</p>
<p><strong>Playing audio when screen off</strong><br> <p><strong>Playing audio when screen off</strong><br>
Option &quot;Floating video&quot; + video fullscreen playing</p> Option &quot;Floating video&quot; + video fullscreen playing</p>
<p>** <a href="../bookmark/index.html">Use POST-type search engine as bookmark to auto login</a> **</p>
<p><strong>Multiple home screens and Next/Prev page</strong>:<br> <p><strong>Multiple home screens and Next/Prev page</strong>:<br>
home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), ... can be visited via pressing the right arrow button while home4.mht(or .html or .search), home3.mht(or .html or .search) ... with long pressing the left arrow.</p> home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), ... can be visited via pressing the right arrow button while home4.mht(or .html or .search), home3.mht(or .html or .search) ... with long pressing the left arrow.</p>
<p>Click download button on the bottom toolbar to save remote webpage, the resulted offline file can be used as one of the home screens.</p> <p>Click download button on the bottom toolbar to save remote webpage, the resulted offline file can be used as one of the home screens.</p>

View file

@ -17,12 +17,10 @@ uweb, termux &amp;amp; history versions
github github
pagure pagure
sourceforge sourceforge
Change logs 955: Address bar: &amp;quot;:!&amp;quot; or &amp;quot;!&amp;quot; for command line support (.js/.sh files as executables). 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.
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 949: Address bar: &amp;quot;:p [width in milliInch]x[height]&amp;quot; to generate PDF in custom size</description>
946: Option &amp;quot;use offline cache&amp;quot; to support serverless local websites.
945: commands to support evaluation of generated js code.
943: Multiple home screens support .</description>
</item> </item>
<item> <item>

View file

@ -1 +1,10 @@
<meta http-equiv="refresh" content="0; url=en/index.html"> <!DOCTYPE html>
<html lang="en">
<head>
<title>en/</title>
<link rel="canonical" href="en/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=en/">
</head>
</html>

View file

@ -4,7 +4,7 @@
<sitemap> <sitemap>
<loc>en/sitemap.xml</loc> <loc>en/sitemap.xml</loc>
<lastmod>2023-01-08T00:00:00+00:00</lastmod> <lastmod>2023-01-16T00:00:00+00:00</lastmod>
</sitemap> </sitemap>

View file

@ -2,7 +2,7 @@
<script>function g(){ <script>function g(){
let d=document; let d=document;
let f=d.forms[0]; let f=d.forms[0];
d.location.href="i:19"; setTimeout(function(){ document.location.href="i:0i/data/data/info.torapp.uweb/files/home.css:"+f.b.value+":https://fastly.jsdelivr.net/gh/torappinfo/uweb/searchurl/template/home.css"; d.location.href="i:19"; setTimeout(function(){ document.location.href="i:0i/data/data/info.torapp.uweb/files/home.css:"+f.b.value+":https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/template/home.css";
},100); },100);
return false; return false;
} }

View file

@ -1,5 +1,6 @@
<style> <style>
a{color:inherit;text-decoration:inherit;}.O{display:none} a{color:inherit;text-decoration:inherit;}.O{display:none}
.se+.se:before{content:' • '}
.L{line-height:1;}.G{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr;}input{height:40px;width:100%;border-radius:50px;} .L{line-height:1;}.G{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr;}input{height:40px;width:100%;border-radius:50px;}
a.icon{display:inline-block;margin:0 10px 0 10px;text-align:center;}a.icon>img{width:40px;height:40px;font-size:28px;border-radius:20px;position:relative;}a.icon>img:after{content:attr(alt);font-size:28px;display:block;position:absolute;z-index:2;top:0;left:0;width:100%;height:100%;background-color:#fff;}a.icon>span{display:block;overflow:hidden;height:24px;line-height:24px;} a.icon{display:inline-block;margin:0 10px 0 10px;text-align:center;}a.icon>img{width:40px;height:40px;font-size:28px;border-radius:20px;position:relative;}a.icon>img:after{content:attr(alt);font-size:28px;display:block;position:absolute;z-index:2;top:0;left:0;width:100%;height:100%;background-color:#fff;}a.icon>span{display:block;overflow:hidden;height:24px;line-height:24px;}