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)
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:
uweb browser will handle local file urls (file:///) specially for some file types：
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.
Toggle fullscreen mode
Rotate the screen
Scan the fileurl and add it to media storage
Show the secure cookie
Config http proxy, ":010:" to disable any proxy.
cookie copy from url1 to url2, the last part "[:;[cookie attributes]]" is optionable.
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"
: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.
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).
Visiting url and execute the uweb browser internal bookmarklet that keeps valid for all urls under the path of [url].
Set address bar text to be [string].
i:16[mimetype]:[Action Name]:[App Name]:[Activity Name]
Use third party app as input
Read partial data from url.
Append [string] to the address bar text.
Show web certificate.
Launch app for specific
Wait to receive url from the network and open the url.
Wait to receive url from the network and open the url (not showing ip)
Open file manager for removable SDCARD download folder
Save [string] as file
Save [url] to ".autoc" file.
Save as search engine.
Save as link.
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)
execute [jscode], even when js is disabled for the web page.
Save to the desktop.
Receive content from network to the file.
Copy [string] to the clipboard.
Change auto page turning internal url to be [url].
Open the file url compatible to other browsers.
play video fullscreen. if videourl is empty, then make following requestFullscreen() work.
force html for [url] visiting
Use the existing tab for the url with possible different url hash part.
if [string] is file url, then send the file/folder to network, otherwise send [string] to network.
play video in external player
If existing local file, then open it or visit the [url].
Evaluate the [js code] and save the returned string to file.
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.
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.
use "i:0mi:92Host;126.96.36.199::https://news.ycombinator.com" to visit the site with specified IP address.
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: 5 June 2023
add long screenshot support
i:56 urls support CTRL_A to CTRL-Z