uweb browser: unlimited power /en/ Recent content on uweb browser: unlimited power Hugo -- gohugo.io Tue, 21 Mar 2023 00:00:00 +0000 Links /en/links/ Tue, 21 Mar 2023 00:00:00 +0000 /en/links/ Click the following links to install menus popped by long pressing the bookmark button (with star as icon): Select All:CTRL-A/undo:CTRL-Z/Redo:CTRL-Y Extend site cookies to 10 years Clear site cookies VPN Switch configuration Wait for network msg Certificate info Backup to box.com Restore from box.com upload to box.com More webdav link menu items Web fullscreen Long pressing the bookmark button in uweb browser will popup menus defined in file "default.link". The file format is as follows: Hosts files /en/adblock_domain/ Mon, 20 Mar 2023 00:00:00 +0000 /en/adblock_domain/ The hosts files "hosts" and "default.hosts" take effect when the setting option "using hosts" is checked. The file "hosts" defines IP addresses for domains. Each line has the following format: [IP address][single space][domain name] "default.hosts" blocks whole domain trees including all descedant 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. Search engines /en/search/ Tue, 07 Mar 2023 00:00:00 +0000 /en/search/ 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/ perplexity:https://www.perplexity.ai/?q= 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= wolfram:https://www.wolframalpha.com/input/?i= fxsolver:https://www.fxsolver.com/browse/?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= 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 " JS/CSS/HTML/preprocessing for domains /en/sitejs/ Sat, 28 Jan 2023 00:00:00 +0000 /en/sitejs/ Javascript (load when page completes, earliest loaded JS should use sitecss). Need to be named as "[domain root].js", such as "yahoo.com.js" or "finance.yahoo.com.js". The script will be loaded on the whole domain tree sites. If several files matches the domain, then the script with longest file name is loaded. Script must be put under the folder "sitejs" or "/data/data/info.torapp.uweb/files/sitejs". The later folder has the priority. Long press the button "settings", check the option "Run user scripts". Bookmarks /en/bookmark/ Mon, 16 Jan 2023 00:00:00 +0000 /en/bookmark/ AI, chatgpt etc. freegpt teach-anything magickpen Wait for url from other devices berify: reverse image search for video Tips File handling and styling with home.css "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 Bookmarks with secrets (POST instead of GET) The search engine (". Tips /en/tips/ Mon, 16 Jan 2023 00:00:00 +0000 /en/tips/ 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 ** Use POST-type search engine as bookmark to auto login ** 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 . Address bar command line /en/acmd/ Sun, 08 Jan 2023 00:00:00 +0000 /en/acmd/ ":!" ( or "!") 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. Offline resources /en/offlinecache/ Fri, 25 Nov 2022 00:00:00 +0000 /en/offlinecache/ Click to install url service that extracts web apps to the folder "sitecache/local/": support web extensions (.crx for chrome & .xpi for firefox). 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. PWAs (Progresssive Web Applications) and some web extensions (.crx for chrome & .xpi for firefox) are just packaged websites. Make any url as website /en/url2site/ Sun, 30 Oct 2022 00:00:00 +0000 /en/url2site/ 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: "i:0m04:[url]": to treat the [url] content as html with bookmarklet. "i:0mi:5h:[url]": to treat the [url] content as html (for download or no-script links etc.) "i:0mi:5h?[postfix]::[url]": auto append query postfix to url to retrieve content. "i:0mi:5h/[regex]/[replacement]::[url]": use the result of regular expression replacement to retrieve the content. Html5 applications /en/html5/ Sun, 02 Oct 2022 00:00:00 +0000 /en/html5/ 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. Features The following mentioned subfolders locate in the configuration folder. The following html5 applications are allowed to read local files referred by "https://local/sdcard/. Downloads /en/changelog/ Fri, 16 Sep 2022 00:00:00 +0000 /en/changelog/ Amazon appstore uweb, termux & history versions github sourceforge powerfolder pagure Main features Change logs 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. Site map /en/sitemap/ Thu, 28 Jul 2022 00:00:00 +0000 /en/sitemap/ UI Search engines Home screens UI (gitee) webdav install-able menu generator Customization Long pressing menus for toolbar buttons User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Address bar command modes Font settings Advanced Content AD blocking CSS styles Redirection Offline cache JS/CSS/HTML/preprocessing for domains Any urls as website Tools Bookmarklets Custom file handling Html5 application Termux Info Manual Tips Configuration files Bookmarks Configuration folders/files /en/filenames/ Thu, 30 Jun 2022 00:00:00 +0000 /en/filenames/ 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. AD blocking /en/adblock/ Sat, 25 Jun 2022 00:00:00 +0000 /en/adblock/ Host blocking。 Use bookmarklet "list all script urls" to generate url links, long pressing dubious script (usually 3rd-party library) link, click "Block domain root". Javascript and CSS for domains。 Long press the button "js", click the menu "MarkAD mode". In "markAD mode", click page element to show all attributes and generate CSS AD blocking styles. By default, "display:none" is used. If "display" appears in the attribute information, recommend to use "transform:scale(0)! Bookmarklets /en/bookmarklet/ Fri, 24 Jun 2022 00:00:00 +0000 /en/bookmarklet/ 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. List all script urls 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 Url services /en/urls/ Fri, 10 Jun 2022 00:00:00 +0000 /en/urls/ 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. Fullscreen video:i:5f Redirect/edit:e: Save2autocomplete:i:51: Bookmark:i:52: Note:i:53: Save engine:i:54: 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= google translate:https://translate.google.com/translate?sl=auto&tl=en&u= Source:view-source: 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?image_url= tinyeye:https://tineye.com/search?url= Yandex image:https://yandex.com/images/search?text= Commands /en/cmds/ Thu, 02 Jun 2022 00:00:00 +0000 /en/cmds/ 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 data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' ! -name '*.cjar' -type f -delete Clear database::rm -rf /data/data/info.torapp.uweb/databases/* Append query to autocomplete:uweb:cd /data/data/info.torapp.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i>a.tmp;mv a.tmp default.autoc;>query.log;echo file:///data/data/info.torapp.uweb/files/default.autoc Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache Clear logcat::logcat -c Execute javascript codes /en/rjs/ Wed, 01 Jun 2022 00:00:00 +0000 /en/rjs/ 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:../../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. Resource redirection /en/redirect/ Mon, 25 Apr 2022 00:00:00 +0000 /en/redirect/ Click the following links to append mirrors to the file "default.redirect": github mirror:fastgit github mirror 2 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]". Ways to enable redirection: Long the image button。 Long pressing the setting button, enable the option "url redirection". Text selection /en/pccopy/ Sat, 23 Apr 2022 00:00:00 +0000 /en/pccopy/ Click the following links to install menus for long pressing the button "link": Search with home screen google Translate bing translate deepL The file "default.select" defines 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: CSS styles /en/globalcss/ Sun, 03 Apr 2022 00:00:00 +0000 /en/globalcss/ Uweb browser loads all ".css" files under the folder "css" as global css. Click the following links to install global css files: Clearing font settings The file "night.css" is used as night mode, click the following links to install one: webview 81+ night mode webview 80- night mode Toolbar customization /en/icons/ Sun, 06 Feb 2022 00:00:00 +0000 /en/icons/ 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. Search engine files /en/searchcat/ Mon, 10 Jan 2022 00:00:00 +0000 /en/searchcat/ 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] [Extra request headers] Ex. "X-Forwarded-For;8.8.8.8" when [post params] is empty, the url should have '%s' as keyword. Ex. bingUS engine w/ chatgpt Limitations (they are here for performance reasons): Termux /en/termux/ Sat, 01 Jan 2022 00:00:00 +0000 /en/termux/ Only the termux versions provided along with uweb browser can work seamlessly. Termux bookmarks 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 Click the following links to install termux configurations: .bashrc .inputrc z.sh commacd.sh .profile : only for kshell with naked termux (no initial packages, need the following fix for termux quick crash to be launched) Long pressed link menu /en/longclick/ Fri, 06 Nov 2020 00:00:00 +0000 /en/longclick/ To run commands 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. To visit url and load javascript file All ".js" files under the folder "longclick" are part of the popup menu. These javascript files are in the following format: The very first line can begin with "//" followed by website url that can have "%u" (current url), "%t" (title) etc. Tools /en/tools/ Sun, 06 Sep 2020 00:00:00 +0000 /en/tools/ This page is for uweb browser. install tdict_local (search with local indexes and remote content) 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 Custom file handling /en/filecap/ Mon, 24 Aug 2020 00:00:00 +0000 /en/filecap/ 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: Gestures /en/gesture/ Thu, 18 Jun 2020 00:00:00 +0000 /en/gesture/ 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. /en/readme/ Mon, 01 Jan 0001 00:00:00 +0000 /en/readme/ Uweb browser: unlimited power 中文 Amazon appstore Downloads Uweb browser: downloads, plugins and tips (Mirrors: netlify gitlab stormkit surge codeberg repo pages vercel bitbucket render) Powerful: any native functionality with html5 enhancement and still secure; any urls to host website; javascript and shell scripting for general processing; piping between console and GUI and more with Termux. Customizable: user-defined menus, (new) buttons and gestures for user agents, bookmarklets, url services, shell commands, internal functionality links and text processing etc.