From d05e18ea531ea272a3516c95305f17d864137412 Mon Sep 17 00:00:00 2001
From: James Feng Cao
Date: Thu, 12 Jan 2023 09:45:05 +0800
Subject: [PATCH] add more search engines
---
en/_posts/index.xml | 3 ++-
en/acmd/index.html | 6 +++---
en/bookmark/index.html | 3 ++-
en/index.html | 2 +-
en/index.xml | 22 ++++++++++++++++++----
en/search/index.html | 14 ++++++++++++++
en/searchurl/txt/web.js | 4 ++++
en/topposts/index.xml | 19 ++++++++++++++++---
en/urls/index.html | 1 +
index.html | 11 +----------
zh/index.html | 2 +-
zh/index.xml | 4 ++--
zh/search/index.html | 7 ++++++-
zh/searchurl/txt/query.autoc | 2 +-
zh/topposts/index.xml | 4 ++--
15 files changed, 74 insertions(+), 30 deletions(-)
diff --git a/en/_posts/index.xml b/en/_posts/index.xml
index 15ff4113..580ae877 100644
--- a/en/_posts/index.xml
+++ b/en/_posts/index.xml
@@ -14,7 +14,7 @@
/en/acmd/":!" command line Pressing ":" or "!" with hardware keyboard sets focus on the address bar.
The command line could be a ".js", ".sh" or other executable with arguments. Ex. ":!s g keyword" could invoke "s.js" executable with the whole string as arguments ("s.sh" or "s" if file exists, here "g" as google search engine); ":! g keyword" would invoke the file ".js" or ".sh" as executable.
-For regular (non-js) executables, the standard output of the command line will be treated as lines of web urls.
+For regular (non-js) executables, the standard output of the command line could be treated as lines of urls (or html, plain text).
@@ -138,6 +138,7 @@ Enable selection
/en/bookmark/Wait for url from other devices
+berify: reverse image search for video
Bookmarks with secrets (POST instead of GET) The search engine (".search") file can be used as bookmarks with secret. Here is an example bookmark for webdav cloud storage (replace "xxx" with real user and password):
box cloud:POST:type=webdav&url=https://dav.box.com/dav&username=xxx&password=xxx:https://demo.filestash.app/login
Commands Clicking to run is only allowed from local pages for bookmarks in this section. Users need to either save the bookmarks to local or long press the link => "open in new tab" to execute.
diff --git a/en/acmd/index.html b/en/acmd/index.html
index e2038715..a9a20983 100644
--- a/en/acmd/index.html
+++ b/en/acmd/index.html
@@ -46,9 +46,9 @@
":!" command line
Pressing ":" or "!" with hardware keyboard sets focus on the address bar.
The command line could be a ".js", ".sh" or other executable with arguments. Ex. ":!s g keyword" could invoke "s.js" executable with the whole string as arguments ("s.sh" or "s" if file exists, here "g" as google search engine); ":! g keyword" would invoke the file ".js" or ".sh" as executable.
-
For regular (non-js) executables, the standard output of the command line will be treated as lines of web urls.
Commands are the best for repeated execution of an instruction. Address bar command modes provide ways to run different commands in the same category easily.
The configure file "default.acmd" has the exactly same format as default.cmds. Click the following links to install new modes (cold start the app to take effect, then long click the "refresh" button to switch modes):
The search engine (".search") file can be used as bookmarks with secret. Here is an example bookmark for webdav cloud storage (replace "xxx" with real user and password):
box cloud:POST:type=webdav&url=https://dav.box.com/dav&username=xxx&password=xxx:https://demo.filestash.app/login
diff --git a/en/index.html b/en/index.html
index eb349019..f4704f47 100644
--- a/en/index.html
+++ b/en/index.html
@@ -1,7 +1,7 @@
-
+
diff --git a/en/index.xml b/en/index.xml
index 77d96e4b..b6f7e9ec 100644
--- a/en/index.xml
+++ b/en/index.xml
@@ -14,7 +14,7 @@
/en/acmd/":!" command line Pressing ":" or "!" with hardware keyboard sets focus on the address bar.
The command line could be a ".js", ".sh" or other executable with arguments. Ex. ":!s g keyword" could invoke "s.js" executable with the whole string as arguments ("s.sh" or "s" if file exists, here "g" as google search engine); ":! g keyword" would invoke the file ".js" or ".sh" as executable.
-For regular (non-js) executables, the standard output of the command line will be treated as lines of web urls.
+For regular (non-js) executables, the standard output of the command line could be treated as lines of urls (or html, plain text).
@@ -88,15 +88,28 @@ Change logs 954: Address bar: ":!" for command line support (.
Recommended engines (click or append any of the following to the file "home5.search"):
Engines:i:40%s_00
bing image:http://bing.com/images/search?q=
+google image:http://www.google.com/images?as_q=
+flickr:http://www.flickr.com/photos/tags/
wolfram:https://www.wolframalpha.com/input/?i=
wiki:https://en.wikipedia.org/wiki/Special:Search?search=
+wikipedia:http://en.wikipedia.org/?search=
+wikifull:http://en.wikipedia.org/wiki/Special:Search?fulltext=Search&search=
Youtube:https://www.youtube.com/results?search_query=
+answer:http://mobile.answers.com/
+twitter:https://twitter.com/search?q=
Facebook:https://www.facebook.com/search/str/%s/keywords_search
Instagram:https://www.instagram.com/explore/tags/%s/
+social-search:https://www.social-searcher.com/social-buzz/?q5=
+reddit:http://reddit.com/search?q=
boardreader:https://boardreader.com/s/%s.html
+bingvideo:https://www.bing.com/videos/search?q=
+vsearch:https://www.vsearch.me/s?q=
+groups:http://groups.google.com/groups/search?q=
book_google:https://google.com/search?q=%22parent+directory%22+pdf+OR+epub+OR+DjVU+OR+xps+%22%s%22+-html+-htm+-shtml+-phtml+-php+-buy+-aspx+-jsp+-asp+-cgi+-pdf+-ftp+-unknownsecret&num=100&filter=0
annas-archive:https://annas-archive.org/search?q=
-Note: "Engines" needs file "engine.search",whose format is same as "home.search" except that the keyword part of url must be denoted with "%s". Pressing the right arrow button on the search result page will automatically query with next engine in the file.
+libgen:http://gen.lib.rus.ec/search.php?req=
+google_file:https://google.com/search?q=intitle:index.of+%22parent+directory%22+
+Note: "Engines" needs file "engine.search",whose format is same as "home.search" except that the keyword part of url must be denoted with "
@@ -197,6 +210,7 @@ Save link:i:55:
Save to desktop:i:58
Add to media storage::001
Extract web app:i:0bsitecache/local/:
+httplocal:i:5g/^file:.+sitecache/https:/:
tgurl:https://tx.me/share/url?url=
tgdownload:https://tx.me/share/url?url=/download Compatible mode:i:5d
papago:https://papago.naver.net/website?locale=en&target=en&url=
@@ -212,8 +226,7 @@ archive:https://archive.is/?run=1&url=
googlecache:http://webcache.googleusercontent.com/search?q=cache:
google by image:https://www.google.com/searchbyimage?image_url=
tinyeye:https://tineye.com/search?url=
-Yandex image:https://yandex.com/images/search?text=
-Yandex by image:https://yandex.
+Yandex image:https://yandex.com/images/search?text=
@@ -255,6 +268,7 @@ Remote javascript is defined in default.rjs. Click the following link to install
/en/bookmark/Wait for url from other devices
+berify: reverse image search for video
Bookmarks with secrets (POST instead of GET) The search engine (".search") file can be used as bookmarks with secret. Here is an example bookmark for webdav cloud storage (replace "xxx" with real user and password):
box cloud:POST:type=webdav&url=https://dav.box.com/dav&username=xxx&password=xxx:https://demo.filestash.app/login
Commands Clicking to run is only allowed from local pages for bookmarks in this section. Users need to either save the bookmarks to local or long press the link => "open in new tab" to execute.
diff --git a/en/search/index.html b/en/search/index.html
index ef4a13c5..5671d318 100644
--- a/en/search/index.html
+++ b/en/search/index.html
@@ -51,14 +51,27 @@
Recommended engines (click or append any of the following to the file "home5.search"):
Note: "Engines" needs file "engine.search",whose format is same as "home.search" except that the keyword part of url must be denoted with "%s". Pressing the right arrow button on the search result page will automatically query with next engine in the file.
diff --git a/en/searchurl/txt/web.js b/en/searchurl/txt/web.js
index 5fe70e34..065a1261 100644
--- a/en/searchurl/txt/web.js
+++ b/en/searchurl/txt/web.js
@@ -3,6 +3,7 @@ ess["g"]=["https://google.com/search?q=",];
ess["v"]=["https://www.youtube.com/results?search_query=",];
ess["b"]=["http://www.bing.com/search?q=",];
ess["w"]=["https://encyclopedia.thefreedictionary.com/",];
+ess["a"]=["http://www.amazon.com/s?url=search-alias%3Daps&field-keywords=",];
let url=arguments[1];
let iS1 = url.search(/ [^ ]/);
@@ -11,5 +12,8 @@ let name = url.substring(iS1+1,iS2)
let keywords = url.substring(iS2+1);
let es = ess[name];
if(es){
+ let len = es.length;
+ for(let i=1;i
+libgen:http://gen.lib.rus.ec/search.php?req=
+google_file:https://google.com/search?q=intitle:index.of+%22parent+directory%22+
+Note: "Engines" needs file "engine.search",whose format is same as "home.search" except that the keyword part of url must be denoted with "
@@ -72,6 +85,7 @@ Save link:i:55:
Save to desktop:i:58
Add to media storage::001
Extract web app:i:0bsitecache/local/:
+httplocal:i:5g/^file:.+sitecache/https:/:
tgurl:https://tx.me/share/url?url=
tgdownload:https://tx.me/share/url?url=/download Compatible mode:i:5d
papago:https://papago.naver.net/website?locale=en&target=en&url=
@@ -87,8 +101,7 @@ archive:https://archive.is/?run=1&url=
googlecache:http://webcache.googleusercontent.com/search?q=cache:
google by image:https://www.google.com/searchbyimage?image_url=
tinyeye:https://tineye.com/search?url=
-Yandex image:https://yandex.com/images/search?text=
-Yandex by image:https://yandex.
+Yandex image:https://yandex.com/images/search?text=
diff --git a/en/urls/index.html b/en/urls/index.html
index 4e312a94..a41f2457 100644
--- a/en/urls/index.html
+++ b/en/urls/index.html
@@ -58,6 +58,7 @@