diff --git a/html/app.js b/html/app.js index cc46f636..b7d5eb15 100644 --- a/html/app.js +++ b/html/app.js @@ -5208,6 +5208,15 @@ CefSharp.BindObjectAsync( this.saveMemo(D.id, D.memo); }; + $app.methods.getFaviconUrl = function (resource) { + try { + var url = new URL(resource); + return `https://www.google.com/s2/favicons?domain=${url.origin}`; + } catch (err) { + return ''; + } + }; + API.$on('LOGOUT', function () { $app.userDialog.visible = false; }); diff --git a/html/index.html b/html/index.html index cbb094e0..218df4e4 100644 --- a/html/index.html +++ b/html/index.html @@ -971,7 +971,6 @@ -
{{ userDialog.ref.bio || '-' }}