enable address bar as IME

This commit is contained in:
James Feng Cao 2025-10-13 20:39:22 +08:00
commit ecdb762bb4
6 changed files with 16 additions and 16 deletions

View file

@ -6,14 +6,14 @@
<description>Recent content in _Posts on uweb browser: unlimited power</description>
<generator>Hugo</generator>
<language>en</language>
<lastBuildDate>Mon, 13 Oct 2025 20:25:21 +0800</lastBuildDate>
<lastBuildDate>Mon, 13 Oct 2025 20:37:41 +0800</lastBuildDate>
<atom:link href="https://jamesfengcao.gitlab.io/uweb/en/_posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Common phrases and input method enhancement</title>
<title>Phrases and input method</title>
<link>https://jamesfengcao.gitlab.io/uweb/en/input/</link>
<pubDate>Sun, 12 Oct 2025 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitlab.io/uweb/en/input/</guid>
<description>&lt;h4 id=&#34;defaultinput&#34;&gt;&amp;quot;default.input&amp;quot;&lt;/h4&gt;&#xA;&lt;p&gt;Click the following links to install menus popped by long pressing the share button (with arrow-out-of-square as icon) on the bottom toolbar:&lt;br&gt;&#xA;&lt;a href=&#34;i:0gdefault.input::@AddrBar%0A&#34;&gt;Address Bar&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;i:0gdefault.input::@^J@%0A&#34;&gt;New line&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;i:0gdefault.input::@^Z@%1A%0A&#34;&gt;CTRL-Z&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;i:0gdefault.input::@^Y@%19%0A&#34;&gt;CTRL-Y&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Long pressing the share button in &lt;a href=&#34;../index.html#&#34;&gt;uweb browser&lt;/a&gt; will popup menus defined in file &amp;quot;default.input&amp;quot;, each line of which defines common phrase for user inputs. If the phrase begins with &amp;quot;@xxxx@&amp;quot;, then &amp;quot;xxxx&amp;quot; part is the alias for the rest part of the string. Alias could be used for non-printable phrases.&lt;/p&gt;</description>
<description>&lt;h4 id=&#34;defaultinput&#34;&gt;&amp;quot;default.input&amp;quot;&lt;/h4&gt;&#xA;&lt;p&gt;Click the following links to install menus popped by long pressing the share button (with arrow-out-of-square as icon) on the bottom toolbar:&lt;br&gt;&#xA;&lt;a href=&#34;i:0gdefault.input::@AddrBar%0A&#34;&gt;Address Bar&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;i:0gdefault.input::@^J@%0A&#34;&gt;New line&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;i:0gdefault.input::@^Z@%1A%0A&#34;&gt;CTRL-Z: undo&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;i:0gdefault.input::@^Y@%19%0A&#34;&gt;CTRL-Y: redo&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Long pressing the share button in &lt;a href=&#34;../index.html#&#34;&gt;uweb browser&lt;/a&gt; will popup menus defined in file &amp;quot;default.input&amp;quot;, each line of which defines common phrase for user inputs. If the phrase begins with &amp;quot;@xxxx@&amp;quot;, then &amp;quot;xxxx&amp;quot; part is the alias for the rest part of the string. Alias could be used for non-printable phrases.&lt;/p&gt;</description>
</item>
<item>
<title>Tips</title>

View file

@ -99,7 +99,7 @@
<li class="post">
<a href="input/index.html#">
<span>Common phrases and input method enhancement</span>
<span>Phrases and input method</span>
</a>
</li>

View file

@ -6,14 +6,14 @@
<description>Recent content on uweb browser: unlimited power</description>
<generator>Hugo</generator>
<language>en</language>
<lastBuildDate>Mon, 13 Oct 2025 20:25:21 +0800</lastBuildDate>
<lastBuildDate>Mon, 13 Oct 2025 20:37:41 +0800</lastBuildDate>
<atom:link href="https://jamesfengcao.gitlab.io/uweb/en/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Common phrases and input method enhancement</title>
<title>Phrases and input method</title>
<link>https://jamesfengcao.gitlab.io/uweb/en/input/</link>
<pubDate>Sun, 12 Oct 2025 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitlab.io/uweb/en/input/</guid>
<description>&lt;h4 id=&#34;defaultinput&#34;&gt;&amp;quot;default.input&amp;quot;&lt;/h4&gt;&#xA;&lt;p&gt;Click the following links to install menus popped by long pressing the share button (with arrow-out-of-square as icon) on the bottom toolbar:&lt;br&gt;&#xA;&lt;a href=&#34;i:0gdefault.input::@AddrBar%0A&#34;&gt;Address Bar&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;i:0gdefault.input::@^J@%0A&#34;&gt;New line&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;i:0gdefault.input::@^Z@%1A%0A&#34;&gt;CTRL-Z&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;i:0gdefault.input::@^Y@%19%0A&#34;&gt;CTRL-Y&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Long pressing the share button in &lt;a href=&#34;../index.html#&#34;&gt;uweb browser&lt;/a&gt; will popup menus defined in file &amp;quot;default.input&amp;quot;, each line of which defines common phrase for user inputs. If the phrase begins with &amp;quot;@xxxx@&amp;quot;, then &amp;quot;xxxx&amp;quot; part is the alias for the rest part of the string. Alias could be used for non-printable phrases.&lt;/p&gt;</description>
<description>&lt;h4 id=&#34;defaultinput&#34;&gt;&amp;quot;default.input&amp;quot;&lt;/h4&gt;&#xA;&lt;p&gt;Click the following links to install menus popped by long pressing the share button (with arrow-out-of-square as icon) on the bottom toolbar:&lt;br&gt;&#xA;&lt;a href=&#34;i:0gdefault.input::@AddrBar%0A&#34;&gt;Address Bar&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;i:0gdefault.input::@^J@%0A&#34;&gt;New line&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;i:0gdefault.input::@^Z@%1A%0A&#34;&gt;CTRL-Z: undo&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;i:0gdefault.input::@^Y@%19%0A&#34;&gt;CTRL-Y: redo&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Long pressing the share button in &lt;a href=&#34;../index.html#&#34;&gt;uweb browser&lt;/a&gt; will popup menus defined in file &amp;quot;default.input&amp;quot;, each line of which defines common phrase for user inputs. If the phrase begins with &amp;quot;@xxxx@&amp;quot;, then &amp;quot;xxxx&amp;quot; part is the alias for the rest part of the string. Alias could be used for non-printable phrases.&lt;/p&gt;</description>
</item>
<item>
<title>Tips</title>

View file

@ -6,7 +6,7 @@
<link rel="canonical" href="https://jamesfengcao.gitlab.io/uweb/en/input/" />
<link rel="stylesheet" href="../style.css#" type="text/css" />
<title>Common phrases and input method enhancement</title>
<title>Phrases and input method</title>
<script>
function findLang(){
let href = location.href;
@ -37,7 +37,7 @@
<br />
<div class="container">
<h1 class="title">Common phrases and input method enhancement
<h1 class="title">Phrases and input method
<br>
<span class="subtitle"></span>
</h1>
@ -48,11 +48,11 @@
<p>Click the following links to install menus popped by long pressing the share button (with arrow-out-of-square as icon) on the bottom toolbar:<br>
<a href="i:0gdefault.input::@AddrBar%0A">Address Bar</a><br>
<a href="i:0gdefault.input::@^J@%0A">New line</a><br>
<a href="i:0gdefault.input::@^Z@%1A%0A">CTRL-Z</a><br>
<a href="i:0gdefault.input::@^Y@%19%0A">CTRL-Y</a></p>
<a href="i:0gdefault.input::@^Z@%1A%0A">CTRL-Z: undo</a><br>
<a href="i:0gdefault.input::@^Y@%19%0A">CTRL-Y: redo</a></p>
<p>Long pressing the share button in <a href="../index.html#">uweb browser</a> will popup menus defined in file &quot;default.input&quot;, each line of which defines common phrase for user inputs. If the phrase begins with &quot;@xxxx@&quot;, then &quot;xxxx&quot; part is the alias for the rest part of the string. Alias could be used for non-printable phrases.</p>
<h4 id="long-text-can-be-kept-as-txt-file">Long text can be kept as txt file</h4>
<p>Click the following links to install menus displayed by long pressing the bookmark button (with star as icon) <a href="../links/index.html#">details</a>:<br>
<p>Click the following links to install menus displayed by long pressing the <a href="../links/index.html#">bookmark button</a> (with star as icon):<br>
<a href="i:0gdefault.link::Input::cinput%0A">Select utf8 text file as keyboard input</a></p>
<h4 id="address-bar-autocompletion-as-input-method-when-starting-with-space">Address bar autocompletion as input method when starting with space</h4>
<p>&quot;default.autoc&quot; or other .autoc files when <a href="../tips/index.html#">choosen</a> are loaded for address bar autocompletion. If the address bar text starts with space, the selected text is treated as user input for focused element in the visible tab.</p>

View file

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://jamesfengcao.gitlab.io/uweb/en/_posts/</loc>
<lastmod>2025-10-13T20:25:21+08:00</lastmod>
<lastmod>2025-10-13T20:37:41+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -16,10 +16,10 @@
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/en/input/</loc>
<lastmod>2025-10-13T20:25:21+08:00</lastmod>
<lastmod>2025-10-13T20:37:41+08:00</lastmod>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/en/</loc>
<lastmod>2025-10-13T20:25:21+08:00</lastmod>
<lastmod>2025-10-13T20:37:41+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"

View file

@ -4,7 +4,7 @@
<sitemap>
<loc>https://jamesfengcao.gitlab.io/uweb/en/sitemap.xml</loc>
<lastmod>2025-10-13T20:25:21+08:00</lastmod>
<lastmod>2025-10-13T20:37:41+08:00</lastmod>
</sitemap>