5 <meta name=
"viewport" content=
"width=device-width, initial-scale=1" />
6 <link rel=
"canonical" href=
"https://jamesfengcao.gitlab.io/uweb/en/filenames/" />
8 <link rel=
"stylesheet" href=
"../style.css#" type=
"text/css" />
9 <title>Configuration folders/files
</title>
12 let href
= location
.href
;
13 for(let i
=href
.length
-1;i
>0;i
--){
14 if('/'==href
.charAt(i
) && '/'==href
.charAt(i
-3))
21 location
.href
= location
.href
.substring(0,i
+1)+page
;
23 function nav2Lang(lang
){
25 let href
= location
.href
;
26 location
.href
= location
.href
.substring(0,i
-2)+lang
+location
.href
.substring(i
);
31 <header class='header'
>
32 <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>
35 <a class=
"logo" href=
"javascript:void(0)" onclick=
"return nav2Lang('zh')">简体中文
</a>
43 <div class=
"container">
44 <h1 class=
"title">Configuration folders/files
46 <span class=
"subtitle"></span>
51 <p>All folders end with character
"/
" and others are files. All folders/files locate in
"/data/data/info.torapp.uweb/files
":
<br>
52 "<a href=
"file:///data/data/info.torapp.uweb/files/css/">css/
</a>":
<a href=
"../globalcss/index.html#">global css folder
</a><br>
53 "<a href=
"file:///data/data/info.torapp.uweb/files/js/">js/
</a>":
<a href=
"../rjs/index.html#">global script folder
</a><br>
54 "<a href=
"file:///data/data/info.torapp.uweb/files/sitejs/">sitejs/
</a>":
<a href=
"../sitejs/index.html#">script folder for domains
</a><br>
55 "<a href=
"file:///data/data/info.torapp.uweb/files/sitecss/">sitecss/
</a>":
<a href=
"../sitejs/index.html#">CSS folder for domains
</a><br>
56 "<a href=
"file:///data/data/info.torapp.uweb/files/bookmarklet/">bookmarklet/
</a>":
<a href=
"../rjs/index.html#">bookmarklets
</a>, long pressing the
"JS
" button to execute.
<br>
57 "<a href=
"file:///data/data/info.torapp.uweb/files/offline/">offline/
</a>": to save offline pages
<br>
58 "<a href=
"file:///data/data/info.torapp.uweb/files/sbookmark/">sbookmark/
</a>": to save super bookmarks
<br>
59 "<a href=
"file:///data/data/info.torapp.uweb/files/sitecache/">sitecache/
</a>":
<a href=
"../offlinecache/index.html#">offline cache
</a><br>
60 "<a href=
"file:///data/data/info.torapp.uweb/files/longclick/">longclick/
</a>": menus to appear when long-pressing hypertext (js files)
<br>
61 "<a href=
"file:///data/data/info.torapp.uweb/files/icon/">icon/
</a>":
<a href=
"../icons/index.html#">customized icons
</a><br>
62 "app[XXX]/
":
<a href=
"../html5/index.html#">html5 applications
</a><br>
63 "<a href=
"file:///data/data/info.torapp.uweb/files/default.longclick">default.longclick
</a>": to configure menus when long-pressing hypertext.
<br>
64 "<a href=
"file:///data/data/info.torapp.uweb/files/default.uas">default.uas
</a>":
<a href=
"../searchurl/uas.html">user agents
</a><br>
65 "<a href=
"file:///data/data/info.torapp.uweb/files/default.urls">default.urls
</a>":
<a href=
"../urls/index.html#">service urls
</a><br>
66 "<a href=
"file:///data/data/info.torapp.uweb/files/default.acmd">default.acmd
</a>":
<a href=
"../gnuplot/index.html#">configure address bar functionalities
</a><br>
67 "<a href=
"file:///data/data/info.torapp.uweb/files/hosts">hosts
</a>": for local
<a href=
"../adblock_domain/index.html#">domain name attributes
</a>, only single space is allowed to separate ip address and domain name.
<br>
68 "<a href=
"file:///data/data/info.torapp.uweb/files/default.hosts">default.hosts
</a>":
<a href=
"../adblock_hosts/index.html#">hosts not allowed to visit
</a><br>
69 "<a href=
"file:///data/data/info.torapp.uweb/files/default.redirect">default.redirect
</a>":
<a href=
"../redirect/index.html#">redirect websites
</a><br>
70 "<a href=
"file:///data/data/info.torapp.uweb/files/default.cmds">default.cmds
</a>":
<a href=
"../cmds/index.html#">commands
</a><br>
71 "<a href=
"i:5gfile:///data/data/info.torapp.uweb/files/default.link">default.link
</a>:
<a href=
"../links/index.html#">links
</a><br>
72 "<a href=
"file:///data/data/info.torapp.uweb/files/default.rjs">default.rjs
</a>":
<a href=
"../rjs/index.html#">Remote javascript
</a><br>
73 "<a href=
"file:///data/data/info.torapp.uweb/files/default.select">default.select
</a>":
<a href=
"../textprocess/index.html#">menus for selected text
</a><br>
74 "<a href=
"i:5gfile:///data/data/info.torapp.uweb/files/default.input">default.input
</a>:
<a href=
"../input/index.html#">common phrases for user inputs
</a>. If the phrase begins with
"@xxxx@
", then
"xxxx
" part is the alias for the rest part of the string. Alias could be used for non-printable phrase.
<br>
75 "<a href=
"file:///data/data/info.torapp.uweb/files/default.gesture">default.gesture
</a>": to define
<a href=
"../gesture/index.html#">gestures on the top part of the content window
</a>. The file format is same as
<a href=
"../links/index.html">default.link
</a>,
<br>
76 "<a href=
"file:///data/data/info.torapp.uweb/files/default.gesture2">default.gesture2
</a>": gestures on the right side similar to default.gesture.
<br>
77 "<a href=
"file:///data/data/info.torapp.uweb/files/default.button">default.button
</a>": to re-define button pressing functionalities. The file format is same as
<a href=
"../links/index.html#">default.link
</a>, each line represents action from the last button to the first.
<br>
78 "<a href=
"file:///data/data/info.torapp.uweb/files/default.button2">default.button2
</a>": similar to default.button but for long-pressed buttons.
<br>
79 "<a href=
"file:///data/data/info.torapp.uweb/files/default.filecap">default.filecap
</a>":
<a href=
"../filecap/index.html#">custom file handling
</a><br>
80 "<a href=
"file:///data/data/info.torapp.uweb/files/default.rc">default.rc
</a>": check the option
"custom file handling
" to execute the shell script file during uweb launching.
<a href=
"../tools/index.html#">tcron
</a> provides extra cron tools.
<br>
81 "<a href=
"file:///data/data/info.torapp.uweb/files/default.rc2">default.rc2
</a>": check the option
"custom file handling
" to execute the shell script file when uweb returns to foreground.
<br>
82 "<a href=
"file:///data/data/info.torapp.uweb/files/crontab">crontab
</a>":
<br>
83 "<a href=
"file:///data/data/info.torapp.uweb/files/engine.search">engine.search
</a>": to define quick search engines (pressing right arrow button to use next engine to search). The file format is similar to
<a href=
"../search/index.html#">home5.search
</a> but using
"%s
" as search keywords. If the search engine urls in
"engine.search
" are video urls (without %s inside), the file will make uweb browser optimized for TV watching with remote control.
<br>
84 "<a href=
"file:///data/data/info.torapp.uweb/files/default.siteconf">default.siteconf
</a>": to save ua, js disabling, no-image mode, forbids
3rd-party resources (js and others), active scripts, global scripts for sites. Only save the difference to default ones.
<br>
85 "<a href=
"file:///data/data/info.torapp.uweb/files/default.playrate">default.playrate
</a>": fullscreen playing menu. The file format is same as
<a href=
"../links/index.html#">default.link
</a>. Playing ratio menu items should have empty link parts such as
".5x:
", at least one such menu is required. All other menus must be put after playing ratio menus.
<br>
86 "<a href=
"file:///data/data/info.torapp.uweb/files/default.autoc">default.autoc
</a>": address bar autocomplete candidate strings.
<br>
87 "<a href=
"file:///data/data/info.torapp.uweb/files/query.autoc">query.autoc
</a>": home screen search autocomplete candidate strings.
<br>
88 "<a href=
"file:///data/data/info.torapp.uweb/files/home5.html">home5.html
</a>": user defined home screen. home6.mht(or .search or .html), home7.mht(or .search or .html) ... multiple home screen (pressing right arrow button to visit); home4.mht(or .search or .html), home3.mht(or .html or .search) ... (long pressing left arrow button to access).
<br>
89 "<a href=
"file:///data/data/info.torapp.uweb/files/home5.search">home5.search
</a>":
<a href=
"../search/index.html#">search engines
</a><br>
90 "<a href=
"file:///data/data/info.torapp.uweb/files/home.css">home.css
</a>":
<span style=
"color:red">html
</span> file for
<a href=
"../bookmark/index.html#">folder/home screen/bookmark styling
</a>, so the css code needs to be inside
"<style
>" elements. Each
"home.css
" file is responsible for the current folder and its subfolders.
<br>
91 "<a href=
"file:///data/data/info.torapp.uweb/files/bookmark.html">bookmark.html
</a>": bookmarks
<br>
92 "<a href=
"file:///data/data/info.torapp.uweb/files/quickstart.html">quickstart.html
</a>": quick start icons on the home screen.
<br>
93 "<a href=
"file:///data/data/info.torapp.uweb/files/colors.txt">colors.txt
</a>": background colors
<br>
94 "<a href=
"file:///data/data/info.torapp.uweb/files/default.css">default.css
</a>":
<a href=
"../sitejs/index.html#">default CSS style for domains not defined in sitejs folder
</a><br>
95 "<a href=
"file:///data/data/info.torapp.uweb/files/night.css">night.css
</a>":
<a href=
"../globalcss/index.html#">Night mode
</a><br>
96 "bookmarklet/videoplayer.js
":
<a href=
"../video/index.html#">fullscreen video player
</a><br>
97 "<a href=
"file:///data/data/info.torapp.uweb/files/help_en.html">help_en.html
</a>": It is shown before the English manual when pressing the setting button.
<br>
98 "<a href=
"file:///data/data/info.torapp.uweb/files/help_zh.html">help_zh.html
</a>": It is shown before the Chinese manual when pressing the setting button.
<br>
99 "<a href=
"file:///data/data/info.torapp.uweb/files/types.sniff">types.sniff
</a>": file types for resource sniffer
<br>
100 "<a href=
"file:///data/data/info.torapp.uweb/files/js.allow">js.allow
</a>":
3rd-party resource white list. One domain per line.
<br>
101 "<a href=
"file:///data/data/info.torapp.uweb/files/url.deny">url.deny
</a>": one giant regular expression for blocked urls (java grammar).
"#
" to comment and carriage return (CR or new line) is ignored.
<br>
102 "<a href=
"file:///data/data/info.torapp.uweb/files/sniff.log">sniff.log
</a>": resource sniffing result
<br>
103 "<a href=
"file:///data/data/info.torapp.uweb/files/history.rec">history.rec
</a>": visiting history
<br>
104 "<a href=
"file:///data/data/info.torapp.uweb/files/query.rec">query.rec
</a>": query history
</p>
105 <p>"<a href=
"file:///data/data/info.torapp.uweb/files/shortcut/">shortcut/
</a>": dynamical shortcut, if not exist, then default to
"bookmark
".
</p>
108 <p>Last Modified:
15 December
2024<br>
113 <script id='jsgiscus'
114 src='https://giscus.app/client.js'
115 data-repo=
"torappinfo/uweb"
116 data-repo-id=
"MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE="
117 data-category=
"Announcements"
118 data-category-id=
"DIC_kwDOEgNLGc4CQjsh"
121 data-reactions-enabled=
"1"
122 data-emit-metadata=
"0"
123 data-input-position=
"top"
127 crossorigin=
"anonymous" async
>
130 <footer class=
"site-footer">
131 <div class=
"container">
132 © 2018-
2024 Richard H. Cao
135 <!-- 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/>. -->