rebuilding site Sat Jul 9 08:45:16 AM CST 2022

This commit is contained in:
James Feng Cao 2022-07-09 08:45:17 +08:00
parent 4608c0fc8d
commit e6a2e5d8d9
89 changed files with 530 additions and 478 deletions

View file

@ -40,18 +40,18 @@
<p>Javascript (load when page completes, earliest loaded JS should use sitecss).</p>
<ul>
<li>Need to be named as &quot;[domain root].js&quot;, such as &quot;yahoo.com.js&quot; or &quot;finance.yahoo.com.js&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.</li>
<li>Script must be put under the folder &quot;/sdcard/uweb/sitejs&quot; or &quot;/data/data/info.torapp.uweb/files/sitejs&quot;. The later folder has the priority.</li>
<li>Script must be put under the folder &quot;sitejs&quot; or &quot;/data/data/info.torapp.uweb/files/sitejs&quot;. The later folder has the priority.</li>
<li>Long press the button &quot;settings&quot;, check the option &quot;Run user scripts&quot;.</li>
<li>Support 2/3-segment domains. If the length of the last 2-segments of domain is less than 7 (ex. &quot;com.pl&quot;), then it is treated as one segment.</li>
</ul>
<p>CSS style and earliest loaded JS</p>
<ul>
<li>Need to be named as &quot;[domain root].css&quot;, such as yahoo.com.css or finance.yahoo.com.css。</li>
<li>Under folder &quot;/sdcard/uweb/sitecss&quot;.</li>
<li>Under folder &quot;sitecss&quot;.</li>
<li>&quot;[domain root].js&quot; is loaded at the earlieat time.</li>
<li>Long press the button &quot;settings&quot;, check the option &quot;Apply user styles&quot;.</li>
</ul>
<p>If file &quot;/sdcard/uweb/default.css&quot; exists, the style will be applied to all sites without matching [domain root].css.</p>
<p>If file &quot;default.css&quot; exists, the style will be applied to all sites without matching [domain root].css.</p>
<p>&quot;sitejs/.js&quot; , &quot;sitecss/.css&quot; and &quot;sitecss/.js&quot; are applied to all non-http urls (file urls etc.).</p>
</div>