diff --git a/assets/help_zh.html b/assets/help_zh.html index f863f541..affd4af2 100644 --- a/assets/help_zh.html +++ b/assets/help_zh.html @@ -1,6 +1,6 @@
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 could be treated as lines of urls (or html, plain text).
+Install the example file ".js" (supporting search engine bundle)
+Install the example file "s.sh"
Click the following links to make commands appear in address bar, then press "enter" to execute:
+Make uweb configuration folder accessible by file managers with termux installed
+(File manager list at end of the page)
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):
+ +GNU bc (basic calculator) command mode (need termux for Android 10- )
+GNUPlot plot (2D function), needs uweb adapted termux & gnuplot
+GNUPlot plot (3D function), needs uweb adapted termux & gnuplot
+ +Last Modified: 18 February 2023
+use :! instead of shell commandline mode for file manager access
+
Javascript and CSS for domains。
+Long press the tab manager button, check "Videos only" for video sites and "Images only" for image sites. Other AD blocking options are "Hide pseudo elements" and "Hide iframes".
+Long press the setting button, check the option "Block external scripts". UI website has option to also block dubious 3rd party resources. js.allow whitelists js libraries.
+Long press the button [☰], "Disable floating ADs", "Disable banners", "clear all timers", "stop events" and "Sleep ..." are also available.
+Click the button with image icon to hide all images.
+Click the button "JS" to disable javascript.
+url.deny: one giant regular expression for blocked urls (java grammar), in which carriage returns (CR or newline) are ignored and "#" is for comments.
+Last Modified: 20 February 2023
+use relative path
+
The enhanced hosts files "hosts" and "default.hosts" take effect with the setting option "use hosts".
+The enhanced file "hosts" defines IP addresses/attributes for domains. Each line has the following format:
+[[IP address][attributes]][single space][domain name]
where "[[IP address][attributes]]" could be:
+ipv4 address such as:
+172.67.157.211 torapp.eu.org
ipv6 address, Ex.:
+[2606:4700:3037::6815:8c3] torapp.eu.org
empty, that would lift all server-imposed limitations. Ex.:
+[single space]gitee.com
which will make all git repositories on the domain visitable as websites with raw file access url.
+response headers, separeded by ';', Ex.:
+Access-Control-Allow-Origin;https://www.bing.com;Access-Control-Allow-Credentials;true mybing.xn--xyza.top
which makes "mybing2.xn--xyza.top" to accept CORS requests with cookies.
+IP address and response headers, separeded by ';', Ex.:
+104.21.8.195;Access-Control-Allow-Origin;https://www.bing.com;Access-Control-Allow-Credentials;true uweb.torapp.eu.org
IP address, real domain name and response headers (Experimental), separeded by ';', Ex.:
+104.21.8.195;www.bing.com uweb.torapp.eu.org
which indicates the domain "uweb.torapp.eu.org" is just a proxy of "www.bing.com", and as such, the cookies of "www.bing.com" would be used for "uweb.torapp.eu.org".
+To make life easier, use lower-case domain name (the first letter should not be a digital) and capitalize the first letter of response header names.
+"default.hosts" blocks whole domain trees including all descendant domains. The domains in the hosts file must be 2 or 3 segment domains, such as "yahoo.com" and "finance.yahoo.com". If the length of the last 2 segments is less than 7, such as "com.pl", then it is treated as one segment, so domains like "xxx.xxx.com.pl" are also valid in the hosts file.
+Each line of the hosts file has the following format:
+[rootDomain][space][regex for domain prefix before rootDomain][space][regex for the whole url without "http(s)://"]
+The first part [rootDomain] is required and the others are optional. regex is java-grammar regular expression. If the second regex is used, it is recommended to merge the first regex to the second one for performance.
Last Modified: 13 May 2023
+update bingAI/js/optionsSets.js
+
AI, chatgpt etc.
+Wait for url from other devices
+berify: reverse image search for video
"home.css" (in current folder, parent folder or the "bookmark" folder) styles bookmarks, search engines and the folder itself. The file is in html format instead of CSS, so it needs "<style>" tag for CSS.
+Install markdeep styling for markdown files
+The internal link "i:a1[url]?[post data]" sends http "POST" request to server.
+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.
+To save the bookmarks to local, users firstly need to install "bookmark" menu by clicking corresponding link in the url services page, then long press the bookmark link => "open in new tab" => "Commands" => "bookmark" to save the bookmark.
+symbolic link configuration folder to "/sdcard/Download/uweb"
+Make uweb configuration folder accessible by file managers with termux installed
+(File manager list at end of the page)
Scan mdx/mdd files under the folder "/sdcard/Download/mdict" and add search engines.
+The following bookmarks need termux.
+GNU bc (basic calculator)
+bc with all extensions
Click following links to install bookmark templates, bookmarks saved to the template have corresponding features enabled.
+"novel.html": auto reader's mode
Feynman lectures
+goodtheorist
Last Modified: 6 March 2024
+add deno url
+
With a href="../index.html">uweb browser, long pressing any bookmarklet link, click "Open in new tab", the bookmarklet will be run on the last other tab.
+ +User agent
+Cookie
+Source code
+Last modified date
Eruda: mobile console
+QR code generation
Use "GET" method for "POST"
+Shows all form elements
+Enables all form elements
Toggle checkboxes
+Check all checkboxes
+Uncheck all checkboxes
+Toggle all checkboxes in forms
+Enable selection
+Restore context menu
+Search with regex
+Table re-order
Last Modified: 24 September 2022
+add adblock.md
+
uweb, termux & history versions
+ + + + + + +1038: support chatBot as search engine with url "i:0/js/hash2textarea.js:https://XXX"
+1036: TV mode: reuse "engine.search" as live TV channel urls.
+1034: click share button on homescreen to process clipboard text.
+1030: Allow downloading with global redirection
+1026: Test automation: enable i:0 urls in scripting mode
+1017: crontab alarm clock and links as sixth field.
+1008: Add long screenshot mode
+1006: Advanced configuration: auto reload, download path
+1004: bookmarklet "Show as html" to support clipboard sites such as "netcut.cn".
+998: Bookmarklets to support CSP sites.
+991: global url redirection support.
+988: hosts file to support response headers.
+985: Special urls to support shortcut keys such as ctrl-a to ctrl-z.
+983: support "hosts" file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name.
+975: Bookmarks to support styling for markdown etc.
+971: multiple type profiles: switch any data including website logins, user configurations orthogonally.
+964: site source html preprocessing before rendering with user site extra html.
+961: webdav/http file upload support with "i:0u" links.
+955: Address bar: ":!" or "!" for command line support (.js/.sh files as executables).
+949: Address bar: ":p [width in milliInch]x[height]" to generate PDF in custom size
+946: Option "use offline cache" to support serverless local websites.
945: commands to support evaluation of generated js code.
+943: Multiple home screens support .mht (offline webpage), .search & .html local files.
+940: Any urls as website with local html processing ("i:0m/..../xxx.html:url")
+935:
+934:
+Last Modified: 21 March 2024
+fix README
+
Click the following links to install commands with uweb browser. Force exit and re-launch the app, then long press the button with clock icon to popup the command menu.
+Configuration file "default.cmds" examples:
+ +Clear database::rm -rf /data/data/info.torapp.uweb/databases/*
+ +Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache
+ +logcat.log::logcat -d > logcat.log
+ + + +tgz install::toybox tar -xzf %f -C /
+Users should change the IP addresses in the following menus accordingly. In all cases, TV side needs to execute "wait for network msg" first. Send message to network (ex. for android TVs):
+Send clipboard:clip/uweb:printf 'i:5ji:5b';cat
Send url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500
+Sendurl(bookmark)::printf 'i:51../home5:i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500
+Send url(fullscreen)::printf 'i:5f%u'|/system/bin/toybox nc 192.168.2.155 1500
+Send url(video)::printf 'i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500
+Send url(clipboard):clip:(printf 'i:5b';cat)|/system/bin/toybox nc 192.168.2.155 1500
+Modify with your own info:
+Refresh dynv6 ddns for sim card 1
Need root permissions:
+Need termux:
+VPN::am start -a android.net.vpn.SETTINGS
wireless::am start -a android.settings.WIRELESS_SETTINGS
+ + + + + + +Clipboard2PC:clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -i'
+ClipboardFromPC:/clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -o'
+Clipboard broadcast:clip:socat - UDP-DATAGRAM:255.255.255.255:1500,broadcast
+Clipboard from broadcast:/clip:socat -u udp-recvfrom:1500 SYSTEM:'cat;exit'
+Clipboard2QR:clip/uweb:qrencode -o /sdcard/Download/a.png;echo file:///sdcard/Download/a.png
+Clipboard2PC needs to modify username, PC needs xsel. ssh needs to be installed inside termux (apt install openssh).
+Clipboard broadcast needs socat(apt install socat)。
+Clipboard2QR needs libqrencode.
mdme: Show local markdown file
+texme: Show local tex+markdown file
+markdeep: Show local markdown+tex+diagrams file
+markdeep slide: markdown+tex+diagrams
+remark slide: slide show for local markdown file
+Code editor, open url in clipboard etc.
+Each line has the following format:
+[Name]:[mimetype]:[command line]
[command line] can have "%c" (cookie), "%s" (address bar text), "%u" (url), "%t" (title).
+[mimetype] have the following formats:
Last Modified: 5 December 2023
+i:5g sematics change
+
Long press the settings button, check the option "custom file handling" to enable the functionality.
+The custom file handling configuration file is "default.filecap", each line of it has the format as follows:
+[file extension]:[mimetype]:[command line]
The "[file extension]" part can have at most two-segment of extensions such as "txt.xz","html.gz".
+"[mimetype]" indicates the type of "[command line]" output.
+"[command line]" is same as the one in default.cmds. The most often used replacements are:
+%u (url), %U (urlencoded url), %c (cookie), %p (site password, curl format).
default.filecap example:
+txt:text/html:curl %p "%u"
+mp3:text/html:echo '<audio controls width=100% height=100%><source src="%u"></audio>'
+m4b:text/html:echo '<audio controls width=100% height=100%><source src="%u"></audio>'
+m3u8:text/html:echo '<video controls width=100% height=100%><source src="%u"></video>'
+mp4:text/html:echo '<video controls width=100% height=100%><source src="%u"></video>'
+mkv:text/html:echo '<video controls width=100% height=100%><source src="%u"></video>'
+doc:uweb:echo http://docs.google.com/gview?embedded=true&url=%U
+xls:uweb:echo http://docs.google.com/gview?embedded=true&url=%U
+ppt:uweb:echo http://docs.google.com/gview?embedded=true&url=%U
+docx:uweb:echo http://docs.google.com/gview?embedded=true&url=%U
+xlsx:uweb:echo http://docs.google.com/gview?embedded=true&url=%U
+pptx:uweb:echo http://docs.google.com/gview?embedded=true&url=%U
+xz:text/plain:curl %p "%u"|xz -d --
+Examples for html5 application:
+pdf:uweb:echo file:///data/data/info.torapp.uweb/files/app/pdf.js/web/viewer.html?file=%u
+djvu:uweb:echo file:///data/data/info.torapp.uweb/files/app/djvu.html?url=%u
+epub:uweb:echo file:///data/data/info.torapp.uweb/files/app/reader/index.html?bookPath==%u
+
+Last Modified: 24 September 2022
+fix typos from torinfo.uweb to torapp.uweb
+
All folders end with character "/" and others are files. All folders/files locate in "/data/data/info.torapp.uweb/files":
+"css/": global css folder
+"js/": global script folder
+"sitejs/": script folder for domains
+"sitecss/":CSS folder for domains
+"bookmarklet/":bookmarklets, long pressing the "JS" button to execute.
+"offline/": to save offline pages
+"sbookmark/": to save super bookmarks
+"sitecache/":offline cache
+"longclick/": menus to appear when long-pressing hypertext (js files)
+"icon/":customized icons
+"app[XXX]/":html5 applications
+"default.longclick": to configure menus when long-pressing hypertext.
+"default.uas":user agents
+"default.urls":service urls
+"default.acmd":configure address bar functionalities
+"hosts": for local domain name attributes, only single space is allowed to separate ip address and domain name.
+"default.hosts":hosts not allowed to visit
+"default.redirect":redirect websites
+"default.cmds":commands
+"default.link":links
+"default.rjs":Remote javascript
+"default.select":menus for selected text
+"default.input": common phrases for user inputs
+"default.gesture": to define gestures on the top part of the content window. The file format is same as default.link,
+"default.gesture2": gestures on the right side similar to default.gesture.
+"default.button": to re-define button pressing functionalities. The file format is same as default.link, each line represents action from the last button to the first.
+"default.button2": similar to default.button but for long-pressed buttons.
+"default.filecap":custom file handling
+"default.rc": check the option "custom file handling" to execute the shell script file during uweb launching. tcron provides extra cron tools.
+"default.rc2": check the option "custom file handling" to execute the shell script file when uweb returns to foreground.
+"crontab":
+"engine.search": to define quick search engines (pressing right arrow button to use next engine to search). The file format is similar to home5.search but using "%s" as search keywords. If the search engine urls in "engine.search" are video urls (without %s inside), the file will make uweb browser optimized for TV watching with remote control.
+"default.siteconf": to save ua, js disabling, no-image mode, forbids 3rd-party resources (js and others), active scripts, global scripts for sites. Only save the difference to default ones.
+"default.playrate": fullscreen playing menu. The file format is same as default.link. Playing ratio menu items should have empty link parts such as ".5x:", at least one such menu is required. All other menus must be put after playing ratio menus.
+"default.autoc": address bar autocomplete candidate strings.
+"query.autoc": home screen search autocomplete candidate strings.
+"home5.html": user defined home screen. home6.mht(or .html or .search), home7.mht(or .html or .search) ... multiple home screen (pressing right arrow button to visit); home4.mht(or .html or .search), home3.mht(or .html or .search) ... (long pressing left arrow button to access).
+"home5.search":search engines
+"home.css": html file for folder/home screen/bookmark styling, so the css code needs to be inside "<style>" elements. Each "home.css" file is responsible for the current folder and its subfolders.
+"bookmark.html": bookmarks
+"quickstart.html": quick start
+"colors.txt": background colors
+"default.css": default CSS style for domains not defined in sitejs folder
+"night.css": Night mode
+"bookmarklet/videoplayer.js": fullscreen video player
+"types.sniff": file types for resource sniffer
+"js.allow": 3rd-party resource white list. One domain per line.
+"url.deny": one giant regular expression for blocked urls (java grammar). "#" to comment and carriage return (CR or new line) is ignored.
+"sniff.log": resource sniffing result
+"history.rec": visiting history
+"query.rec": query history
"shortcut/": dynamical shortcut, if not exist, then default to "bookmark".
+ +Last Modified: 9 December 2023
+add TV mode
+
Swipe down from the top to show the address bar; swipe up to the top to hide the address bar. Swipe down to the bottom to hide the toolbar with option "swipe to hide tools"; swipe on the bottom corners to show the toolbar.
+Swipe left/right near the toolbar to switch window; fling left/right to switch to the last/first window.
+Swiping on the top part of content window (near the top address bar by default) triggers corresponding link in the file "default.gesture", which has the same format as default.link.
+The algorithm to match swiping gesture to a line in the file "default.gesture" is as follows:
+The final line number will match the corresponding line in "default.gesture", 0 to the first line, ...
+"default.gesture2" is for the right side gesturs and the algorithm is similar to "default.gesture".
+Example links:
+Toggle fullscreen::0003
+back:javascript:history.back()
+forward:javascript:history.forward()
+back2:javascript:history.go(-2)
Last Modified: 24 September 2022
+add en gesture.md
+
Uweb browser loads all ".css" files under the folder "css" as global css. Click the following links to install global css files:
+ +The file "night.css" is used as night mode, click the following links to install one:
+webview 81+ night mode
+webview 80- night mode
The ".js" files under the folder "css" are loaded as earlier as possible on the page.
+ +Last Modified: 20 April 2023
+support .js files under 'css' folder
+
This page is for uweb browser.
+Click to install the following html5 apps:
+Huge markdown file viewer
+Huge markdown+katex file viewer (Tex formulas)
+Huge markdeep file viewer (markdown, latex, diagram,graphviz etc.)
+plyr video player
+dplayer video player
+pdf viewer
+epub reader (author:llili)
+djvu viewer
The corresponding menus can be installed with url services.
+The following mentioned subfolders locate in the configuration folder.
+The following html5 applications are allowed to read local files referred by "https://local/sdcard/..." where the "/sdcard/.." part is the full path of the file. The below applications can auto choose any files as file objects.
+All files under the subfolder "app" can be automatically choosed as file objects by any web page.
+Local files (including binary files) can be processed by appending "?app=[html5 app url]" to the file urls. Ex. "file:///..../xx.md?app=https://...../app.html" loads "app.html" first, then "app.html" processes the local file.
+With the first approach, the html5 application is installed locally and can read any file allowed by the OS; while in the second approach, the html5 application can be either local or remote, and only files under the subfolder "app" can be accessed; The third approach allows easy access of other external resources (ex. local media).
+Click to configure default.filecap to open local files, and to open remote files with the option "custom file handling":
+use pdf.js,djvu.js,epub.js, huge markdown viewer for local files
url examples are as follows:
+Ex. "#offset=10000&500" will retrieve 500 bytes from offset 10000. Click the right arrow button to next page in all above file viewers.
+By default, the subfolder "app" is created by clicking to install any of above html5 applications.
+To make file management easier, users can symbolic link the subfolder "app" to any other locations as long as it is readable.
+One way to configure "app" subfolder is as follows:
+Note: the following two mdict.html files are different.
+i:5ifile:///....../xxx.mdx,xxx.mdd?app=https://cdn.jsdelivr.net/gh/torappinfo/uweb/en/searchurl/mdict/mdict.html#word=%s
in which "/.../xxx.mdx,xxx.mdd" is the full path for the mdict dictionary files.
+i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=%s
+In the above mdict search engine string, the dictionary files (mdx, mdd) must locate in the "app" subfolder under the configuration folder. In above example, the files "xxx.mdx" and "xxx.mdd" locate in the folder ".../app/mdict".
+To make life easier, users can link the "app" subfolder to any public accessible folder.
+Use the mdx scanning bookmark to add mdict engines automatically, then cold start uweb browser to take effect.
+ +Last Modified: 20 February 2023
+use relative path
+
If subfolder "icon" exists, then files named as "0","1","2"...
+are used for icons in the bottom toolbar. file "0" to replace the left arrow button, "1" for right arrow button, "2" for the setting button,"3" for the home screen button,...
If a new button is defined (file name "20" exists), uweb also supports VectorDrawable with "android compiled XML" format. All icon files must be either all compiled VectorDrawables or common image formats.
+Note: The refresh and tab manager button can not be redefined.
+ +Last Modified: 1 November 2022
+add flg for not following sys night mode
+
Click the following links to install menus popped by long pressing the bookmark button (with star as icon):
+Capture long screenshot (need long screenshot mode)
Select All:CTRL-A/undo:CTRL-Z/Redo:CTRL-Y
+Extend site cookies to 10 years
+Clear site cookies
Long pressing the bookmark button in uweb browser will popup menus defined in file "default.link". The file format is as follows:
+[Menu name]:[one or more links delimited by " \n "]
and each link has the following format:
+[url][space][javascript code]
in which space and later parts are optional. url and later parts support "%u","%s" etc.. The javascript code will be executed after url is fully loaded.
+url supports all standard scheme (http(s):,javascript: etc.) and uweb internal schemes ( ':' as second character in the url ) and special links that begins with ':'.
+uweb browser will handle local file urls (file:///) specially for some file types:
+If the above mentioned [links] part is malformated, then it is auto detected as html or text.
+default.gesture and default.button have the exactly same file format. ".gesture" files define gestures while ".button" define bottom toolbar button pressing actions from the last button to the first.
+proxy config:
+httpproxy::010[proxy host]:[port]
+socks5::011[socks host]:[port]
+noproxy::010:
:0003
+Toggle fullscreen mode
:0004
+Rotate the screen
:001[fileurl]
+Scan the fileurl and add it to media storage
:010[proxy host]:[port]
+Config http proxy, ":010:" to disable any proxy.
:011[socks host]:[port]
+Socks proxy
:0cc[url1]:[url2][:;[cookie attributes]]
+cookie copy from url1 to url2, the last part "[:;[cookie attributes]]" is optionable.
:![command line]
+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.
+Click to install the example file "s.sh"
+Click to install the example file ".js"
:c[command]
+:p [width in milliInch]x[height] [top margin]:[right margin]:[bottom margin]:[left margin]
+Generate/Print PDF file in the "/sdcard/Download" folder, all units are milliinch.
+Ex. ":p x" or ":px" for screen width and infinite height (as long vector screenshot).
+":p x[height]" or ":px[height]" for screen width.
i:0b[path]:[url]
+Extract remote content (tar/tgz/zip) under the folder [path]. If [path] ends with "/", then put unzipped file under the folder "[path]/[file name stem]" (for zipped files only, not for tar/tgz).
i:0m[bookmarklet index|prefix|?postfix|/.../localfile|H[headers]|c[cssFlag]]:[url]
+Visiting url and execute the uweb browser internal bookmarklet that keeps valid for all urls under the path of [url].
i:15[string]
+Set address bar text to be [string].
i:16[mimetype]:[Action Name]:[App Name]:[Activity Name]
+Use third party app as input
i:18[extended mimetype]:[range]:[url]
+Read partial data from url.
+
+
i:19[string]
+Append [string] to the address bar text.
i:1c
+Show web certificate.
i:1d
+Launch app for specific
i:1w
+Wait to receive url from the network and open the url.
i:1w1
+Wait to receive url from the network and open the url (not showing ip)
i:1e
+Open file manager for removable SDCARD download folder
i:50[path]:[string]
+Save [string] as file
i:51[path]:[url]
+Save [url] to ".autoc" file.
i:52[path]:[url]
+Save bookmark.
i:53[path]:[string]
+Save notes.
i:54[path]:[url]
+Save as search engine.
i:55[path]:[url]
+Save as link.
i:56[string]
+Use [string] as user input on web page.
+The string can have any character such as ascii code 0-26, where code 0 means clear, and code 1-26 are from ctrl-A to ctrl-Z as shortcut keys. (to type "Ctrl-A" into a text file, use "Ctrl-Q Ctrl-A" with emacs or "Ctrl-V Ctrl-A" with vim)
i:57[jscode]
+execute [jscode], even when js is disabled for the web page.
i:58[url]
+Save to the desktop.
i:5a[filename]
+Receive content from network to the file.
i:5b[string]
+Copy [string] to the clipboard.
i:5c[url]
+Change auto page turning internal url to be [url].
i:5d[file url]
+Open the file url compatible to other browsers.
i:5e[string]
+TTS
i:5f[videourl]
+play video fullscreen. if videourl is empty, then make following requestFullscreen() work.
i:5h[?postfix:|/regex/replacement:][url]
+force html for [url] visiting
i:5i[url]
+Use the existing tab for the url with possible different url hash part.
i:5j[string]
+if [string] is file url, then send the file/folder to network, otherwise send [string] to network.
i:5p[videourl]
+play video in external player
i:60[path]:[url]
+If existing local file, then open it or visit the [url].
i:62[path]:[js code]
+Evaluate the [js code] and save the returned string to file.
i:63[bookmarklet index]:[url]
+Visiting url and execute the bookmarklet. Only uweb predefined local bookmarlets are allowed.
i:6i[js file path relative to configuration folder]:[url]
+Similar to i:5i, except executing the js file after possible url hash change.
i:70[url]:[auto page turning url]
+Visiting [url], but use the second url as auto paging url.
i:8d[url]
+Force downloading [url]
i:8l[filename]
+Loading configuration [filename]. Ex. "i:8lconfig.html" to reload config.html.
i:92[http request headers separated by ';']:[url]
+The "Host" Header (fake header, different from the standard) must be the first header.
+Ex. i:92Host;209.216.230.240:https://news.ycombinator.com
+use "i:0mi:92Host;209.216.230.240::https://news.ycombinator.com" to visit the site with specified IP address.
i:b1[internal urls or javascript separated by "%0A"]
+Bundle of internal urls, if it is an "i:0" url, then it should have the following format:
+[title]%0A[msg]%0A[optional callback url%0A][i:0url].
Last Modified: 15 November 2023
+update i:0m document
+
i:56 urls support CTRL_A to CTRL-Z ++ + + + + + diff --git a/en/longclick.html b/en/longclick.html new file mode 100644 index 00000000..6fb550e0 --- /dev/null +++ b/en/longclick.html @@ -0,0 +1,88 @@ + + + + + + + +
Each line of file "default.longclick" has the following format: (same as default.cmds)
+[Name]:[mimetype]:[command line]
+in which [command line] can have "%c" (cookie), "%u" (current url), "%t" (title) etc.
All ".js" files under the folder "longclick" are part of the popup menu.
+These javascript files are in the following format:
Last Modified: 24 September 2022
+fix typos from torinfo.uweb to torapp.uweb
+
Offline resources locate in the folder "sitecache". With the option "use offline resources" enabled, the corresponding files in "sitecache/[domain name]/[full path including filename, the url path part]" are loaded first before reaching the network.
+Install bingChat UI ai.html for censored area (bingChat UI)
+Install bingWrite UI write.html for censored area (bingWrite)
+Install bingAI image creator UI draw.html for censored area (bingAI image creator)
+Click to install url service that extracts web apps to the folder "sitecache/local/": support web extensions (.crx for chrome & .xpi for firefox).
+Any folder under "sitecache" can be visited as a local site. Urls with search queries can be dynamically processed by the js/wasm code in the local file.
+PWAs (Progresssive Web Applications) and some web extensions (.crx for chrome & .xpi for firefox) are just packaged websites. Ex. the "kiwix" extension can be extracted to the folder "sitecache/local/kiwix"1, then the kiwix extension can be accessed via url "https://local/kiwix/www/index.html" in the browser.
+the folder name "local" is used as the domain name in the url. ↩︎
+Last Modified: 9 May 2023
+fix bingAI draw
+
Amazon appstore
+Galaxy.Store
+Downloads
Uweb browser: downloads, plugins and tips
+(Mirrors: gitlab codeberg repo 4everland fleek netlify surge kinsta bitbucket pages vercel render
+More...)
Custom paper size PDF export and long vector screenshot, TTS, text reflow, resource sniffer, translation, reader's mode, user-defined url redirection, webdav/http backup & restore, auto next page, sending/receiving msg/file(s), site config (UA, no JS, no image, no 3rd party script/resource,active script, global scripts), http(s)/socks proxy, enabling html5 apps for local files (pdf/djvu/epub viewer, mdict dictionary lookup etc.).
+
+
+
+
+
+
We encourage everyone to help with localization. The following is how to do.
+Last Modified: 24 March 2024
+add more repositories
+
⚠️Redirection forwards cookies with the setting option "Redirect cookies" enabled, so use the options with care.
+"Url redirection" redirects the main/page url only while "Resource redirection" is for all urls in the page.
+Global redirection is enabled with the setting option "Resource redirection" or both "Url redirection" and "Redirect cookies".
+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.
+If the global redirection url ends with '/', then the resource is fetched with by the url "[global redirection url] + [url]". For example, "https://domain.com/pathXXX/https://cnn.com".
+(to provide more options to users) If the global redirection url does not end with '/', it means the global redirection url is naked. then the resource is fetched with by the url "[global redirection url] + '/'+ [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/cnn.com".
+Click the following links to append mirrors to the file "default.redirect":
+google recaptcha mirror
Each line of the file "default.redirect" has the following format:
+[domain name]:[regular expression]:[replacement expression]
in which "[regular expression]" is as defined by java language, and cannot have ":" inside; if empty, it defaults to be same as "[domain name]".
+Last Modified: 17 June 2023
+add latest.html
+
javascript for domains
+Earliest loaded global javascript files locates in the subfolder "css" of app private folder.
Global javascript files locates in the subfolder "js" of app private folder. Long press button [☰] to configure. Click the following links to install:
+<a target=_self" href="i:0hjs/savePassword.js:../../zh/searchurl/txt/passwdsave.js">Save password
+Instant page
large size javascript code can be installed to the folder "bookmarklet" (long pressing button "js" to popup menu):
+google translation
Note: Bookmarklets whose names begin with "!" are allowed to load remote js on CSP (Content Security Policy) sites.
+Remote javascript is defined in default.rjs. Click the following link to install. (Force exit and re-launch the app, then long press the "search" button to popup the menu.):
+ + + + + +mathjax:['https://fastly.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js']
+ +Site search:;open('i:15site:' + location.hostname)
+ +Remote script configuration file "default.rjs" whose lines have the following format:
+[script name]:[javascript code to return url arrays]
Activate either local (bookmarklets) or remote js to execute the code on the similar sites with option "Activate user script".
+Since activated scripts use internal mechanism of "i:0m" urls, the script itself cannot have 'H', '?' or '/' as its very first character.
+All remote js (default.rjs) are allowed to execute on CSP sites. Local js files without remote resource access work fine when under the folder "bookmarklet", others needs to be refered in default.rjs as http urls such as "https://local/..." (html5 or offline cache) .
+ +Last Modified: 29 April 2023
+add google translate in rjs.py
+
AI:
+consensus:https://consensus.app/results/?synthesize=on&q=
youChat:https://you.com/search?tbm=youchat&q=
+youWrite:https://you.com/search?tbm=youwrite&q=
+youImagine:https://you.com/search?tbm=imagine&q=
+ +perplexity:https://www.perplexity.ai/?q=
+phind:https://www.phind.com/search?q=
+medisearch:https://medisearch.io/results/
+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/
+Yandex image:https://yandex.com/images/search?text=
+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=
+eBay:https://www.ebay.com/sch/i.html?_nkw=
+Quora:https://www.quora.com/search?q=
+Pinterest:https://www.pinterest.com/search/pins/?q=
+LinkedIn:https://www.linkedin.com/search/results/all/?keywords=
+Netflix:https://www.netflix.com/search?q=
+Spotify:https://open.spotify.com/search/
+Medium:https://medium.com/search?q=
+TripAdvisor:https://www.tripadvisor.com/Search?q=
+incaption:https://incaptions.com/
+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=
+crowdview:https://crowdview.ai/search?q=
+groups:http://groups.google.com/groups/search?q=
+wolfram:https://www.wolframalpha.com/input/?i=
+fxsolver:https://www.fxsolver.com/browse/?q=
+ +annas-archive:https://annas-archive.org/search?q=
+libgen:http://gen.lib.rus.ec/search.php?req=
+google_file:https://google.com/search?q=intitle:index.of+%22parent+directory%22+
+apkcombo:https://apkcombo.com/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.
+Common engines:
+google:https://google.com/search?q=
+
bing:http://www.bing.com/search?q=
+marginalia:https://search.marginalia.nu/search?query=
+mojeek:https://www.mojeek.com/search?q=
+rightdao:https://rightdao.com/search?q=
+alexandria:https://www.alexandria.org/?q=
+ +seznam:https://search.seznam.cz/?q=
+metager:https://metager.org/meta/meta.ger3?eingabe=
+seekr:https://www.seekr.com/search?query=
+brave:https://search.brave.com/search?q=
+ellpedia:https://en.ellpedia.com/search?q=
+gemini:https://portal.mozz.us/gemini/geminispace.info/search%3F
+waldo:https://www.waldo.fyi/data?q=
+xda:https://www.xda-developers.com/search/
+Feeling lucky:https://google.com/search?btnl=1&q=
+pix:https://www.google.com/search?tbm=isch&q=
+youtube:https://youtube.com/results?search_query=
+news:https://news.search.yahoo.com/search/news?p=
+stock:https://finance.yahoo.com/quote/
+amazon:https://www.amazon.com/s/?field-keywords=
+weather:https://www.wunderground.com/cgi-bin/findweather/getForecast?query=
+IMDB:https://www.imdb.com/find?q=
+film review:https://www.rottentomatoes.com/search/?search=
+goodreads:https://www.goodreads.com/search?query=
+audible:http://www.audible.com/search?sort=review-rank&advsearchKeywords=
+audiobay:http://audiobookbay.se/?s=
+telegramsearcher:https://telegramsearcher.com/search?q=
+lyzem:https://lyzem.com/search?q=
+gramxlu:https://gramxly.com/s?q=
+ +webster1913:https://www.websters1913.com/words/
+merriam-webster:https://www.merriam-webster.com/dictionary/
+dictionary:https://www.dictionary.com/browse/
+finedict:https://www.finedictionary.com/
+freedictionary:https://www.thefreedictionary.com/
+legal_fd:https://legal-dictionary.thefreedictionary.com/
+finance_fd:https://financial-dictionary.thefreedictionary.com/
+wikipedia_fd:https://encyclopedia.thefreedictionary.com/
+encyclopedia_fd:https://encyclopedia2.thefreedictionary.com/
+wordreference:https://www.wordreference.com/definition/
+vocabulary:https://www.vocabulary.com/dictionary/
+etymology:https://www.etymonline.com/search?q=
+powerthesaurus:https://www.powerthesaurus.org/%s/synonyms
+macmillanthesaurus:https://www.macmillanthesaurus.com/search/?auto=complete&q=
+lword:https://lword.top/word.html#
+ +webster:https://www.merriam-webster.com/dictionary/
+googledict:http://googledictionary.freecollocation.com/meaning?word=
+ + +Science:
+britannica:https://www.britannica.com/search?query=
mathRef:https://reference.wolfram.com/search/?q=
+mathSE:https://math.stackexchange.com/search?q=
+phySE:https://physics.stackexchange.com/search?q=
+physicsForum:https://www.physicsforums.com/search/2195918/?q=
+pubchem SMILES:https://pubchem.ncbi.nlm.nih.gov/#input_type=smiles&query=
+pubchem:https://pubchem.ncbi.nlm.nih.gov/#query=
+chemSE:https://chemistry.stackexchange.com/search?q=
+chem:https://www.ncbi.nlm.nih.gov/pccompound?term=
+proofwiki:https://proofwiki.org/w/index.php?search=
+physics:http://www.physics.org/explore-results-all.asp?q=
+biology:https://www.biologyonline.com/dictionary/
+nist chem:https://webbook.nist.gov/cgi/cbook.cgi?Formula=
+chemiday:https://chemiday.com/search/?lang=en&q=
+chem.libretexts:https://chem.libretexts.org/Special:Search?q=
+bio.libretexts:https://bio.libretexts.org/Special:Search?q=
+phys.libretexts:https://phys.libretexts.org/Special:Search?q=
+med.libretexts:https://med.libretexts.org/Special:Search?q=
+math.libretexts:https://math.libretexts.org/Special:Search?q=
+stats.libretexts:https://stats.libretexts.org/Special:Search?q=
+geo.libretexts:https://geo.libretexts.org/Special:Search?q=
+eng.libretexts:https://eng.libretexts.org/Special:Search?q=
+biz.libretexts:https://biz.libretexts.org/Special:Search?q=
+human.libretexts:https://human.libretexts.org/Special:Search?q=
+socialsci.libretexts:https://socialsci.libretexts.org/Special:Search?q=
+workforce.libretexts:https://workforce.libretexts.org/Special:Search?q=
+More engines:
+oscobo:https://www.oscobo.com/search.php?q=
teoma:https://www.teoma.com/web?q=
+lycos:https://search.lycos.com/web/?q=
+technorati:http://technorati.com/search/index.php?q=
+qwant:https://lite.qwant.com/?q=
+swisscows:https://swisscows.com/web?query=
+ecosia:https://www.ecosia.org/search?q=
+duck:https://duckduckgo.com/?q=
+presearch:https://presearch.com/search?q=
+gigablast:https://www.gigablast.com/search?c=main&qlangcountry=en-us&q=
+yandex:https://yandex.com/search/?text=
+ +startpage:https://startpage.com/do/search?query=
+gibiru:https://gibiru.com/results.html?q=
+zapmeta:https://www.zapmeta.com/search?q=
+Medical:
+medical_freedict:https://medical-dictionary.thefreedictionary.com/
merckmanuals:https://www.merckmanuals.com/professional/SearchResults?query=
+openmd:https://openmd.com/search?q=
+radiopaedia:https://radiopaedia.org/search?q=
+medical-dict:https://medical-dictionary.com/results.php?term=
+ncbiBooks:https://www.ncbi.nlm.nih.gov/books/?term=
+healio:https://journals.healio.com/action/doSearch?AllField=
+pubmed:https://pubmed.ncbi.nlm.nih.gov/?term=
+pmc:https://www.ncbi.nlm.nih.gov/pmc/?term=
+Tabers:https://www.tabers.com/tabersonline/search?st=OSS&q=
+medicinenet:https://www.medicinenet.com/%s/definition.htm
+Torrent:
+aio:https://www.aiosearch.com/search/4/Torrents/
academictorrents:https://academictorrents.com/browse.php?search=
+piratebay:https://thepiratebay.org/search/%s/0/7/0
+katcr:https://katcr.to/search/
+1337x:https://1337x.to/search/%s/1/
+Scholar:
+classcentral:https://www.classcentral.com/search?q=
base:https://www.base-search.net/Search/Results?lookfor=
+science.gov:POST:fullRecord=%s:https://www.science.gov/scigov/search.html
+sweetsearch:https://sweetsearch.com/search?q=
+refseek:https://www.refseek.com/search?q=
+google scholar:https://scholar.google.com/scholar?q=
+bing academic:http://bing.com/academic/search?q=
+core:https://core.ac.uk/search?q=
+semanticscholar:https://www.semanticscholar.org/search?sort=relevance&q=
+xueshu:https://xueshu.baidu.com/s?wd=
+Developer:
+devdocs:https://devdocs.io/#q=
grep.app:https://grep.app/search?q=
+git:https://github.com/search?type=Repositories&q=
+ +code:http://searchcode.com/?q=
+grep:https://grep.app/search?q=
+symbolhound:http://symbolhound.com/?q=
+vector:https://vector.me/search/
+jsdelivr:http://www.jsdelivr.com/?query=
+greasyfork:https://greasyfork.org/en/scripts?sort=updated&q=
+cdn.githubjs.cf:https://cdn.githubjs.cf/search?q=
+hub.yzuu:https://hub.yzuu.cf/search?q=
+hub.nuaa:https://hub.nuaa.cf/search?q=
+hub.njuu:https://hub.njuu.cf/search?q=
+app:
+App store:market://search?q=
local engines(May need termux customized edition and tools like bc,gnuplot etc.):
+bc:d:text/html:echo '%s'|bc -l -q:
2D plot:d:image/svg+xml:gnuplot -e 'set term svg;set output; plot %s':
+3D plot:d:image/svg+xml:gnuplot -e 'set term svg;set output; splot %s':
+ +More at:
+alternativeto
Last Modified: 2 April 2024
+update AI engines
+
Add AI engines ++ + + + + + diff --git a/en/searchcat.html b/en/searchcat.html new file mode 100644 index 00000000..327b213a --- /dev/null +++ b/en/searchcat.html @@ -0,0 +1,94 @@ + + + + + + + +
Any ".search" file can be opened as search engine file, each line of which has one of the following formats:
+[Engine name]:[url without '%s' inside]
+[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]
Limitations (they are here for performance reasons):
+c:[command line with '%s' as keyword]
+d:mimetype:[command line with '%s' as keyword]:[base url for external resources]
Last Modified: 4 March 2023
+i:0m to support extra headers
+
If file "default.css" exists, the style will be applied to all sites not matching [domain root].css.
+An open tag as the last tag in the last 50 bytes of the user extra html expects more content to follow, thus the extra html is placed before the site html. Ex. when the extra html ends with "<textarea>" or "<plaintext>", the site source html appears as the value of the textarea/plaintext element, thus the extra html can further process the the site source html before rendering. A self closed tag such as "<br>" acts like open tags, also makes the site source follow the extra html.
+"sitejs/.js", "sitecss/.css", "sitecss/.js" and "siteextra/.html" are applied to all non-http urls (file urls etc.).
+ +Last Modified: 20 April 2023
+support .js files under 'css' folder
+
Last Modified: 19 December 2023
+version 1037
+
For performance, the file "crontab" uses single space as field separator. Letters are not suppored currently. So use "1" for "January" and 2 for "Tuesday" etc.
+The sixth field in crontab file could be in the format of internal links. Specifically, "c:" to execute the following commands in termux and "!" to execute commands directly. If the sixth field is not in any of above formats, then the field will appear as the message of alarm clock.
+To make crontab more powerful, we changed the semantics as follows:
+The day of a command's execution can be specified by two fields — day of month, and day of week. The command will be run when both fields matche the current time.
Note (the original crantab semantics):
+The day of a command's execution can be specified by two fields — day of month, and day of week. If both fields are restricted (i.e., aren't *), the command will be run when either field matches the current time. For example, ``30 4 1,15 * 5'' would cause a command to be run at 4:30 am on the 1st and 15th of each month, plus every Friday.
If uweb browser was launched at least once after rebooting, the crontab jobs are scheduled as normal.
+To keep crontab take effect without launching uweb browser once:
+With the option "custom file handling" enabled, "default.rc" runs as shell script at uweb launching time and "default.rc2" runs whenever uweb becomes foreground.
+Use tcron (Click to install) with "default.rc" or "default.rc2".
+usage: tcron logfile command hours [timezone delay_sec elsecommand]
+execute "command" during time interval once.
+where logfile modification time must be updated if "command" runs successfully.
hours: If positive, then each day is divided into multiple intervals (unit: hour), and in each interval, the "command" runs only once.
+If negative, then the unit is minute.
+hours could be also in "hh:mm-hh:mm,..." format. Ex. "6:00-8:30,11:00-13:00,5:30-6:30".
+timezone: an integer, default to be "8" for Beijing China (UTC+8). "0" for Greenwich UK (UTC+0).
+delay_sec: execute "command" after "delay_sec" seconds.
+elsecommand: executed whenever "command" not run.
ex:
+set PATH=/system/bin:/data/data/info.torapp.uweb/files/bin
+#Empty the folder "baidu" every 30 days.
+tcron /sdcard/b "rm -rf /sdcard/baidu/*;toybox touch /sdcard/b" 720
Last Modified: 4 January 2024
+fix gemini search engine
+
Only the termux versions provided along with uweb browser can work seamlessly. For android 10+, please install termux before installing uweb browser. If uweb is already installed, users can uninstall it first, then install termux and reinstall uweb browser.
+Long pressing the following links then either "commands"->"bookmark" to add bookmarks or "open in new tab" to execute.
+GNU bc (basic calculator)
+bc with all extensions
.profile : only for kshell with naked termux (no initial packages, need the following fix for termux quick crash to be launched)
+Using uweb to copy (Long pressing the following links and "open in new tab" to fix/send/receive):
+File system navigation:
+With z.sh and commacd, user can reach any folder with few key stokes. Run "v" to launch uweb file manager on the current working directory, long click any file link to share.
Last Modified: 9 December 2023
+add TV mode
+
Click the following links to install menus for long pressing the button "link":
+Copy selected text with html format to clipboard
The file "default.select" defines text processing menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:
+[Name]:[mimetype]:[command line]
[mimetype] specifies input/output for [command line].
+It formats as "[input mimetype]/[output mimetype]".
+[input mimetype] can be the following:
[output mimetype] is same as the one defined in "Commands".
+checked.js: Evaluate checked.js and return value as standard input for the command line. For any file url ending with "/", optionally append "?[prefix][[postfix]]". For example, "file:///sdcard/?.png" lists all .png files under the folder "/sdcard". Select files and process them with checked.js(such as "copy to PC" as the later example).
+default.select sample file:
+copy2addressbar:/uweb:printf i:15;cat
+copy2PCClipboard::ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i"
+richtext2PCClipboard:html:ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i"
+copyFiles:checked.js:while read fname;do scp $fname [user:password]@192.168.2.102:Downloads/.; done
Here we assume that the user PC has IP address as "192.168.2.102".
+To use ssh or scp, users need to install uweb compatible Termux provided on the uweb apk download page, and install openssl under termux (apt install openssl).
+PCs need command "xsel" available to operate on copy/paste.
Last Modified: 11 December 2023
+add RSS
+
Text processing for clipboard data:
+On home screen, pressing the sharing button of the bottom toolbar popups the text processing menu for clipboard data.
To show web pages in desktop mode:
+PC button + option "wide viewport" + global js "force page resizable".
Playing audio when screen off
+Option "Floating video" + video fullscreen playing
Multiple home screens and Next/Prev page:
+home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), ... can be visited via pressing the right arrow button while home4.mht(or .html or .search), home3.mht(or .html or .search) ... with long pressing the left arrow.
Click download button on the bottom toolbar to save remote webpage, the resulted offline file can be used as one of the home screens.
+Configuration folder and file managers
+With bookmark, configuration folders can be symbolic linked to other public folders or managed by 3rd party file managers via termux.
Last Modified: 1 December 2023
+rename pccopy.md to textprocess.md
+
This page is for uweb browser.
+Click to install the following local indexes with corresponding search engines (for test only).
+install the indexes for "American heritage dictionary (en-en&zh with AHD/D.J./K.K. pronunciation)"
+Install AHD to home screen
Indexes for "研究社新編英和活用大辞典(English usage: en-en&ja)"
+Install "English usage (en-en&ja)"
Indexes for SOED6
+install SOED
The following dictionaries work better with markdown processor.
+Install markdown processor
+Indexes for "Merriam Webster International Unabridged"
+Install MWI
Indexes for ODE3
+Install ODE3
Indexes for "Encyclopedia Britannica"
+Install "Encyclopedia Britannica"
Last Modified: 27 September 2022
+add en/.../tools.md
+
The uweb internal link "i:0m" make any url such as download or indirect link visitable as a website. The test mirrors in the uweb manual are examples using the following tricks:
+For more complicated links such as cloud storage shared links, which need user gestures to reach temporary generated content link, use
+"i:0m/.../[local.html]:[url]", where the local file "/.../[local.html]" processes "[url]" as needed.
Last Modified: 14 May 2023
+update bingAI/js/optionsSets.js
+
Click the following links to install url services with uweb browser. Force exit and re-launch the app, then long press the "image" button to popup the menu.
+ + + + + + + + + +Extract web app:i:0bsitecache/local/:
+tgurl:https://tx.me/share/url?url=
+tgdownload:https://tx.me/share/url?url=../download
+ +papago:https://papago.naver.net/website?locale=en&target=en&url=
+google translate:https://translate.google.com/translate?sl=auto&tl=en&u=
+ +outline:https://www.outline.com/
+2pdf:https://www.web2pdfconvert.com#
+printfriendly:https://www.printfriendly.com/print/?url=
+htmlview:https://htmlview.glitch.me/?
+htmlpreview:https://htmlpreview.github.io/?
+webarchive:https://web.archive.org/web/*/
+archive:https://archive.is/?run=1&url=
+googlecache:http://webcache.googleusercontent.com/search?q=cache:
+google by image:https://www.google.com/searchbyimage?safe=off&image_url=
+tinyeye:https://tineye.com/search?url=
+Yandex by image:https://yandex.com/images/search?family=yes&rpt=imageview&url=
+ascii2d:https://ascii2d.net/search/url/
+trace.moe:https://trace.moe/?url=
+saucenao:https://saucenao.com/search.php?url=
+Add to Feedly:https://feedly.com/i/subscription/feed/
+Video download:https://tbvd.herokuapp.com/redirect?url=
+Audio download:https://tbvd.herokuapp.com/video?audio=on&url=
+Site analyzer:https://www.similarweb.com/website/
+Site buildwith:https://builtwith.com/?
+instapaper:https://www.instapaper.com/text?u=
+google docs:http://docs.google.com/gview?embedded=true&url=
+in which "redirect" needs default.redirect.
+The following is mostly useful to send msg to TV (TV side needs to execute "wait for msg" first):
+ + +Send url(bookmark):i:5ji:52../home5:
+ + +Send url(bookmark fullscreen):i:5ji:52../home5:i:5f
+Send url(site fullscreen):i:5ji:0mi:5f:
+ +Send url(bookmark site fullscreen):i:5ji:52../home5:i:0mi:5f:
+The following needs corresponding html5 application to be installed:
+txtview:file:///data/user/0/info.torapp.uweb/files/app/txtview.html?url=
+md+katex:file:///data/user/0/info.torapp.uweb/files/app/mdkatex.html?url=
+markdeep:file:///data/user/0/info.torapp.uweb/files/app/markdeep.html?url=
+plyr:file:///data/user/0/info.torapp.uweb/files/app/plyr.html?u=
+dplayer:file:///data/user/0/info.torapp.uweb/files/app/dplayer.html?u=
+pdf:file:///data/user/0/info.torapp.uweb/files/app/pdfviewer.html?file=
+epub:file:///data/user/0/info.torapp.uweb/files/app/epub.html?u=
+djvu:file:///data/user/0/info.torapp.uweb/files/app/djvu.html?url=
+ +Last Modified: 5 December 2023
+i:5g sematics change
+
总体来说,分为手动控制和针对特定网站的规则两大类办法。手动控制可以保存为网站配置从而自动化。
+长按底部工具栏窗口管理按钮,选取"仅显示图片"或"仅显示视频",图片视频网站彻底干净。选取"禁用伪元素","禁用iframe"。更多可参看自定义样式。
+长按[☰]按钮"自动全屏播放",直接全屏无干扰播放。不良信息没有任何机会出现。不使用全局脚本“自动全屏播放”的情况下,还可以有以下几种方法:
+长按设置,选取"拦截外链脚本"。可在界面配置及杂项网页额外拦截第三方可疑资源。可配置白名单js.allow。
+长按[☰]按钮可隐藏浮动信息,移除横幅,清空定时器(防止定时触发不良信息),中断可疑事件(防止用户操作触发),等待(防止延迟触发)。
+直接关闭图像。
+关闭[JS]脚本。
+url.deny。需要屏蔽的url正则表达式(java语法),忽视回车,可用"#"开头注释。
+Last Modified: 20 February 2023
+use relative path
+