index.html 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1" />
  6. <link rel="canonical" href="https://jamesfengcao.gitlab.io/uweb/en/input/" />
  7. <link rel="stylesheet" href="../style.css#" type="text/css" />
  8. <title>Common phrases for input method</title>
  9. <script>
  10. function findLang(){
  11. let href = location.href;
  12. for(let i=href.length-1;i>0;i--){
  13. if('/'==href.charAt(i) && '/'==href.charAt(i-3))
  14. return i;
  15. }
  16. return 0;
  17. }
  18. function nav2(page){
  19. let i = findLang();
  20. location.href = location.href.substring(0,i+1)+page;
  21. }
  22. function nav2Lang(lang){
  23. let i = findLang();
  24. let href = location.href;
  25. location.href = location.href.substring(0,i-2)+lang+location.href.substring(i);
  26. }
  27. </script>
  28. </head>
  29. <body>
  30. <header class='header'>
  31. <a class="logo" href="javascript:void(0)" onclick="return nav2('index.html#')">Home</a> <a class="logo" href="javascript:void(0)" onclick="return nav2('tags/index.html#')">Tags</a>
  32. <nav>
  33. </nav>
  34. </header>
  35. <br />
  36. <div class="container">
  37. <h1 class="title">Common phrases for input method
  38. <br>
  39. <span class="subtitle"></span>
  40. </h1>
  41. <ul class="tags">
  42. </ul>
  43. <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>
  44. <a href="i:0gdefault.input::@Newline@%0A">New line</a><br>
  45. <a href="i:0gdefault.input::@CTRL-Z@%1A%0A">CTRL-Z</a><br>
  46. <a href="i:0gdefault.input::@CTRL-Y@%19%0A">CTRL-Y</a></p>
  47. <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>
  48. </div>
  49. <p>Last Modified: 14 December 2024<br>
  50. Common phrases for input method<br>
  51. <pre></pre>
  52. </p>
  53. <script id='jsgiscus'
  54. src='https://giscus.app/client.js'
  55. data-repo="torappinfo/uweb"
  56. data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE="
  57. data-category="Announcements"
  58. data-category-id="DIC_kwDOEgNLGc4CQjsh"
  59. data-mapping="title"
  60. data-strict="0"
  61. data-reactions-enabled="1"
  62. data-emit-metadata="0"
  63. data-input-position="top"
  64. data-theme="light"
  65. data-lang="en"
  66. data-loading="lazy"
  67. crossorigin="anonymous" async>
  68. </script>
  69. <footer class="site-footer">
  70. <div class="container">
  71. &copy; 2018-2024 Richard H. Cao
  72. </div>
  73. </footer>
  74. <!-- This document is licensed under the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is available at <https://www.gnu.org/licenses/>. -->
  75. </body>
  76. </html>