browsers
This your brain on the internet
notes
- ctrl-shift-R for force cache reload
- ctrl-w for close tab
- ctrl-t for new tab
- ctrl-tab for switch tab
- threads provided via web workers
- offline webapp manifest support with service worker
- ARIA elements for accessibility
- third-party iframe service workers can only register themselves if third party cookies are enabled
chrome://settings/cookies - URL hash fragments can store information that the browser should not send to backend (customization)
- webgpu has issues on wayland with gl backend
pwa
- managed under
brave://apps/orchrome://apps - progressive web apps have a manifest and service worker for offline installable apps
- must have name, icons, start-url and display
- can be published as a TWA (trusted web app) android application with bubblewrap
- service workers should not cache the manifest, itself or icons (16x16 and 32x32 should be cached for browser favicons)
- service workers require https or
chrome://flags/#unsafely-treat-insecure-origin-as-secureto be set locally
- add the manifest to the html
<head>as<link rel="manifest" href="./manifest.json"> - Isolated Web Apps for signed updates
{
"name": "Progressive Web App",
"short_name": "PWA",
"icons": [{
"src": "./icon-256.png",
"sizes": "256x256",
"type": "image/png"
}],
"lang": "en-US",
"start_url": "./index.html",
"display": "standalone",
"background_color": "white",
"theme_color": "white"
}
<script>
// register ServiceWorker
window.onload = () => {
'use strict';
if ('serviceWorker' in navigator) {
navigator.serviceWorker
.register('./service_worker.js');
}
}
</script>
var cacheName = 'pwa';
var filesToCache = [
'./',
'./index.html',
'./build/bundle.js',
'./build/bundle.wasm'
];
/* Start the service worker and cache all of the app's content */
self.addEventListener('install', function(e) {
e.waitUntil(
caches.open(cacheName).then(function(cache) {
return cache.addAll(filesToCache);
})
);
});
/* Serve cached content when offline */
self.addEventListener('fetch', function(e) {
e.respondWith(
caches.match(e.request).then(function(response) {
return response || fetch(e.request);
})
);
});
chrome
- Type
thisisunsafeanywhere on the SSL ERROR window and the browser will let you visit the page. - Gemini nano AI by default in 128+
chrome://flags/#prompt-api-for-gemini-nano, summarization, writer, rewritter etcchrome://flags/#optimization-guide-on-device-modeltoBypassRefRequirement- console
await window.ai.summarizer.create()to makechrome://componentsshow Optimization Guide On Device Model (didnt work with flatpak)const model = await window.ai.createTextSession(); await model.prompt("Who are you?");
- https://chromeai.co/
- ~2GB vram/space for gemma-2b-it-gpu-int4
- can load models from disk
chrome://tracingfor browser tracing- https://chrome.google.com/webstore/detail/perfetto-ui/lfmkphfpdbjijhpomgecfikhfohaoine is the ui.perfetto.dev extension for tracing
- dev tools wasm dwarf debug extension https://chrome.google.com/webstore/detail/cc%20%20-devtools-support-dwa/pdcpmagijalfljmkmjngeonclgbbannb
- enable wayland scaling with
--enable-features=UseOzonePlatform --ozone-platform=waylandcli args - set size at launch
window-size=1920,1080 --ignore-certificate-errorscli arg to enable expired certs- pozzed by google
- changed to suit their needs
- deprecate app manifest v2 (brave preserves)
- allow any website to write to clipboard to make doodle work without required gesture
- brave thought about blocking
- changed to suit their needs
- blink and V8 for engine
- fork of chromium
- forks
- brave
brave://gpubrave://flags- file system api flag
- WebGPU flag
--enable-features=Vulkan--enable-features=Vulkan(not compat with wayland/ozone)- https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/gpu/vaapi.md#VaAPI-on-Linux-with-Vulkan suggests
--enable-features=AcceleratedVideoEncoder,VaapiOnNvidiaGPUs,VaapiIgnoreDriverChecks,Vulkan,DefaultANGLEVulkan,VulkanFromANGL
- https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/gpu/vaapi.md#VaAPI-on-Linux-with-Vulkan suggests
- builtin tor, ad block
- disable wallet, sidebar
- F12 Dev Tools -> Ctrl+Shift+P -> type 'shot' for screen capture options
brave://flags/#ozone-platform-hintset to auto for wayland default instead of x11- Alt w to close tab, ctrl tab to cycle, ctrl shift T to reopened closed tab
--window-size=1920,1080brave://flags/#brave-split-viewright click on tab to splitbrave://flags/#brave-web-view-rounded-corners
- ungoogled-chromium
- microsoft edge
- terminal browser
- cobalt embeded app
- Vanadium
- grapheneOS fork of hardened chromium for android
- enables memory tagging and site isolation by default
- grapheneOS fork of hardened chromium for android
- brave
safari
- webkit based
search engines
ddg
- fingerprinted users multiple times
- no js version at lite.duckduckgo.com
- uses bing (Micro$haft), yahoo
- allow microsoft tracking in product
- filters more than bing
- russians 'propaganda' sites (RT/sputnik) blocked/deranked
- torrent sites not blocked on bing blocked on ddg
brave
- tonemapping support for hdr pngs
- search.brave.com
- has 'Goggles' for custom ranking
- support bangs like !g
- https://search.brave.com/search?q=%s to add to browser
sites
info
tools
- web archive https://replayweb.page/
- libreoffice wasm
- https://directfile.irs.gov/
- https://uica.uops.info/
- https://qrcode.antfu.me/
- https://cowasm.sh/ (python wasm)
- https://shell.duckdb.org
load sqlite; load ducklake;attach 'ducklake:sqlite:metadata.sqlite' as my_ducklake (DATA_PATH 'data_files/');use my_ducklake;- inspect files with
FROM glob('*') - test data
CREATE TABLE nl_train_stations AS FROM 'https://blobs.duckdb.org/nl_stations.csv';
- inspect files with
- https://parquet-viewer.xiangpeng.systems/ is hosted XiangpengHao/parquet-viewer
- https://coalton.app/ for browser coalton
data
alternative frontends
- youtube
- https://incogsnoo.com/ (reddit)
media
- https://ustv247.tv/
- https://scnlog.me/
- https://nr4.d-snf.net/
- https://z-lib.org/
- https://libgen.is/
- https://hianime.to
- https://zoroxtv.to/
- https://upmovies.net/
- https://cs.rin.ru
- https://cdm-project.com/Download-Tools/StreamFab
- sanet.st
- https://annas-archive.org/
- https://search.rlsbb.cc/
- https://nibl.co.uk/bots (Rizon)
- https://animk.info/xdcc (Xertion)
- https://subsplease.org/ (Rizon)
- audioz.download
- https://www.binsearch.info/
- https://mangareader.to/
- https://mangadex.org/
- ubu.com/film/index.html
- https://rarefilmm.com/
- https://feed.animetosho.org/atom