enhance user defined extra http request headers

This commit is contained in:
James Feng Cao 2023-03-04 09:43:13 +08:00
parent 0d9d30d783
commit 457e012713
8 changed files with 13 additions and 23 deletions

View file

@ -242,8 +242,7 @@ If a new button is defined (file name "20" exists), uweb also
[Engine name]:[url with '%s' as keyword]
[Engine name]:POST:[post params with '%s' as keyword]:[url]
[Engine name]:[Extra request headers]:[post params with '%s' as keyword]:[url]
[Extra request headers] Ex. "X-Forwarded-For;8.8.8.8" Limitations (they are here for performance reasons):
The first engine in the file must be the first type that has no &#39;%s&#39; in the engine url.</description>
[Extra request headers] Ex. &amp;quot;X-Forwarded-For;8.8.8.8&amp;quot; when [post params] is empty, the url should have &#39;%s&#39; as keyword. Ex. bingUS engine w/ chatgpt Limitations (they are here for performance reasons):</description>
</item>
<item>

View file

@ -375,8 +375,7 @@ If a new button is defined (file name &amp;quot;20&amp;quot; exists), uweb also
[Engine name]:[url with &#39;%s&#39; as keyword]
[Engine name]:POST:[post params with &#39;%s&#39; as keyword]:[url]
[Engine name]:[Extra request headers]:[post params with &#39;%s&#39; as keyword]:[url]
[Extra request headers] Ex. &amp;quot;X-Forwarded-For;8.8.8.8&amp;quot; Limitations (they are here for performance reasons):
The first engine in the file must be the first type that has no &#39;%s&#39; in the engine url.</description>
[Extra request headers] Ex. &amp;quot;X-Forwarded-For;8.8.8.8&amp;quot; when [post params] is empty, the url should have &#39;%s&#39; as keyword. Ex. bingUS engine w/ chatgpt Limitations (they are here for performance reasons):</description>
</item>
<item>

View file

@ -56,6 +56,7 @@
[Engine name]:[Extra request headers]:[post params with '%s' as keyword]:[url]</p>
<ul>
<li>[Extra request headers] Ex. &quot;X-Forwarded-For;8.8.8.8&quot;</li>
<li>when [post params] is empty, the url should have '%s' as keyword. Ex. <a href="../search/index.html">bingUS engine w/ chatgpt</a></li>
</ul>
<p>Limitations (they are here for performance reasons):</p>
<ul>

View file

@ -17,8 +17,7 @@
[Engine name]:[url with &#39;%s&#39; as keyword]
[Engine name]:POST:[post params with &#39;%s&#39; as keyword]:[url]
[Engine name]:[Extra request headers]:[post params with &#39;%s&#39; as keyword]:[url]
[Extra request headers] Ex. &amp;quot;X-Forwarded-For;8.8.8.8&amp;quot; Limitations (they are here for performance reasons):
The first engine in the file must be the first type that has no &#39;%s&#39; in the engine url.</description>
[Extra request headers] Ex. &amp;quot;X-Forwarded-For;8.8.8.8&amp;quot; when [post params] is empty, the url should have &#39;%s&#39; as keyword. Ex. bingUS engine w/ chatgpt Limitations (they are here for performance reasons):</description>
</item>
</channel>

View file

@ -1,10 +1 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>en/</title>
<link rel="canonical" href="en/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=en/">
</head>
</html>
<meta http-equiv="refresh" content="0; url=en/index.html">

View file

@ -60,7 +60,8 @@ toplinks:https://www.toplinks.cc/s/?keyword=
访问网站并搜索。 按菜单键,没有的话可长按底部工具条前进按钮弹出菜单。 选择&amp;quot;添加为搜索引擎&amp;quot;,对话框中将出现的地址适当编辑。不少网址后半部分为用&amp;quot;&amp;amp;&amp;quot;分割的等式,将包含搜索条目的等式移动到最后,删除搜索条目本身,其余等式可删可留。若无等式,一般在网址中直接删除搜索条目本身即可。 常用引擎,供用户查漏添加:
google:https://google.com/search?q=
谷歌:https://谷歌.ml/search?q=
必应:http://www.bing.com/search?q=
必应:https://www.bing.com/search?q=
bingUS:X-Forwarded-For;8.8.8.8::https://www.bing.com/search?q=%s
百度:https://m.baidu.com/s?wd=
Fsou:https://fsoufsou.com/search?q=
neeva:https://neeva.com/search?q=
@ -88,8 +89,7 @@ nfmovies:https://www.nfmovies.com/search.php?searchword=
电影狗:https://www.dianyinggou.com/so/
pianku:https://www.pianku.la/search/%s-------------.html
novip:https://www.novipnoad.com/s=
555dianying:https://555dianying.cc/vodsearch/-------------.html?wd=
zhenbuka:https://www.zhenbuka.net/search/-------------.html?wd=</description>
555dianying:https://555dianying.cc/vodsearch/-------------.html?wd=</description>
</item>
<item>

View file

@ -89,7 +89,8 @@
<p>常用引擎,供用户查漏添加:<br>
<a href="i:00google:https://google.com/search?q=">google:https://google.com/search?q=</a></p>
<p><a href="i:00谷歌:https://谷歌.ml/search?q=">谷歌:https://谷歌.ml/search?q=</a></p>
<p><a href="i:00必应:http://www.bing.com/search?q=">必应:http://www.bing.com/search?q=</a></p>
<p><a href="i:00必应:https://www.bing.com/search?q=">必应:https://www.bing.com/search?q=</a></p>
<p><a href="i:00bingUS:X-Forwarded-For;8.8.8.8::https://www.bing.com/search?q=%s">bingUS:X-Forwarded-For;8.8.8.8::https://www.bing.com/search?q=%s</a></p>
<p><a href="i:00百度:https://m.baidu.com/s?wd=">百度:https://m.baidu.com/s?wd=</a></p>
<p><a href="i:00Fsou:https://fsoufsou.com/search?q=">Fsou:https://fsoufsou.com/search?q=</a></p>
<p><a href="i:00neeva:https://neeva.com/search?q=">neeva:https://neeva.com/search?q=</a></p>

View file

@ -49,7 +49,8 @@ toplinks:https://www.toplinks.cc/s/?keyword=
访问网站并搜索。 按菜单键,没有的话可长按底部工具条前进按钮弹出菜单。 选择&amp;quot;添加为搜索引擎&amp;quot;,对话框中将出现的地址适当编辑。不少网址后半部分为用&amp;quot;&amp;amp;&amp;quot;分割的等式,将包含搜索条目的等式移动到最后,删除搜索条目本身,其余等式可删可留。若无等式,一般在网址中直接删除搜索条目本身即可。 常用引擎,供用户查漏添加:
google:https://google.com/search?q=
谷歌:https://谷歌.ml/search?q=
必应:http://www.bing.com/search?q=
必应:https://www.bing.com/search?q=
bingUS:X-Forwarded-For;8.8.8.8::https://www.bing.com/search?q=%s
百度:https://m.baidu.com/s?wd=
Fsou:https://fsoufsou.com/search?q=
neeva:https://neeva.com/search?q=
@ -77,8 +78,7 @@ nfmovies:https://www.nfmovies.com/search.php?searchword=
电影狗:https://www.dianyinggou.com/so/
pianku:https://www.pianku.la/search/%s-------------.html
novip:https://www.novipnoad.com/s=
555dianying:https://555dianying.cc/vodsearch/-------------.html?wd=
zhenbuka:https://www.zhenbuka.net/search/-------------.html?wd=</description>
555dianying:https://555dianying.cc/vodsearch/-------------.html?wd=</description>
</item>
<item>