<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Css on uweb browser: unlimited power</title>
    <link>/en/tags/css/</link>
    <description>Recent content in Css on uweb browser: unlimited power</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Tue, 02 Apr 2024 11:45:19 +0800</lastBuildDate>
    <atom:link href="/en/tags/css/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>JS/CSS/HTML/preprocessing for domains</title>
      <link>/en/sitejs/</link>
      <pubDate>Sat, 28 Jan 2023 00:00:00 +0000</pubDate>
      <guid>/en/sitejs/</guid>
      <description>&lt;h3 id=&#34;javascript-load-when-page-completes-earliest-loaded-js-should-use-sitecss&#34;&gt;Javascript (load when page completes, earliest loaded JS should use sitecss).&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;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.&lt;/li&gt;&#xA;&lt;li&gt;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.&lt;/li&gt;&#xA;&lt;li&gt;Long press the button &amp;quot;settings&amp;quot;, check the option &amp;quot;Run user scripts&amp;quot;.&lt;/li&gt;&#xA;&lt;li&gt;Support 2/3-segment domains. If the length of the last 2-segments of domain is less than 7 (ex. &amp;quot;com.pl&amp;quot;), then it is treated as one segment.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;css-style-and-earliest-loaded-js&#34;&gt;CSS style and earliest loaded JS&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Need to be named as &amp;quot;[domain root].css&amp;quot;, such as yahoo.com.css or finance.yahoo.com.css。&lt;/li&gt;&#xA;&lt;li&gt;Under folder &amp;quot;sitecss&amp;quot;.&lt;/li&gt;&#xA;&lt;li&gt;&amp;quot;[domain root].js&amp;quot; is loaded at the earliest time.&lt;/li&gt;&#xA;&lt;li&gt;Long press the button &amp;quot;settings&amp;quot;, check the option &amp;quot;Apply user styles&amp;quot;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;If file &amp;quot;default.css&amp;quot; exists, the style will be applied to all sites not matching [domain root].css.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
