javascript for domains
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:https://fastly.jsdelivr.net/gh/torappinfo/uweb/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):
Eruda
Performance
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]
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) .
Put a domain followed by "::" in the file "default.redirect" to allow CORS with the option "resource redirection".