diff --git a/en/_posts/index.xml b/en/_posts/index.xml index 76a4f378..432c0822 100644 --- a/en/_posts/index.xml +++ b/en/_posts/index.xml @@ -5,7 +5,16 @@ /en/_posts/ Recent content in _posts on uweb browser Hugo -- gohugo.io - Mon, 16 Jan 2023 00:00:00 +0000 + Sat, 28 Jan 2023 00:00:00 +0000 + + JS/CSS/HTML/preprocessing for domains + /en/sitejs/ + Sat, 28 Jan 2023 00:00:00 +0000 + + /en/sitejs/ + Javascript (load when page completes, earliest loaded JS should use sitecss). Need to be named as "[domain root].js", such as "yahoo.com.js" or "finance.yahoo.com.js". 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 "sitejs" or "/data/data/info.torapp.uweb/files/sitejs". The later folder has the priority. Long press the button "settings", check the option "Run user scripts". + + Tips /en/tips/ @@ -319,14 +328,5 @@ Swiping on the top part of content window (near the top address bar by default) Each line of the hosts file has the following format: - - Javascript and CSS for domains - /en/sitejs/ - Mon, 01 Jan 0001 00:00:00 +0000 - - /en/sitejs/ - Javascript (load when page completes, earliest loaded JS should use sitecss). Need to be named as "[domain root].js", such as "yahoo.com.js" or "finance.yahoo.com.js". 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 "sitejs" or "/data/data/info.torapp.uweb/files/sitejs". The later folder has the priority. Long press the button "settings", check the option "Run user scripts". - - diff --git a/en/index.html b/en/index.html index b14e90df..3f19eb1b 100644 --- a/en/index.html +++ b/en/index.html @@ -84,6 +84,12 @@ +
  • + + JS/CSS/HTML/preprocessing for domains + +
  • +
  • Tips @@ -210,12 +216,6 @@
  • -
  • - - Javascript and CSS for domains - -
  • -
  • diff --git a/en/index.xml b/en/index.xml index 530737b4..66f33b62 100644 --- a/en/index.xml +++ b/en/index.xml @@ -5,7 +5,16 @@ /en/ Recent content on uweb browser Hugo -- gohugo.io - Mon, 16 Jan 2023 00:00:00 +0000 + Sat, 28 Jan 2023 00:00:00 +0000 + + JS/CSS/HTML/preprocessing for domains + /en/sitejs/ + Sat, 28 Jan 2023 00:00:00 +0000 + + /en/sitejs/ + Javascript (load when page completes, earliest loaded JS should use sitecss). Need to be named as "[domain root].js", such as "yahoo.com.js" or "finance.yahoo.com.js". 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 "sitejs" or "/data/data/info.torapp.uweb/files/sitejs". The later folder has the priority. Long press the button "settings", check the option "Run user scripts". + + Tips /en/tips/ @@ -450,14 +459,5 @@ Swiping on the top part of content window (near the top address bar by default) Each line of the hosts file has the following format: - - Javascript and CSS for domains - /en/sitejs/ - Mon, 01 Jan 0001 00:00:00 +0000 - - /en/sitejs/ - Javascript (load when page completes, earliest loaded JS should use sitecss). Need to be named as "[domain root].js", such as "yahoo.com.js" or "finance.yahoo.com.js". 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 "sitejs" or "/data/data/info.torapp.uweb/files/sitejs". The later folder has the priority. Long press the button "settings", check the option "Run user scripts". - - diff --git a/en/sitejs/index.html b/en/sitejs/index.html index 129defe7..0462c430 100644 --- a/en/sitejs/index.html +++ b/en/sitejs/index.html @@ -5,7 +5,7 @@ - Javascript and CSS for domains + JS/CSS/HTML/preprocessing for domains