uweb browser: unlimited power /en/ Recent content on uweb browser: unlimited power Hugo -- gohugo.io en Fri, 08 Mar 2024 14:38:41 +0800 Text selection/processing /en/textprocess/ Fri, 01 Dec 2023 00:00:00 +0000 /en/textprocess/ Click the following links to install menus for long pressing the button "link": Copy selected text with html format to clipboard Search with home screen google Translate bing translate deepL 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]. Links /en/links/ Sat, 28 Oct 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): 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 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. cron /en/tcron/ Wed, 25 Oct 2023 00:00:00 +0000 /en/tcron/ crontab (with enhanced semantics) 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. Offline resources /en/offlinecache/ Tue, 11 Apr 2023 00:00:00 +0000 /en/offlinecache/ 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. bingChat UI 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) Serverless local sites Click to install url service that extracts web apps to the folder "sitecache/local/": support web extensions (. Resource redirection /en/redirect/ Tue, 11 Apr 2023 00:00:00 +0000 /en/redirect/ ⚠️Redirection forwards cookies with the setting option "Redirect cookies" enabled, so use the options with care. Setting options: "Url redirection" vs. "Resource redirection" "Url redirection" redirects the main/page url only while "Resource redirection" is for all urls in the page. Global redirection 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. Hosts files /en/adblock_domain/ Mon, 20 Mar 2023 00:00:00 +0000 /en/adblock_domain/ The enhanced hosts files "hosts" and "default.hosts" take effect with the setting option "use hosts". 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. Search engines /en/search/ Tue, 07 Mar 2023 00:00:00 +0000 /en/search/ 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= you:https://you.com/search?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= 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. google gemini komo andi devv.ai poe 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 Tips /en/tips/ Mon, 16 Jan 2023 00:00:00 +0000 /en/tips/ 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), . 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. 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:0m?:[url]": to treat the [url] content as html, handling css/js properly. "i:0m?[postfix]:[url]": auto append query postfix to url to retrieve content. "i:0mi:5h:[url]": similar to "i:0m?:[url]", to treat the [url] content as html (for download or no-script links etc. 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 Galaxy.Store uweb, termux & history versions github sourceforge powerfolder udrop pagure mcbebbs Main features Change logs 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 Configuration /en/sitemap/ Thu, 28 Jul 2022 00:00:00 +0000 /en/sitemap/ Check for updates 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 Advanced Advanced Content AD blocking CSS styles Redirection Offline cache JS/CSS/HTML/preprocessing for domains Any urls as website Tools Bookmarklets Cron & more 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/: 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?safe=off&image_url= tinyeye:https://tineye.com/search?url= Yandex by image:https://yandex.com/images/search?family=yes&rpt=imageview&url= 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 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 Eruda Performance Note: Bookmarklets whose names begin with "! 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 Earliest loaded global js The ".js" files under the folder "css" are loaded as earlier as possible on the page. 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. 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. 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: . 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.