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.

// ==UserScript==
// @name         Append Hostname to Window Title
// @namespace    https://greasyfork.org/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 + ")";
})();