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>
<description>Recent content in _posts on uweb browser</description>
<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>
<title>Address bar command line</title>
<link>/en/acmd/</link>
@ -140,7 +155,8 @@ Enable selection</description>
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):
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>
@ -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>
</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>
<title>Long pressed link menu</title>
<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>
<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>
<p>Use the file &quot;home.css&quot; in the same folder to style the search engines.</p>
<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>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://sourceforge.net/projects/uwebbrowser/files/v1/">sourceforge</a></p>
<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>
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>

View file

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

View file

@ -5,7 +5,22 @@
<link>/en/</link>
<description>Recent content on uweb browser</description>
<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>
<title>Address bar command line</title>
<link>/en/acmd/</link>
@ -69,12 +84,10 @@ uweb, termux &amp;amp; history versions
github
pagure
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
949: Address bar: &amp;quot;:p [width in milliInch]x[height]&amp;quot; to generate PDF in custom size
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>
949: Address bar: &amp;quot;:p [width in milliInch]x[height]&amp;quot; to generate PDF in custom size</description>
</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
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
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>
@ -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>
</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>
<title>Long pressed link menu</title>
<link>/en/longclick/</link>

View file

@ -2,7 +2,7 @@
<script>function g(){
let d=document;
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);
return false;
}

View file

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>/en/_posts/</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"
@ -15,11 +15,21 @@
href="/en/_posts/"
/>
</url><url>
<loc>/en/acmd/</loc>
<lastmod>2023-01-08T00:00:00+00:00</lastmod>
<loc>/en/tips/</loc>
<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>
<loc>/en/</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"
@ -30,6 +40,9 @@
hreflang="en"
href="/en/"
/>
</url><url>
<loc>/en/acmd/</loc>
<lastmod>2023-01-08T00:00:00+00:00</lastmod>
</url><url>
<loc>/en/offlinecache/</loc>
<lastmod>2022-11-25T00:00:00+00:00</lastmod>
@ -360,19 +373,6 @@
</url><url>
<loc>/en/termux/</loc>
<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>
<loc>/en/longclick/</loc>
<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>
<p><strong>Playing audio when screen off</strong><br>
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>
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>

View file

@ -17,12 +17,10 @@ uweb, termux &amp;amp; history versions
github
pagure
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
949: Address bar: &amp;quot;:p [width in milliInch]x[height]&amp;quot; to generate PDF in custom size
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>
949: Address bar: &amp;quot;:p [width in milliInch]x[height]&amp;quot; to generate PDF in custom size</description>
</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>
<loc>en/sitemap.xml</loc>
<lastmod>2023-01-08T00:00:00+00:00</lastmod>
<lastmod>2023-01-16T00:00:00+00:00</lastmod>
</sitemap>

View file

@ -2,7 +2,7 @@
<script>function g(){
let d=document;
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);
return false;
}

View file

@ -1,5 +1,6 @@
<style>
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;}
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;}