From ad12551ed78380488d4d42addfeaed1aef19674f Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Tue, 13 Sep 2022 16:13:02 +0800 Subject: [PATCH] add resource redirection --- en/_posts/index.xml | 16 ++++++++ en/index.html | 6 +++ en/index.xml | 18 ++++++++- en/redirect/index.html | 69 ++++++++++++++++++++++++++++++++++ en/sitemap.xml | 16 ++++++++ en/sitemap/index.html | 1 + en/tags/index.html | 2 + en/tags/index.xml | 9 +++++ en/tags/redirection/index.html | 53 ++++++++++++++++++++++++++ en/tags/redirection/index.xml | 26 +++++++++++++ en/topposts/index.xml | 2 +- zh/redirect/index.html | 6 ++- zh/sitemap.xml | 10 +++++ 13 files changed, 231 insertions(+), 3 deletions(-) create mode 100644 en/redirect/index.html create mode 100644 en/tags/redirection/index.html create mode 100644 en/tags/redirection/index.xml diff --git a/en/_posts/index.xml b/en/_posts/index.xml index 68a4dfd0..68c8c9f9 100644 --- a/en/_posts/index.xml +++ b/en/_posts/index.xml @@ -110,6 +110,22 @@ Toggle all checkboxes in forms Enable selection + + Resource redirection + /en/redirect/ + Mon, 25 Apr 2022 00:00:00 +0000 + + /en/redirect/ + Click the following links to append mirrors to the file "default.redirect": +github mirror:fastgit +github mirror 2 +google recaptcha mirror +Each line of the file "default.redirect" has the following format: +[domain name]:[regular expression]:[replacement expression] +in which "[regular expression]" is as defined by java language, and cannot have ":" inside; if empty, it defaults to be same as "[domain name]". +Ways to enable redirection: Long the image button。 Long pressing the setting button, enable the option "url redirection". + + Text selection /en/pccopy/ diff --git a/en/index.html b/en/index.html index 8198b2bc..ea78096b 100644 --- a/en/index.html +++ b/en/index.html @@ -125,6 +125,12 @@ +
  • + + Resource redirection + +
  • +
  • Text selection diff --git a/en/index.xml b/en/index.xml index 6bc52a96..ba1e0809 100644 --- a/en/index.xml +++ b/en/index.xml @@ -64,7 +64,7 @@ Note: "Engines" needs file "engine.search",whose format is sam Thu, 28 Jul 2022 00:00:00 +0000 /en/sitemap/ - UI Search engines UI (gitee) Customization Long pressing menus for toolbar buttons User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Address bar command modes Font settings Advanced Content AD blocking CSS styles Javascript and CSS for domains Tools Bookmarklets Custom file handling Html5 application Termux Miscellaneous Configuration files Tips Manual + UI Search engines UI (gitee) Customization Long pressing menus for toolbar buttons User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Address bar command modes Font settings Advanced Content AD blocking CSS styles Redirection Javascript and CSS for domains Tools Bookmarklets Custom file handling Html5 application Termux Miscellaneous Configuration files Tips Manual @@ -217,6 +217,22 @@ Performance Remote javascript is defined in default.rjs. Click the following link to install. (Force exit and re-launch the app, then long press the "search" button to popup the menu. + + Resource redirection + /en/redirect/ + Mon, 25 Apr 2022 00:00:00 +0000 + + /en/redirect/ + Click the following links to append mirrors to the file "default.redirect": +github mirror:fastgit +github mirror 2 +google recaptcha mirror +Each line of the file "default.redirect" has the following format: +[domain name]:[regular expression]:[replacement expression] +in which "[regular expression]" is as defined by java language, and cannot have ":" inside; if empty, it defaults to be same as "[domain name]". +Ways to enable redirection: Long the image button。 Long pressing the setting button, enable the option "url redirection". + + Text selection /en/pccopy/ diff --git a/en/redirect/index.html b/en/redirect/index.html new file mode 100644 index 00000000..1ec43ab9 --- /dev/null +++ b/en/redirect/index.html @@ -0,0 +1,69 @@ + + + + + + + + Resource redirection + + + +
    + + + + + + + +
    +
    + +
    +

    Resource redirection +
    + +

    + +

    Click the following links to append mirrors to the file "default.redirect":
    +github mirror:fastgit
    +github mirror 2

    +

    google recaptcha mirror

    +

    Each line of the file "default.redirect" has the following format:
    +[domain name]:[regular expression]:[replacement expression]

    +

    in which "[regular expression]" is as defined by java language, and cannot have ":" inside; if empty, it defaults to be same as "[domain name]".

    +

    Ways to enable redirection:

    +
      +
    • Long the image button
    • +
    • Long pressing the setting button, enable the option "url redirection".
    • +
    • Long pressing the setting button, enable the option "Resource redirection".
    • +
    + +
    + + + diff --git a/en/sitemap.xml b/en/sitemap.xml index 0e370b19..ef1bb320 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -202,6 +202,22 @@ hreflang="en" href="/en/rjs/" /> + + /en/tags/redirection/ + 2022-04-25T00:00:00+00:00 + + /en/redirect/ + 2022-04-25T00:00:00+00:00 + + /en/tags/clipboard/ 2022-04-23T00:00:00+00:00 diff --git a/en/sitemap/index.html b/en/sitemap/index.html index 0aa59a9d..8da044a2 100644 --- a/en/sitemap/index.html +++ b/en/sitemap/index.html @@ -73,6 +73,7 @@
    Tools
    diff --git a/en/tags/index.html b/en/tags/index.html index 85250454..c9873119 100644 --- a/en/tags/index.html +++ b/en/tags/index.html @@ -15,6 +15,8 @@
  • PC 1
  • +
  • redirection 1
  • +
  • search engine 1
  • ssh 1
  • diff --git a/en/tags/index.xml b/en/tags/index.xml index 874fbb4d..c544866a 100644 --- a/en/tags/index.xml +++ b/en/tags/index.xml @@ -15,6 +15,15 @@
    + + redirection + /en/tags/redirection/ + Mon, 25 Apr 2022 00:00:00 +0000 + + /en/tags/redirection/ + + + clipboard /en/tags/clipboard/ diff --git a/en/tags/redirection/index.html b/en/tags/redirection/index.html new file mode 100644 index 00000000..fddbed5e --- /dev/null +++ b/en/tags/redirection/index.html @@ -0,0 +1,53 @@ + + + + + + + + redirection + + + +
    + + + +
    +
    + +
    +

    redirection

    + +
      +
    + + + diff --git a/en/tags/redirection/index.xml b/en/tags/redirection/index.xml new file mode 100644 index 00000000..6a5b9912 --- /dev/null +++ b/en/tags/redirection/index.xml @@ -0,0 +1,26 @@ + + + + redirection on + /en/tags/redirection/ + Recent content in redirection on + Hugo -- gohugo.io + Mon, 25 Apr 2022 00:00:00 +0000 + + Resource redirection + /en/redirect/ + Mon, 25 Apr 2022 00:00:00 +0000 + + /en/redirect/ + Click the following links to append mirrors to the file "default.redirect": +github mirror:fastgit +github mirror 2 +google recaptcha mirror +Each line of the file "default.redirect" has the following format: +[domain name]:[regular expression]:[replacement expression] +in which "[regular expression]" is as defined by java language, and cannot have ":" inside; if empty, it defaults to be same as "[domain name]". +Ways to enable redirection: Long the image button。 Long pressing the setting button, enable the option "url redirection". + + + + diff --git a/en/topposts/index.xml b/en/topposts/index.xml index c5898314..015bb4f5 100644 --- a/en/topposts/index.xml +++ b/en/topposts/index.xml @@ -32,7 +32,7 @@ Note: "Engines" needs file "engine.search",whose format is sam Thu, 28 Jul 2022 00:00:00 +0000 /en/sitemap/ - UI Search engines UI (gitee) Customization Long pressing menus for toolbar buttons User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Address bar command modes Font settings Advanced Content AD blocking CSS styles Javascript and CSS for domains Tools Bookmarklets Custom file handling Html5 application Termux Miscellaneous Configuration files Tips Manual + UI Search engines UI (gitee) Customization Long pressing menus for toolbar buttons User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Address bar command modes Font settings Advanced Content AD blocking CSS styles Redirection Javascript and CSS for domains Tools Bookmarklets Custom file handling Html5 application Termux Miscellaneous Configuration files Tips Manual
    diff --git a/zh/redirect/index.html b/zh/redirect/index.html index cdab2f3f..4dd2c5bc 100644 --- a/zh/redirect/index.html +++ b/zh/redirect/index.html @@ -30,6 +30,10 @@
    + + + +
    @@ -71,7 +75,7 @@ developer.android.com::developer.android.google.cn

    重启uweb后长按链接弹出菜单选"国内镜像",浏览器将访问网址的国内镜像。若网址为本地文件,则浏览器会自动调用此类文件编辑器。

  • -

    长按工具条图像按钮

    +

    长按工具条图像按钮

  • 长按设置,选中"自定义重定向"。

    diff --git a/zh/sitemap.xml b/zh/sitemap.xml index a20f4af9..45294ecf 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -217,6 +217,16 @@ /zh/redirect/ 2022-04-25T00:00:00+00:00 + + /zh/tags/pc/ 2022-04-23T00:00:00+00:00