Reorganize assets folder

This commit is contained in:
2026-05-08 08:34:11 +02:00
parent d8089d9cb3
commit fcbfeeb96a
18 changed files with 16 additions and 16 deletions
+12
View File
@@ -0,0 +1,12 @@
(function () {
document.querySelectorAll('.content a[href^="http"]').forEach(function (a) {
var hostname = new URL(a.href).hostname;
var img = document.createElement('img');
img.src = 'https://icons.duckduckgo.com/ip3/' + hostname + '.ico';
img.width = 16;
img.height = 16;
img.style.verticalAlign = 'middle';
img.style.marginRight = '3px';
a.prepend(img);
});
})();