mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-11 19:03:51 +02:00
Fix console spam
This commit is contained in:
@@ -136,6 +136,9 @@ function copyToClipboard(text, message = 'Copied successfully!') {
|
||||
}
|
||||
|
||||
function getFaviconUrl(resource) {
|
||||
if (!resource) {
|
||||
return '';
|
||||
}
|
||||
try {
|
||||
const url = new URL(resource);
|
||||
return `https://icons.duckduckgo.com/ip2/${url.host}.ico`;
|
||||
|
||||
Reference in New Issue
Block a user