From 01572990b7c70bec9cdbc6fc1df5e7852ae2a79f Mon Sep 17 00:00:00 2001
From: James Feng Cao
Date: Wed, 11 Dec 2024 19:15:03 +0800
Subject: [PATCH] add cf worker code link for redirection
---
en/_posts/index.xml | 4 ++--
en/index.xml | 4 ++--
en/readme/index.html | 2 +-
en/redirect/index.html | 8 +++++---
en/sitemap.xml | 10 +++++-----
en/tags/index.xml | 2 +-
en/tags/redirection/index.xml | 4 ++--
en/tips.md | 6 +++++-
sitemap.xml | 2 +-
zh/textprocess/index.html | 2 +-
10 files changed, 25 insertions(+), 19 deletions(-)
diff --git a/en/_posts/index.xml b/en/_posts/index.xml
index 9841b69a..b38fe670 100644
--- a/en/_posts/index.xml
+++ b/en/_posts/index.xml
@@ -6,7 +6,7 @@
Recent content in _Posts on uweb browser: unlimited powerHugoen
- Tue, 10 Dec 2024 11:31:33 +0800
+ Wed, 11 Dec 2024 19:12:24 +0800CSS styles
@@ -48,7 +48,7 @@
/en/redirect/
Tue, 11 Apr 2023 00:00:00 +0000/en/redirect/
- <p>⚠️<span style="color:red">Redirection forwards cookies</span> with the setting option "Redirect cookies" enabled, so use the options with care.</p>
<h4 id="setting-options-url-redirection-vs-resource-redirection">Setting options: "Url redirection" vs. "Resource redirection"</h4>
<p>"Url redirection" redirects the main/page url only while "Resource redirection" is for all urls in the page.</p>
<h4 id="global-redirection">Global redirection</h4>
<p><a href="i:60/data/data/info.torapp.uweb/files/config.html:https://jamesfengcao.codeberg.page/en/searchurl/config.html">Global redirection</a> is enabled with the setting option "Resource redirection" or both "Url redirection" and "Redirect cookies".</p>
<p>When a valid global redirection url is set, the "default.redirect" has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.</p>
+ <p>⚠️<span style="color:red">Redirection forwards cookies</span> with the setting option "Redirect cookies" enabled, so use the option with care.</p>
<h4 id="setting-options-url-redirection-vs-resource-redirection">Setting options: "Url redirection" vs. "Resource redirection"</h4>
<p>"Url redirection" redirects the main/page url only while "Resource redirection" is for all urls in the page.</p>
<h4 id="global-redirection">Global redirection</h4>
<p><a href="i:60/data/data/info.torapp.uweb/files/config.html:https://jamesfengcao.codeberg.page/en/searchurl/config.html">Global redirection</a> is enabled with the setting option "Resource redirection" or both "Url redirection" and "Redirect cookies".</p>
<p>When a valid global redirection url is set, the "default.redirect" has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.</p>Hosts files
diff --git a/en/index.xml b/en/index.xml
index eb276e1a..8a430740 100644
--- a/en/index.xml
+++ b/en/index.xml
@@ -6,7 +6,7 @@
Recent content on uweb browser: unlimited powerHugoen
- Wed, 11 Dec 2024 16:00:41 +0800
+ Wed, 11 Dec 2024 19:12:24 +0800Search engine query URLs
@@ -62,7 +62,7 @@
/en/redirect/
Tue, 11 Apr 2023 00:00:00 +0000/en/redirect/
- <p>⚠️<span style="color:red">Redirection forwards cookies</span> with the setting option "Redirect cookies" enabled, so use the options with care.</p>
<h4 id="setting-options-url-redirection-vs-resource-redirection">Setting options: "Url redirection" vs. "Resource redirection"</h4>
<p>"Url redirection" redirects the main/page url only while "Resource redirection" is for all urls in the page.</p>
<h4 id="global-redirection">Global redirection</h4>
<p><a href="i:60/data/data/info.torapp.uweb/files/config.html:https://jamesfengcao.codeberg.page/en/searchurl/config.html">Global redirection</a> is enabled with the setting option "Resource redirection" or both "Url redirection" and "Redirect cookies".</p>
<p>When a valid global redirection url is set, the "default.redirect" has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.</p>
+ <p>⚠️<span style="color:red">Redirection forwards cookies</span> with the setting option "Redirect cookies" enabled, so use the option with care.</p>
<h4 id="setting-options-url-redirection-vs-resource-redirection">Setting options: "Url redirection" vs. "Resource redirection"</h4>
<p>"Url redirection" redirects the main/page url only while "Resource redirection" is for all urls in the page.</p>
<h4 id="global-redirection">Global redirection</h4>
<p><a href="i:60/data/data/info.torapp.uweb/files/config.html:https://jamesfengcao.codeberg.page/en/searchurl/config.html">Global redirection</a> is enabled with the setting option "Resource redirection" or both "Url redirection" and "Redirect cookies".</p>
<p>When a valid global redirection url is set, the "default.redirect" has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.</p>Hosts files
diff --git a/en/readme/index.html b/en/readme/index.html
index 9437db31..42f1fa01 100644
--- a/en/readme/index.html
+++ b/en/readme/index.html
@@ -105,7 +105,7 @@
Last Modified: 11 December 2024
-echo -n to echo without newline
+add cf worker code link for redirection
⚠️Redirection forwards cookies with the setting option "Redirect cookies" enabled, so use the options with care.
+
⚠️Redirection forwards cookies with the setting option "Redirect cookies" enabled, so use the option with care.
Setting options: "Url redirection" vs. "Resource redirection"
"Url redirection" redirects the main/page url only while "Resource redirection" is for all urls in the page.
Global redirection
@@ -63,6 +63,8 @@
(to provide more options to users) If the global redirection url does not end with '/', '?' or '=', it means the global redirection url is naked. then the resource is fetched with by the url "[global redirection url] + '/'+ [scheme]+ '/' + [url without scheme]". For example, when the global redirection url is "https://domain.com/pathXXX", the real url to visit "https://cnn.com" is "https://domain.com/pathXXX/https/cnn.com".
"default.redirect" (valid only without global redirection url)
Click the following links to append mirrors to the file "default.redirect": google recaptcha mirror
@@ -77,8 +79,8 @@
-
Last Modified: 7 April 2024
-more details on global redirection url
+
Last Modified: 11 December 2024
+add cf worker code link for redirection
diff --git a/en/sitemap.xml b/en/sitemap.xml
index 93c1131e..5f203fa4 100644
--- a/en/sitemap.xml
+++ b/en/sitemap.xml
@@ -29,7 +29,7 @@
/>
/en/
- 2024-12-11T16:00:41+08:00
+ 2024-12-11T19:12:24+08:00/en/_posts/
- 2024-12-10T11:31:33+08:00
+ 2024-12-11T19:12:24+08:00/en/tags/
- 2024-06-11T08:12:27+08:00
+ 2024-12-11T19:12:24+08:00/en/tags/redirection/
- 2024-04-07T20:48:24+08:00
+ 2024-12-11T19:12:24+08:00/en/redirect/
- 2024-04-07T20:48:24+08:00
+ 2024-12-11T19:12:24+08:00Recent content in Tags on uweb browser: unlimited power
Hugoen
- Tue, 11 Jun 2024 08:12:27 +0800
+ Wed, 11 Dec 2024 19:12:24 +0800Clipboard
diff --git a/en/tags/redirection/index.xml b/en/tags/redirection/index.xml
index 573948fe..6e4434f3 100644
--- a/en/tags/redirection/index.xml
+++ b/en/tags/redirection/index.xml
@@ -6,14 +6,14 @@
Recent content in Redirection on uweb browser: unlimited powerHugoen
- Sun, 07 Apr 2024 20:48:24 +0800
+ Wed, 11 Dec 2024 19:12:24 +0800Resource redirection
/en/redirect/
Tue, 11 Apr 2023 00:00:00 +0000/en/redirect/
- <p>⚠️<span style="color:red">Redirection forwards cookies</span> with the setting option "Redirect cookies" enabled, so use the options with care.</p>
<h4 id="setting-options-url-redirection-vs-resource-redirection">Setting options: "Url redirection" vs. "Resource redirection"</h4>
<p>"Url redirection" redirects the main/page url only while "Resource redirection" is for all urls in the page.</p>
<h4 id="global-redirection">Global redirection</h4>
<p><a href="i:60/data/data/info.torapp.uweb/files/config.html:https://jamesfengcao.codeberg.page/en/searchurl/config.html">Global redirection</a> is enabled with the setting option "Resource redirection" or both "Url redirection" and "Redirect cookies".</p>
<p>When a valid global redirection url is set, the "default.redirect" has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.</p>
+ <p>⚠️<span style="color:red">Redirection forwards cookies</span> with the setting option "Redirect cookies" enabled, so use the option with care.</p>
<h4 id="setting-options-url-redirection-vs-resource-redirection">Setting options: "Url redirection" vs. "Resource redirection"</h4>
<p>"Url redirection" redirects the main/page url only while "Resource redirection" is for all urls in the page.</p>
<h4 id="global-redirection">Global redirection</h4>
<p><a href="i:60/data/data/info.torapp.uweb/files/config.html:https://jamesfengcao.codeberg.page/en/searchurl/config.html">Global redirection</a> is enabled with the setting option "Resource redirection" or both "Url redirection" and "Redirect cookies".</p>
<p>When a valid global redirection url is set, the "default.redirect" has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.</p>
diff --git a/en/tips.md b/en/tips.md
index d9bdf046..e2bc83fb 100644
--- a/en/tips.md
+++ b/en/tips.md
@@ -3,7 +3,7 @@ title: Resource redirection
date: 2023-04-11
tags: [redirection]
---
-⚠️Redirection forwards cookies with the setting option "Redirect cookies" enabled, so use the options with care.
+⚠️Redirection forwards cookies with the setting option "Redirect cookies" enabled, so use the option with care.
#### Setting options: "Url redirection" vs. "Resource redirection"
"Url redirection" redirects the main/page url only while "Resource redirection" is for all urls in the page.
@@ -17,6 +17,10 @@ When a valid global redirection url is set, the "default.redirect" has no effect
- (to provide more options to users) If the global redirection url does not end with '/', '?' or '=', it means the global redirection url is naked. then the resource is fetched with by the url "[global redirection url] + '/'+ [scheme]+ '/' + [url without scheme]". For example, when the global redirection url is "https://domain.com/pathXXX", the real url to visit "https://cnn.com" is "https://domain.com/pathXXX/https/cnn.com".
+Example: "https://muweb.pages.dev/redirect?"
+
+[global redirection code for cloudflare workers](searchurl/cloudflare/redirect.js) free deployment: The global redirection url is "https://subdomain.workers.dev/", which is just the worker's domain name.
+
#### "default.redirect" (valid only without global redirection url)
Click the following links to append mirrors to the file "default.redirect":
google recaptcha mirror
diff --git a/sitemap.xml b/sitemap.xml
index 06d2bd79..f58c7c38 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -4,7 +4,7 @@
/en/sitemap.xml
- 2024-12-11T16:00:41+08:00
+ 2024-12-11T19:12:24+08:00
diff --git a/zh/textprocess/index.html b/zh/textprocess/index.html
index 462abd34..bb80c3b1 100644
--- a/zh/textprocess/index.html
+++ b/zh/textprocess/index.html
@@ -96,7 +96,7 @@ html/text/html: 选中富文本为html格式, 输出mimetype为text/html。
Last Modified: 11 December 2024
-echo -n to echo without newline
+add cf worker code link for redirection