add more search engines

This commit is contained in:
James Feng Cao 2023-01-12 09:45:05 +08:00
parent db629abf0f
commit d05e18ea53
15 changed files with 74 additions and 30 deletions

View file

@ -14,7 +14,7 @@
<guid>/en/acmd/</guid>
<description>&amp;quot;:!&amp;quot; command line Pressing &amp;quot;:&amp;quot; or &amp;quot;!&amp;quot; with hardware keyboard sets focus on the address bar.
The command line could be a &amp;quot;.js&amp;quot;, &amp;quot;.sh&amp;quot; or other executable with arguments. Ex. &amp;quot;:!s g keyword&amp;quot; could invoke &amp;quot;s.js&amp;quot; executable with the whole string as arguments (&amp;quot;s.sh&amp;quot; or &amp;quot;s&amp;quot; if file exists, here &amp;quot;g&amp;quot; as google search engine); &amp;quot;:! g keyword&amp;quot; would invoke the file &amp;quot;.js&amp;quot; or &amp;quot;.sh&amp;quot; as executable.
For regular (non-js) executables, the standard output of the command line will be treated as lines of web urls.</description>
For regular (non-js) executables, the standard output of the command line could be treated as lines of urls (or html, plain text).</description>
</item>
<item>
@ -138,6 +138,7 @@ Enable selection</description>
<guid>/en/bookmark/</guid>
<description>Wait for url from other devices
berify: reverse image search for video
Bookmarks with secrets (POST instead of GET) The search engine (&amp;quot;.search&amp;quot;) file can be used as bookmarks with secret. Here is an example bookmark for webdav cloud storage (replace &amp;quot;xxx&amp;quot; with real user and password):
box cloud:POST:type=webdav&amp;amp;url=https://dav.box.com/dav&amp;amp;username=xxx&amp;amp;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 =&amp;gt; &amp;quot;open in new tab&amp;quot; to execute.</description>

View file

@ -46,9 +46,9 @@
<h3 id="-command-line">&quot;:!&quot; command line</h3>
<p>Pressing &quot;:&quot; or &quot;!&quot; with hardware keyboard sets focus on the address bar.<br>
The command line could be a &quot;.js&quot;, &quot;.sh&quot; or other executable with arguments. Ex. &quot;:!s g keyword&quot; could invoke &quot;s.js&quot; executable with the whole string as arguments (&quot;s.sh&quot; or &quot;s&quot; if file exists, here &quot;g&quot; as google search engine); &quot;:! g keyword&quot; would invoke the file &quot;.js&quot; or &quot;.sh&quot; as executable.</p>
<p>For regular (non-js) executables, the standard output of the command line will be treated as lines of web urls.</p>
<p><a href="i:0h.sh:../searchurl/txt/web.sh">Click to install the example file &quot;.sh&quot;</a><br>
<a href="i:0hs.js:../searchurl/txt/web.js">Click to install the example file &quot;s.js&quot;</a></p>
<p>For regular (non-js) executables, the standard output of the command line could be treated as lines of urls (or html, plain text).</p>
<p><a href="i:0h.js:../searchurl/txt/web.js">Install the example file &quot;.js&quot; (supporting search engine bundle)</a><br>
<a href="i:0hs.sh:../searchurl/txt/web.sh">Install the example file &quot;s.sh&quot;</a></p>
<h3 id="address-bar-command-modes">Address bar command modes</h3>
<p><a href="../cmds/index.html">Commands</a> are the best for repeated execution of an instruction. Address bar command modes provide ways to run different commands in the same category easily.</p>
<p>The configure file &quot;default.acmd&quot; has the exactly same format as <a href="../cmds/index.html">default.cmds</a>. Click the following links to install new modes (cold start the app to take effect, then long click the &quot;refresh&quot; button to switch modes):</p>

View file

@ -47,7 +47,8 @@
<ul class="tags">
</ul>
<p><a href="i:1c">Wait for url from other devices</a></p>
<p><a href="i:1c">Wait for url from other devices</a><br>
<a href="https://berify.com">berify: reverse image search for video</a></p>
<h3 id="bookmarks-with-secrets-post-instead-of-get">Bookmarks with secrets (POST instead of GET)</h3>
<p>The search engine (&quot;.search&quot;) file can be used as bookmarks with secret. Here is an example bookmark for webdav cloud storage (replace &quot;xxx&quot; with real user and password):<br>
box cloud:POST:type=webdav&amp;url=https://dav.box.com/dav&amp;username=xxx&amp;password=xxx:https://demo.filestash.app/login</p>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<meta name="generator" content="Hugo 0.108.0">
<meta name="generator" content="Hugo 0.109.0">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />

View file

@ -14,7 +14,7 @@
<guid>/en/acmd/</guid>
<description>&amp;quot;:!&amp;quot; command line Pressing &amp;quot;:&amp;quot; or &amp;quot;!&amp;quot; with hardware keyboard sets focus on the address bar.
The command line could be a &amp;quot;.js&amp;quot;, &amp;quot;.sh&amp;quot; or other executable with arguments. Ex. &amp;quot;:!s g keyword&amp;quot; could invoke &amp;quot;s.js&amp;quot; executable with the whole string as arguments (&amp;quot;s.sh&amp;quot; or &amp;quot;s&amp;quot; if file exists, here &amp;quot;g&amp;quot; as google search engine); &amp;quot;:! g keyword&amp;quot; would invoke the file &amp;quot;.js&amp;quot; or &amp;quot;.sh&amp;quot; as executable.
For regular (non-js) executables, the standard output of the command line will be treated as lines of web urls.</description>
For regular (non-js) executables, the standard output of the command line could be treated as lines of urls (or html, plain text).</description>
</item>
<item>
@ -88,15 +88,28 @@ Change logs 954: Address bar: &amp;quot;:!&amp;quot; for command line support (.
Recommended engines (click or append any of the following to the file &amp;quot;home5.search&amp;quot;)
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&amp;amp;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&amp;amp;num=100&amp;amp;filter=0
annas-archive:https://annas-archive.org/search?q=
Note: &#34;Engines&#34; needs file &#34;engine.search&#34;whose format is same as &#34;home.search&#34; except that the keyword part of url must be denoted with &#34;%s&#34;. Pressing the right arrow button on the search result page will automatically query with next engine in the file.</description>
libgen:http://gen.lib.rus.ec/search.php?req=
google_file:https://google.com/search?q=intitle:index.of+%22parent+directory%22+
Note: &#34;Engines&#34; needs file &#34;engine.search&#34;whose format is same as &#34;home.search&#34; except that the keyword part of url must be denoted with &#34;</description>
</item>
<item>
@ -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&amp;amp;target=en&amp;amp;url=
@ -212,8 +226,7 @@ archive:https://archive.is/?run=1&amp;amp;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.</description>
Yandex image:https://yandex.com/images/search?text=</description>
</item>
<item>
@ -255,6 +268,7 @@ Remote javascript is defined in default.rjs. Click the following link to install
<guid>/en/bookmark/</guid>
<description>Wait for url from other devices
berify: reverse image search for video
Bookmarks with secrets (POST instead of GET) The search engine (&amp;quot;.search&amp;quot;) file can be used as bookmarks with secret. Here is an example bookmark for webdav cloud storage (replace &amp;quot;xxx&amp;quot; with real user and password):
box cloud:POST:type=webdav&amp;amp;url=https://dav.box.com/dav&amp;amp;username=xxx&amp;amp;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 =&amp;gt; &amp;quot;open in new tab&amp;quot; to execute.</description>

View file

@ -51,14 +51,27 @@
<p>Recommended engines (click or append any of the following to the file &quot;home5.search&quot;)</p>
<p><a href="i:00Engines:i:40%s_00">Engines:i:40%s_00</a></p>
<p><a href="i:00bing image:http://bing.com/images/search?q=">bing image:http://bing.com/images/search?q=</a></p>
<p><a href="i:00google image:http://www.google.com/images?as_q=">google image:http://www.google.com/images?as_q=</a></p>
<p><a href="i:00flickr:http://www.flickr.com/photos/tags/">flickr:http://www.flickr.com/photos/tags/</a></p>
<p><a href="i:00wolfram:https://www.wolframalpha.com/input/?i=">wolfram:https://www.wolframalpha.com/input/?i=</a></p>
<p><a href="i:00wiki:https://en.wikipedia.org/wiki/Special:Search?search=">wiki:https://en.wikipedia.org/wiki/Special:Search?search=</a></p>
<p><a href="i:00wikipedia:http://en.wikipedia.org/?search=">wikipedia:http://en.wikipedia.org/?search=</a></p>
<p><a href="i:00wikifull:http://en.wikipedia.org/wiki/Special:Search?fulltext=Search&search=">wikifull:http://en.wikipedia.org/wiki/Special:Search?fulltext=Search&amp;search=</a></p>
<p><a href="i:00Youtube:https://www.youtube.com/results?search_query=">Youtube:https://www.youtube.com/results?search_query=</a></p>
<p><a href="i:00answer:http://mobile.answers.com/">answer:http://mobile.answers.com/</a></p>
<p><a href="i:00twitter:https://twitter.com/search?q=">twitter:https://twitter.com/search?q=</a></p>
<p><a href="i:00Facebook:https://www.facebook.com/search/str/%s/keywords_search">Facebook:https://www.facebook.com/search/str/%s/keywords_search</a></p>
<p><a href="i:00Instagram:https://www.instagram.com/explore/tags/%s/">Instagram:https://www.instagram.com/explore/tags/%s/</a></p>
<p><a href="i:00social-search:https://www.social-searcher.com/social-buzz/?q5=">social-search:https://www.social-searcher.com/social-buzz/?q5=</a></p>
<p><a href="i:00reddit:http://reddit.com/search?q=">reddit:http://reddit.com/search?q=</a></p>
<p><a href="i:00boardreader:https://boardreader.com/s/%s.html">boardreader:https://boardreader.com/s/%s.html</a></p>
<p><a href="i:00bingvideo:https://www.bing.com/videos/search?q=">bingvideo:https://www.bing.com/videos/search?q=</a></p>
<p><a href="i:00vsearch:https://www.vsearch.me/s?q=">vsearch:https://www.vsearch.me/s?q=</a></p>
<p><a href="i:00groups:http://groups.google.com/groups/search?q=">groups:http://groups.google.com/groups/search?q=</a></p>
<p><a href="i:00book_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">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&amp;num=100&amp;filter=0</a></p>
<p><a href="i:00annas-archive:https://annas-archive.org/search?q=">annas-archive:https://annas-archive.org/search?q=</a></p>
<p><a href="i:00libgen:http://gen.lib.rus.ec/search.php?req=">libgen:http://gen.lib.rus.ec/search.php?req=</a></p>
<p><a href="i:00google_file:https://google.com/search?q=intitle:index.of+%22parent+directory%22+">google_file:https://google.com/search?q=intitle:index.of+%22parent+directory%22+</a></p>
<p>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.</p>
<p>Common engines:<br>
<a href="i:00google:https://google.com/search?q=">google:https://google.com/search?q=</a>
@ -168,6 +181,7 @@
<a href="i:00aio:https://www.aiosearch.com/search/4/Torrents/">aio:https://www.aiosearch.com/search/4/Torrents/</a></p>
<p><a href="i:00academictorrents:https://academictorrents.com/browse.php?search=">academictorrents:https://academictorrents.com/browse.php?search=</a></p>
<p><a href="i:00katcr:https://katcr.to/search/">katcr:https://katcr.to/search/</a></p>
<p><a href="i:001337x:https://1337x.to/search/%s/1/">1337x:https://1337x.to/search/%s/1/</a></p>
<p>Scholar:<br>
<a href="i:00classcentral:https://www.classcentral.com/search?q=">classcentral:https://www.classcentral.com/search?q=</a></p>
<p><a href="i:00base:https://www.base-search.net/Search/Results?lookfor=">base:https://www.base-search.net/Search/Results?lookfor=</a></p>

View file

@ -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<len;i++)
window.open(es[i]+keywords);
location.href=es[0]+keywords;
}

View file

@ -35,15 +35,28 @@ Change logs 954: Address bar: &amp;quot;:!&amp;quot; for command line support (.
Recommended engines (click or append any of the following to the file &amp;quot;home5.search&amp;quot;)
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&amp;amp;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&amp;amp;num=100&amp;amp;filter=0
annas-archive:https://annas-archive.org/search?q=
Note: &#34;Engines&#34; needs file &#34;engine.search&#34;whose format is same as &#34;home.search&#34; except that the keyword part of url must be denoted with &#34;%s&#34;. Pressing the right arrow button on the search result page will automatically query with next engine in the file.</description>
libgen:http://gen.lib.rus.ec/search.php?req=
google_file:https://google.com/search?q=intitle:index.of+%22parent+directory%22+
Note: &#34;Engines&#34; needs file &#34;engine.search&#34;whose format is same as &#34;home.search&#34; except that the keyword part of url must be denoted with &#34;</description>
</item>
<item>
@ -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&amp;amp;target=en&amp;amp;url=
@ -87,8 +101,7 @@ archive:https://archive.is/?run=1&amp;amp;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.</description>
Yandex image:https://yandex.com/images/search?text=</description>
</item>
<item>

View file

@ -58,6 +58,7 @@
<p><a href="i:01Save to desktop:i:58">Save to desktop:i:58</a></p>
<p><a href="i:01Add to media storage::001">Add to media storage::001</a></p>
<p><a href="i:01Extract web app:i:0bsitecache/local/:">Extract web app:i:0bsitecache/local/:</a></p>
<p><a href="i:01httplocal:i:5g/^file:.+sitecache/https:/:">httplocal:i:5g/^file:.+sitecache/https:/:</a></p>
<p><a href="i:01tgurl:https://tx.me/share/url?url=">tgurl:https://tx.me/share/url?url=</a></p>
<p><a href="i:01tgdownload:https://tx.me/share/url?url=/download ">tgdownload:https://tx.me/share/url?url=/download </a></p>
<p><a href="i:01Compatible mode:i:5d">Compatible mode:i:5d</a></p>