该扩展名将标签标题更改为包含主机。使Chrome与KeePass autotype完全兼容。
不用担心您的隐私,下面是完整的代码。
v1.1.2添加了清单short_name。
改进的描述。
v1.1.1继续在网页上整个时间检查脏标题。
这样可以提高与Gmail等网站的兼容性,这些网站每次单击电子邮件都会更改标题。
v1.1.0改进的代码可修复难以更改的网站标题。
代码在后台异步运行。
每秒检查15秒钟。
函数sleep(ms){返回新的Promise(resolve => setTimeout(resolve,ms));
}异步函数titlehost(){while(true){Log('checked');
if(IsTitleDirty())ChangeTitle();
等待睡眠(1000);
}}函数IsTitleDirty(){return(!GetTitle()。endsWith(GetHost()));
}函数ChangeTitle(){document.title = GetTitle()+'-'+ GetHost();
Log('changed');
}函数GetTitle(){返回document.title;
}函数GetHost(){返回location.host;
}函数Log(message){返回console.log('Title-host>'+ message);
} titlehost();
支持语言:English (United States)