Append Hostname to Window Title

Append the domain name of the site to the window title. Helps offer a hint to tools like AHK so that they can identify the site loaded.

目前為 2024-01-26 提交的版本,檢視 最新版本

// ==UserScript==
// @name         Append Hostname to Window Title
// @namespace    https://gf.qytechs.cn/users/77886
// @version      0.3
// @description  Append the domain name of the site to the window title. Helps offer a hint to tools like AHK so that they can identify the site loaded.
// @author       muchtall
// @include      *://*/*
// @match        *://*/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    document.title = document.title + " - (" + window.location.hostname + ")";
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址