mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-20 23:33:50 +02:00
shows user's bio
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user