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