update redirect.md

This commit is contained in:
James Feng Cao 2024-11-18 10:27:56 +08:00
commit 0e282ef72c
12 changed files with 36 additions and 145 deletions

View file

@ -6,7 +6,7 @@
<description>Recent content in _Posts on uweb browser: unlimited power</description>
<generator>Hugo</generator>
<language>en</language>
<lastBuildDate>Mon, 11 Nov 2024 11:08:18 +0800</lastBuildDate>
<lastBuildDate>Sun, 17 Nov 2024 19:42:33 +0800</lastBuildDate>
<atom:link href="/en/_posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>CSS styles</title>
@ -69,7 +69,7 @@
<link>/en/bookmark/</link>
<pubDate>Mon, 16 Jan 2023 00:00:00 +0000</pubDate>
<guid>/en/bookmark/</guid>
<description>&lt;p&gt;AI, chatgpt etc.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://gemini.google.com/app&#34;&gt;google gemini&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://jeeves.ai/chat&#34;&gt;jeeves&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.morphic.sh&#34;&gt;morphic&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://komo.ai&#34;&gt;komo&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://iask.ai&#34;&gt;iaskAI&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://poe.com&#34;&gt;poe&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.teach-anything.com/&#34;&gt;teach-anything&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://magickpen.com/&#34;&gt;magickpen&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Scholar:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://lumina.sh&#34;&gt;Lumina&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://note.ms&#34;&gt;note.ms&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;https://rentry.org&#34;&gt;rentry&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;i:1w&#34;&gt;Wait for url from other devices&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;https://berify.com&#34;&gt;berify: reverse image search for video&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;associated-bookmarks&#34;&gt;Associated bookmarks&lt;/h3&gt;&#xA;&lt;p&gt;&lt;a href=&#34;../searchcat/index.html#&#34;&gt;Search engine files&lt;/a&gt; associate with bookmarks with extension &amp;quot;.html&amp;quot;, which means the bookmark file if existing is appended to the page when the search engine file is on screen.&lt;/p&gt;&#xA;&lt;p&gt;&amp;quot;help_en.html&amp;quot; bookmark associates with the user manual in English. Similarly, &amp;quot;help_zh.html&amp;quot; is for Chinese manual. Whenever user manual is open, the associated bookmark appears before the manual.&lt;/p&gt;</description>
<description>&lt;p&gt;AI, chatgpt etc.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://gemini.google.com/app&#34;&gt;google gemini&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://duckduckgo.com?t=h_&amp;amp;ia=chat&amp;amp;q=hi&#34;&gt;duck.ai&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://devv.ai&#34;&gt;devv.ai&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://jeeves.ai/chat&#34;&gt;jeeves&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.morphic.sh&#34;&gt;morphic&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://komo.ai&#34;&gt;komo&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://iask.ai&#34;&gt;iaskAI&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://poe.com&#34;&gt;poe&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.teach-anything.com/&#34;&gt;teach-anything&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://magickpen.com/&#34;&gt;magickpen&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Scholar:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://lumina.sh&#34;&gt;Lumina&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://note.ms&#34;&gt;note.ms&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;https://rentry.org&#34;&gt;rentry&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;i:1w&#34;&gt;Wait for url from other devices&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;https://berify.com&#34;&gt;berify: reverse image search for video&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;associated-bookmarks&#34;&gt;Associated bookmarks&lt;/h3&gt;&#xA;&lt;p&gt;&lt;a href=&#34;../searchcat/index.html#&#34;&gt;Search engine files&lt;/a&gt; associate with bookmarks with extension &amp;quot;.html&amp;quot;, which means the bookmark file if existing is appended to the page when the search engine file is on screen.&lt;/p&gt;&#xA;&lt;p&gt;&amp;quot;help_en.html&amp;quot; bookmark associates with the user manual in English. Similarly, &amp;quot;help_zh.html&amp;quot; is for Chinese manual. Whenever user manual is open, the associated bookmark appears before the manual.&lt;/p&gt;</description>
</item>
<item>
<title>Tips</title>

View file

@ -50,6 +50,8 @@
<p>AI, chatgpt etc.</p>
<ul>
<li><a href="https://gemini.google.com/app">google gemini</a></li>
<li><a href="https://duckduckgo.com?t=h_&amp;ia=chat&amp;q=hi">duck.ai</a></li>
<li><a href="https://devv.ai">devv.ai</a></li>
<li><a href="https://jeeves.ai/chat">jeeves</a></li>
<li><a href="https://www.morphic.sh">morphic</a></li>
<li><a href="https://komo.ai">komo</a></li>
@ -91,8 +93,8 @@
<a href="i:0hbookmark/novel.html:../../zh/searchurl/bookmark/novel.html">&quot;novel.html&quot;: auto reader's mode</a></p>
</div>
<p>Last Modified: 13 October 2024<br>
add css/nojscopy.js to disable webpage clipboard copy<br>
<p>Last Modified: 17 November 2024<br>
update zh/redirect.md<br>
<pre></pre>
</p>

View file

@ -6,7 +6,7 @@
<description>Recent content on uweb browser: unlimited power</description>
<generator>Hugo</generator>
<language>en</language>
<lastBuildDate>Sun, 17 Nov 2024 11:47:03 +0800</lastBuildDate>
<lastBuildDate>Sun, 17 Nov 2024 19:42:33 +0800</lastBuildDate>
<atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>CSS styles</title>
@ -83,7 +83,7 @@
<link>/en/bookmark/</link>
<pubDate>Mon, 16 Jan 2023 00:00:00 +0000</pubDate>
<guid>/en/bookmark/</guid>
<description>&lt;p&gt;AI, chatgpt etc.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://gemini.google.com/app&#34;&gt;google gemini&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://jeeves.ai/chat&#34;&gt;jeeves&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.morphic.sh&#34;&gt;morphic&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://komo.ai&#34;&gt;komo&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://iask.ai&#34;&gt;iaskAI&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://poe.com&#34;&gt;poe&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.teach-anything.com/&#34;&gt;teach-anything&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://magickpen.com/&#34;&gt;magickpen&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Scholar:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://lumina.sh&#34;&gt;Lumina&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://note.ms&#34;&gt;note.ms&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;https://rentry.org&#34;&gt;rentry&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;i:1w&#34;&gt;Wait for url from other devices&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;https://berify.com&#34;&gt;berify: reverse image search for video&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;associated-bookmarks&#34;&gt;Associated bookmarks&lt;/h3&gt;&#xA;&lt;p&gt;&lt;a href=&#34;../searchcat/index.html#&#34;&gt;Search engine files&lt;/a&gt; associate with bookmarks with extension &amp;quot;.html&amp;quot;, which means the bookmark file if existing is appended to the page when the search engine file is on screen.&lt;/p&gt;&#xA;&lt;p&gt;&amp;quot;help_en.html&amp;quot; bookmark associates with the user manual in English. Similarly, &amp;quot;help_zh.html&amp;quot; is for Chinese manual. Whenever user manual is open, the associated bookmark appears before the manual.&lt;/p&gt;</description>
<description>&lt;p&gt;AI, chatgpt etc.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://gemini.google.com/app&#34;&gt;google gemini&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://duckduckgo.com?t=h_&amp;amp;ia=chat&amp;amp;q=hi&#34;&gt;duck.ai&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://devv.ai&#34;&gt;devv.ai&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://jeeves.ai/chat&#34;&gt;jeeves&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.morphic.sh&#34;&gt;morphic&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://komo.ai&#34;&gt;komo&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://iask.ai&#34;&gt;iaskAI&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://poe.com&#34;&gt;poe&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.teach-anything.com/&#34;&gt;teach-anything&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://magickpen.com/&#34;&gt;magickpen&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Scholar:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://lumina.sh&#34;&gt;Lumina&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://note.ms&#34;&gt;note.ms&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;https://rentry.org&#34;&gt;rentry&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;i:1w&#34;&gt;Wait for url from other devices&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;https://berify.com&#34;&gt;berify: reverse image search for video&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;associated-bookmarks&#34;&gt;Associated bookmarks&lt;/h3&gt;&#xA;&lt;p&gt;&lt;a href=&#34;../searchcat/index.html#&#34;&gt;Search engine files&lt;/a&gt; associate with bookmarks with extension &amp;quot;.html&amp;quot;, which means the bookmark file if existing is appended to the page when the search engine file is on screen.&lt;/p&gt;&#xA;&lt;p&gt;&amp;quot;help_en.html&amp;quot; bookmark associates with the user manual in English. Similarly, &amp;quot;help_zh.html&amp;quot; is for Chinese manual. Whenever user manual is open, the associated bookmark appears before the manual.&lt;/p&gt;</description>
</item>
<item>
<title>Tips</title>

View file

@ -1,119 +0,0 @@
const SYDNEY_ORIGIN = 'https://sydney.bing.com';
const KEEP_REQ_HEADERS = [
'accept',
'accept-encoding',
'accept-language',
'connection',
'cookie',
'upgrade',
'user-agent',
'sec-websocket-extensions',
'sec-websocket-key',
'sec-websocket-version',
'x-request-id',
'content-length',
'content-type',
'access-control-request-headers',
'access-control-request-method',
];
const IP_RANGE = [
['3.2.50.0', '3.5.31.255'], //192,000
['3.12.0.0', '3.23.255.255'], //786,432
['3.30.0.0', '3.33.34.255'], //205,568
['3.40.0.0', '3.63.255.255'], //1,572,864
['3.80.0.0', '3.95.255.255'], //1,048,576
['3.100.0.0', '3.103.255.255'], //262,144
['3.116.0.0', '3.119.255.255'], //262,144
['3.128.0.0', '3.247.255.255'], //7,864,320
];
/**
* 随机整数 [min,max)
* @param {number} min
* @param {number} max
* @returns
*/
const getRandomInt = (min, max) => Math.floor(Math.random() * (max - min)) + min;
/**
* ip int
* @param {string} ip
* @returns
*/
const ipToInt = (ip) => {
const ipArr = ip.split('.');
let result = 0;
result += +ipArr[0] << 24;
result += +ipArr[1] << 16;
result += +ipArr[2] << 8;
result += +ipArr[3];
return result;
};
/**
* int ip
* @param {number} intIP
* @returns
*/
const intToIp = (intIP) => {
return `${(intIP >> 24) & 255}.${(intIP >> 16) & 255}.${(intIP >> 8) & 255}.${intIP & 255}`;
};
const getRandomIP = () => {
const randIndex = getRandomInt(0, IP_RANGE.length);
const startIp = IP_RANGE[randIndex][0];
const endIp = IP_RANGE[randIndex][1];
const startIPInt = ipToInt(startIp);
const endIPInt = ipToInt(endIp);
const randomInt = getRandomInt(startIPInt, endIPInt);
const randomIP = intToIp(randomInt);
return randomIP;
};
export default {
/**
* fetch
* @param {Request} request
* @param {*} env
* @param {*} ctx
* @returns
*/
async fetch(request, env, ctx) {
const currentUrl = new URL(request.url);
const targetUrl = new URL(SYDNEY_ORIGIN + currentUrl.pathname + currentUrl.search);
const newHeaders = new Headers();
request.headers.forEach((value, key) => {
// console.log(`old : ${key} : ${value}`);
if (KEEP_REQ_HEADERS.includes(key)) {
newHeaders.set(key, value);
}
});
newHeaders.set('host', targetUrl.host);
newHeaders.set('origin', targetUrl.origin);
newHeaders.set('referer', 'https://www.bing.com/search?q=Bing+AI');
const randIP = getRandomIP();
// console.log('randIP : ', randIP);
newHeaders.set('X-Forwarded-For', randIP);
const oldUA = request.headers.get('user-agent');
const isMobile = oldUA.includes('Mobile') || oldUA.includes('Android');
if (isMobile) {
newHeaders.set(
'user-agent',
'Mozilla/5.0 (iPhone; CPU iPhone OS 15_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.7 Mobile/15E148 Safari/605.1.15 BingSapphire/1.0.410427012'
);
} else {
newHeaders.set('user-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.35');
}
// newHeaders.forEach((value, key) => console.log(`${key} : ${value}`));
const newReq = new Request(targetUrl, {
method: request.method,
headers: newHeaders,
body: request.body,
});
// console.log('request url : ', newReq.url);
const res = await fetch(newReq);
return res;
},
};

View file

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>/en/_posts/</loc>
<lastmod>2024-11-11T11:08:18+08:00</lastmod>
<lastmod>2024-11-17T19:42:33+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -29,7 +29,7 @@
/>
</url><url>
<loc>/en/</loc>
<lastmod>2024-11-17T11:47:03+08:00</lastmod>
<lastmod>2024-11-17T19:42:33+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -252,7 +252,7 @@
/>
</url><url>
<loc>/en/bookmark/</loc>
<lastmod>2024-10-13T09:21:26+08:00</lastmod>
<lastmod>2024-11-17T19:42:33+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"

View file

@ -579,7 +579,7 @@ async function cbScheme_redir(req){
if(bForwardCookie){
let cookies = await session.defaultSession.cookies.get({url: oUrl});
let cookieS = cookies.map (cookie => cookie.name + '=' + cookie.value ).join(';');
headers.set('Cookie',cookieS);
headers.set('cookie',cookieS);
}
//missing referer header
//headers.set('referer',);

View file

@ -4,14 +4,14 @@
<sitemap>
<loc>/en/sitemap.xml</loc>
<lastmod>2024-11-17T11:47:03+08:00</lastmod>
<lastmod>2024-11-17T19:42:33+08:00</lastmod>
</sitemap>
<sitemap>
<loc>/zh/sitemap.xml</loc>
<lastmod>2024-11-13T19:42:51+08:00</lastmod>
<lastmod>2024-11-18T10:25:31+08:00</lastmod>
</sitemap>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -47,7 +47,8 @@
<ul class="tags">
</ul>
<h4 id="全局重定向">全局重定向</h4>
<p>⚠️<span style="color:red">重定向转发cookie</span>设置选项可允许登录情况下操作全局重定向下的网站,请确认全局重定向网址安全可靠,谨慎使用。</p>
<h4 id="全局重定向">全局重定向</h4>
<p>长按设置,选中&quot;自定义资源重定向&quot;。此时如果<a href="i:60/data/data/info.torapp.uweb/files/config.html:https://jamesfengcao.codeberg.page/zh/searchurl/config.html">全局重定向url</a>为有效网址,</p>
<ul>
<li>且最后一个字符为'/'、'?'或'='则所有网络访问被内部重定向至url:<br>
@ -57,9 +58,11 @@
</ul>
<p>Example: &quot;https://loud-moth-21.deno.dev/&quot;</p>
<p>使用仓库 &quot;https://github.com/torappinfo/fetch&quot; 入口&quot;deno.js&quot; <a href="https://deno.com/deploy">部署Deno</a></p>
<p><a href="https://gitee.com/jja8/NewBingGoGo.wikis/blob/master/%E5%88%9B%E5%BB%BA%E9%AD%94%E6%B3%95%E9%93%BE%E6%8E%A5/%E4%BD%BF%E7%94%A8%E5%85%8D%E8%B4%B9%E7%9A%84%E7%9A%84%E4%BA%91%E6%9C%8D%E5%8A%A1%E6%8F%90%E4%BE%9B%E5%95%86%E5%88%9B%E5%BB%BA%E9%AD%94%E6%B3%95%E9%93%BE%E6%8E%A5.md">创建免费重定向,说明类似但代码不同</a></p>
<p><a href="../../en/searchurl/cloudflare/redirect.js">cloudflare workers 全局重定向代码</a><br>
<a href="https://github.com/torappinfo/vercel">vercel 全局重定向</a></p>
<p><a href="https://gitee.com/jja8/NewBingGoGo.wikis/blob/master/%E5%88%9B%E5%BB%BA%E9%AD%94%E6%B3%95%E9%93%BE%E6%8E%A5/%E4%BD%BF%E7%94%A8%E5%85%8D%E8%B4%B9%E7%9A%84%E7%9A%84%E4%BA%91%E6%9C%8D%E5%8A%A1%E6%8F%90%E4%BE%9B%E5%95%86%E5%88%9B%E5%BB%BA%E9%AD%94%E6%B3%95%E9%93%BE%E6%8E%A5.md">创建免费重定向,说明类似但代码不同</a><br>
<a href="../../en/searchurl/cloudflare/redirect.js">cloudflare workers 全局重定向代码</a><br>
<a href="https://github.com/gaboolic/cloudflare-reverse-proxy">创建免费重定向说明,代码可用但复杂</a></p>
<p><a href="https://github.com/torappinfo/vercel">vercel 全局重定向</a></p>
<p>使用仓库 &quot;https://github.com/torappinfo/redirect.genez&quot; <a href="https://genez.io">部署genez.io</a></p>
<h4 id="重定向文件-defaultredirect-仅在无有效全局重定向url时生效">重定向文件 &quot;default.redirect&quot; (仅在无有效全局重定向url时生效)</h4>
<p><a target="_self" href="i:0gdefault.redirect:../searchurl/txt/redirect.cfg">点击添加google recaptcha国内镜像</a></p>
<p>使用服务器在国外的搜索引擎体验往往不如国内的引擎。由于网站屏蔽的原因,两者之间索引权重差别很大。国外受欢迎的技术类网站因此难以在百度上搜到;国外引擎能搜到但由于其中不少结果无法访问而体验糟糕。</p>
@ -107,8 +110,8 @@ product.dangdang.com::product.dangdangvvv.com<br>
item.gome.com.cn::item.gomevvv.com.cn</p>
</div>
<p>Last Modified: 7 April 2024<br>
more details on global redirection url<br>
<p>Last Modified: 18 November 2024<br>
update zh/redirect.md<br>
<pre></pre>
</p>

View file

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>/zh/_posts/</loc>
<lastmod>2024-11-11T11:15:49+08:00</lastmod>
<lastmod>2024-11-18T10:25:31+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
@ -81,7 +81,7 @@
/>
</url><url>
<loc>/zh/</loc>
<lastmod>2024-11-13T19:42:51+08:00</lastmod>
<lastmod>2024-11-18T10:25:31+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
@ -578,7 +578,7 @@
<lastmod>2024-04-02T11:46:25+08:00</lastmod>
</url><url>
<loc>/zh/redirect/</loc>
<lastmod>2024-04-07T20:49:47+08:00</lastmod>
<lastmod>2024-11-18T10:25:31+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"

View file

@ -1,6 +1,8 @@
---
title: 重定向网址
---
⚠️<span style="color:red">重定向转发cookie</span>设置选项可允许登录情况下操作全局重定向下的网站,请确认全局重定向网址安全可靠,谨慎使用。
#### 全局重定向
长按设置,选中"自定义资源重定向"。此时如果<a href="i:60/data/data/info.torapp.uweb/files/config.html:https://jamesfengcao.codeberg.page/zh/searchurl/config.html">全局重定向url</a>为有效网址,
- 且最后一个字符为'/'、'?'或'='则所有网络访问被内部重定向至url:
@ -13,10 +15,13 @@ Example: "https://loud-moth-21.deno.dev/"
使用仓库 "https://github.com/torappinfo/fetch" 入口"deno.js" [部署Deno](https://deno.com/deploy)
[创建免费重定向,说明类似但代码不同](https://gitee.com/jja8/NewBingGoGo.wikis/blob/master/创建魔法链接/使用免费的的云服务提供商创建魔法链接.md)
[cloudflare workers 全局重定向代码](../../en/searchurl/cloudflare/redirect.js)
[创建免费重定向说明,代码可用但复杂](https://github.com/gaboolic/cloudflare-reverse-proxy)
[vercel 全局重定向](https://github.com/torappinfo/vercel)
使用仓库 "https://github.com/torappinfo/redirect.genez" [部署genez.io](https://genez.io)
#### 重定向文件 "default.redirect" (仅在无有效全局重定向url时生效)
<a target="_self" href="i:0gdefault.redirect:../searchurl/txt/redirect.cfg">点击添加google recaptcha国内镜像</a>