feat(privacy): replace Google Favicons with local letter icons

Remove getFaviconUrl() and all external network requests. Bookmarks now
show a colored letter icon with deterministic hue based on title.
Eliminates privacy leak and Brave Shields compatibility issues.
This commit is contained in:
2026-04-16 20:22:18 +02:00
parent a3e21a760f
commit 6704f4c955
3 changed files with 11 additions and 28 deletions
-9
View File
@@ -33,15 +33,6 @@ function escHtml(str) {
.replace(/"/g, '"');
}
function getFaviconUrl(url) {
try {
const u = new URL(url);
return `https://www.google.com/s2/favicons?domain=${u.hostname}&sz=16`;
} catch {
return '';
}
}
function getDefaultBoards() {
return [
{