linuxserver / Heimdall

An Application dashboard and launcher
MIT License
7.46k stars 540 forks source link

Js 设置标题无效 #1318

Closed pyfkrzp closed 2 weeks ago

pyfkrzp commented 3 months ago

Js 设置标题无效

// 打开settings - 自定义 JavaScript,写入下面代码

$('title').text('home');

// 你自己的图标 const icon = 'https://cn.gravatar.com/avatar/3873858713e2e5d5d3ab136312737885?s=256&d=mm';

$('link[rel="mask-icon"]')[0].href = icon; $('link[rel="icon"]').each(function() { $(this)[0].href = icon; }) $('link[rel="apple-touch-icon"]').each(function() { $(this)[0].href = icon; })})})

LinuxServer-CI commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.