index.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. <?xml version="1.0" encoding="utf-8" standalone="yes"?>
  2. <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  3. <channel>
  4. <title>_posts on </title>
  5. <link>/en/_posts/</link>
  6. <description>Recent content in _posts on </description>
  7. <generator>Hugo -- gohugo.io</generator>
  8. <lastBuildDate>Tue, 02 Aug 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/_posts/index.xml" rel="self" type="application/rss+xml" />
  9. <item>
  10. <title>Html5 applications</title>
  11. <link>/en/html5/</link>
  12. <pubDate>Tue, 02 Aug 2022 00:00:00 +0000</pubDate>
  13. <guid>/en/html5/</guid>
  14. <description>This page is for uweb browser.
  15. Html5 applications Click to install the following html5 apps:
  16. Huge markdown file viewer
  17. Huge markdeep file viewer (markdown, latex, diagram,graphviz etc.)
  18. plyr video player
  19. dplayer video player
  20. pdf viewer
  21. epub reader (author:llili)
  22. djvu viewer
  23. The corresponding menu can be installed with url services.
  24. Features The following mentioned subfolders locate in the configuration folder.
  25. All html5 applications locating in a subfolder whose name begins with &amp;quot;app&amp;quot; (such as &amp;quot;appPDF&amp;quot;) are allowed to read local files.</description>
  26. </item>
  27. <item>
  28. <title>Address bar command modes</title>
  29. <link>/en/acmd/</link>
  30. <pubDate>Sat, 30 Jul 2022 00:00:00 +0000</pubDate>
  31. <guid>/en/acmd/</guid>
  32. <description>Commands are the best for repeated execution of an instruction. Address bar command modes provide ways to run different commands in the same category easily.
  33. The configure file &amp;quot;default.acmd&amp;quot; has the exactly same format as default.cmds. Click the following links to install new modes (cold start the app to take effect, then long click the &amp;quot;refresh&amp;quot; botton to switch modes):
  34. Shell command mode
  35. &amp;lt;a href=&amp;quot;i:0gdefault.acmd::bc:text/plain:echo &amp;quot;%25s&amp;quot;|bc -l -q%0A&amp;quot;&amp;gt;GNU bc (basic calculator) command mode (need termux for Android 10- )</description>
  36. </item>
  37. <item>
  38. <title>Configuration folders/files</title>
  39. <link>/en/filenames/</link>
  40. <pubDate>Thu, 30 Jun 2022 00:00:00 +0000</pubDate>
  41. <guid>/en/filenames/</guid>
  42. <description>All folders end with character &amp;quot;/&amp;quot; and others are files. All folders/files locate in &amp;quot;/data/data/info.torapp.uweb/files&amp;quot;:
  43. &amp;quot;css/&amp;quot;: global css folder
  44. &amp;quot;js/&amp;quot;: global script folder
  45. &amp;quot;sitejs/&amp;quot;: script folder for domains
  46. &amp;quot;sitecss/&amp;quot;:CSS folder for domains
  47. &amp;quot;bookmarklet/&amp;quot;:bookmarklets, long pressing the &amp;quot;JS&amp;quot; button to execute.
  48. &amp;quot;offline/&amp;quot;: to save offline pages
  49. &amp;quot;sbookmark/&amp;quot;: to save super bookmarks
  50. &amp;quot;sitecache/&amp;quot;:offline cache
  51. &amp;quot;longclick/&amp;quot;: menus to appear when long-pressing hypertext (js files)
  52. &amp;quot;icon/&amp;quot;:customized icons
  53. &amp;quot;app[XXX]/&amp;quot;:html5 applications
  54. &amp;quot;default.longclick&amp;quot;: to configure menus when long-pressing hypertext.</description>
  55. </item>
  56. <item>
  57. <title>Links</title>
  58. <link>/en/links/</link>
  59. <pubDate>Thu, 30 Jun 2022 00:00:00 +0000</pubDate>
  60. <guid>/en/links/</guid>
  61. <description>Click the following links to install menus popped by long pressing the bookmark button (with star as icon):
  62. VPN
  63. Wait for network msg
  64. Certificate info
  65. Web fullscreen
  66. Long pressing the bookmark button in uweb browser will popup menus defined in file &amp;quot;default.link&amp;quot;. The file format is as follows:
  67. [Menu name]:[url][space][javascript code]
  68. in which space and later parts are optional. url and later parts support &amp;quot;%u&amp;quot;,&amp;quot;%s&amp;quot; etc.. The javascript code will be executed after url is fully loaded.</description>
  69. </item>
  70. <item>
  71. <title>AD blocking</title>
  72. <link>/en/adblock/</link>
  73. <pubDate>Sat, 25 Jun 2022 00:00:00 +0000</pubDate>
  74. <guid>/en/adblock/</guid>
  75. <description>Host blocking。
  76. Use bookmarklet &amp;quot;list all script urls&amp;quot; to generate url links, long pressing dubious script (usually 3rd-party library) link, click &amp;quot;Block domain root&amp;quot;. Javascript and CSS for domains。
  77. Long press the button &amp;quot;js&amp;quot;, click the menu &amp;quot;MarkAD mode&amp;quot;. In &amp;quot;markAD mode&amp;quot;, click page element to show all attributes and generate CSS AD blocking styles. By default, &amp;quot;display:none&amp;quot; is used. If &amp;quot;display&amp;quot; appears in the attribute information, recommend to use &amp;quot;transform:scale(0)!</description>
  78. </item>
  79. <item>
  80. <title>Bookmarklets</title>
  81. <link>/en/bookmarklet/</link>
  82. <pubDate>Fri, 24 Jun 2022 00:00:00 +0000</pubDate>
  83. <guid>/en/bookmarklet/</guid>
  84. <description>With a href=&amp;quot;../index.html&amp;quot;&amp;gt;uweb browser, long pressing any bookmarklet link, click &amp;quot;Open in new tab&amp;quot;, the bookmarklet will be run on the last other tab.
  85. List all script urls
  86. User agent
  87. Cookie
  88. Source code
  89. Last modified date
  90. Eruda: mobile console
  91. QR code generation
  92. Use &amp;quot;GET&amp;quot; method for &amp;quot;POST&amp;quot;
  93. Shows all form elements
  94. Enables all form elements
  95. Toggle checkboxes
  96. Check all checkboxes
  97. Uncheck all checkboxes
  98. Toggle all checkboxes in forms
  99. Enable selection</description>
  100. </item>
  101. <item>
  102. <title>Text selection</title>
  103. <link>/en/pccopy/</link>
  104. <pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
  105. <guid>/en/pccopy/</guid>
  106. <description>Click the following links to install menus for long pressing the button &amp;quot;link&amp;quot;:
  107. google Translate
  108. bing translate
  109. deepL
  110. The file &amp;quot;default.select&amp;quot; defines menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:
  111. [Name]:[mimetype]:[command line]
  112. [mimetype] specifies input/output for [command line].
  113. It formats as &amp;quot;[input mimetype]/[output mimetype]&amp;quot;.
  114. [input mimetype] can be the following:
  115. &amp;quot;html&amp;quot;: rich text &amp;quot;&amp;quot; (empty): text &amp;quot;.</description>
  116. </item>
  117. <item>
  118. <title>CSS styles</title>
  119. <link>/en/globalcss/</link>
  120. <pubDate>Sun, 03 Apr 2022 00:00:00 +0000</pubDate>
  121. <guid>/en/globalcss/</guid>
  122. <description>Uweb browser loads all &amp;quot;.css&amp;quot; files under the folder &amp;quot;css&amp;quot; as global css. Click the following links to install global css files:
  123. Clearing font settings
  124. The file &amp;quot;night.css&amp;quot; is used as night mode, click the following links to install one:
  125. webview 81+ night mode
  126. webview 80- night mode</description>
  127. </item>
  128. <item>
  129. <title>Toolbar customization</title>
  130. <link>/en/icons/</link>
  131. <pubDate>Sun, 06 Feb 2022 00:00:00 +0000</pubDate>
  132. <guid>/en/icons/</guid>
  133. <description>If subfolder &amp;quot;icon&amp;quot; exists, then files named as &amp;quot;0&amp;quot;,&amp;quot;1&amp;quot;,&amp;quot;2&amp;quot;...
  134. are used for icons in the bottom toolbar. file &amp;quot;0&amp;quot; to replace the left arrow button, &amp;quot;1&amp;quot; for right arrow button, &amp;quot;2&amp;quot; for the setting button,&amp;quot;3&amp;quot; for the home screen button,...
  135. If a new button is defined (file name &amp;quot;20&amp;quot; exists), uweb also supports VectorDrawable with &amp;quot;android compiled XML&amp;quot; format. All icon files must be all VectorDrawables or 此时所有图标文件必须都是compiled XML格式,或都是普通的图像格式(png,jpg,gif等)。用户可将VectorDrawable XML文件放到安卓项目目录assets下面,重新生成apk文件以后将apk文件解压即可得compiled XML格式图标文件。</description>
  136. </item>
  137. <item>
  138. <title>Termux</title>
  139. <link>/en/termux/</link>
  140. <pubDate>Sat, 01 Jan 2022 00:00:00 +0000</pubDate>
  141. <guid>/en/termux/</guid>
  142. <description>Only the termux versions provided along with uweb browser can work seamlessly.
  143. Termux bookmarks Long pressing the following links then either &amp;quot;commands&amp;quot;-&amp;gt;&amp;quot;bookmark&amp;quot; to add bookmarks or &amp;quot;open in new tab&amp;quot; to execute.
  144. GNU bc (basic calculator)
  145. bc with all extensions
  146. Click the following links to install termux configurations: .bashrc
  147. .inputrc
  148. z.sh
  149. commacd.sh
  150. .profile : only for kshell with naked termux (no initial packages, need the following fix for termux quick crash to be launched)</description>
  151. </item>
  152. <item>
  153. <title>Long pressed link menu</title>
  154. <link>/en/longclick/</link>
  155. <pubDate>Fri, 06 Nov 2020 00:00:00 +0000</pubDate>
  156. <guid>/en/longclick/</guid>
  157. <description>To run commands Each line of file &amp;quot;default.longclick&amp;quot; has the following format: (same as default.cmds)
  158. [Name]:[mimetype]:[command line]
  159. in which [command line] can have &amp;quot;%c&amp;quot; (cookie), &amp;quot;%u&amp;quot; (current url), &amp;quot;%t&amp;quot; (title) etc.
  160. To visit url and load javascript file All &amp;quot;.js&amp;quot; files under the folder &amp;quot;longclick&amp;quot; are part of the popup menu.
  161. These javascript files are in the following format:
  162. The very first line can begin with &amp;quot;//&amp;quot; followed by website url that can have &amp;quot;%u&amp;quot; (current url), &amp;quot;%t&amp;quot; (title) etc.</description>
  163. </item>
  164. <item>
  165. <title>Custom file handling</title>
  166. <link>/en/filecap/</link>
  167. <pubDate>Mon, 24 Aug 2020 00:00:00 +0000</pubDate>
  168. <guid>/en/filecap/</guid>
  169. <description>Long press the settings button, check the option &amp;quot;custom file handling&amp;quot; to enable the functionality.
  170. The custom file handling configuration file is &amp;quot;default.filecap&amp;quot;, each line of it has the format as follows:
  171. [file extension]:[mimetype]:[command line]
  172. The &amp;quot;[file extension]&amp;quot; part can have at most two-segment of extensions such as &amp;quot;txt.xz&amp;quot;,&amp;quot;html.gz&amp;quot;.
  173. &amp;quot;[mimetype]&amp;quot; indicates the type of &amp;quot;[command line]&amp;quot; output.
  174. &amp;quot;[command line]&amp;quot; is same as the one in default.cmds. The most often used replacements are:</description>
  175. </item>
  176. <item>
  177. <title>Gestures</title>
  178. <link>/en/gesture/</link>
  179. <pubDate>Thu, 18 Jun 2020 00:00:00 +0000</pubDate>
  180. <guid>/en/gesture/</guid>
  181. <description>Swipe down from the top to show the address bar; swipe up to the top to hide the address bar. Swipe down to the bottom to hide the toolbar with option &amp;quot;swipe to hide tools&amp;quot;; swipe on the bottom corners to show the toolbar.
  182. Swipe left/right near the toolbar to switch window; fling left/right to switch to the last/first window.
  183. Swiping on the top part of content window (near the top address bar by default) triggers corresponding link in the file &amp;quot;default.</description>
  184. </item>
  185. <item>
  186. <title>Blocking domain trees</title>
  187. <link>/en/adblock_domain/</link>
  188. <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
  189. <guid>/en/adblock_domain/</guid>
  190. <description>hosts blocks whole domain trees including all descedant domains. The domains in the hosts file must be 2 or 3 segment domains, such as &amp;quot;yahoo.com&amp;quot; and &amp;quot;finance.yahoo.com&amp;quot;. If the length of the last 2 segments is less than 7, such as &amp;quot;com.pl&amp;quot;, then it is treated as one segment, so domains like &amp;quot;xxx.xxx.com.pl&amp;quot; are also valid in the hosts file.
  191. Each line of the hosts file has the following format:</description>
  192. </item>
  193. <item>
  194. <title>Javascript and CSS for domains</title>
  195. <link>/en/sitejs/</link>
  196. <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
  197. <guid>/en/sitejs/</guid>
  198. <description>Javascript (load when page completes, earliest loaded JS should use sitecss).
  199. Need to be named as &amp;quot;[domain root].js&amp;quot;, such as &amp;quot;yahoo.com.js&amp;quot; or &amp;quot;finance.yahoo.com.js&amp;quot;. The script will be loaded on the whole domain tree sites. If several files matches the domain, then the script with longest file name is loaded. Script must be put under the folder &amp;quot;sitejs&amp;quot; or &amp;quot;/data/data/info.torapp.uweb/files/sitejs&amp;quot;. The later folder has the priority. Long press the button &amp;quot;settings&amp;quot;, check the option &amp;quot;Run user scripts&amp;quot;.</description>
  200. </item>
  201. </channel>
  202. </rss>