Title - host

This extension changes the tab title to include the host. Make Chrome fully compatible with KeePass autotype.

Was ist Title - host?

Title - host ist eine Chrome-Erweiterung, die von jpauls entwickelt wurde, und ihr Hauptmerkmal ist "This extension changes the tab title to include the host. Make Chrome fully compatible with KeePass autotype.".

Erweiterungsscreenshots

screenshot

Title - host-Erweiterungs-CRX-Datei herunterladen

Laden Sie Title - host-Erweiterungsdateien im crx-Format herunter, installieren Sie Chrome-Erweiterungen manuell im Browser oder teilen Sie die crx-Dateien mit Freunden, um Chrome-Erweiterungen einfach zu installieren.

Anleitung zur Verwendung der Erweiterung

                        Don't worry about your privacy, full code is below. 

v1.1.2 Added manifest short_name. Improved description.

v1.1.1 Continue checking for dirty title for entire time on webpage.  This improves compatibility with sites like Gmail who change the title every time an email is clicked.

v1.1.0 Refined code to fix hard to change site titles. Code runs asynchronously in background. Checks every second for fifteen seconds.

function sleep(ms) {
  return new Promise(resolve => setTimeout(resolve, ms));
}

async function titlehost() {
  while(true)
  {
	Log('checked');
	if(IsTitleDirty())
		ChangeTitle();
	await sleep(1000);
  }
}

function IsTitleDirty() {
  return (!GetTitle().endsWith(GetHost()));
}

function ChangeTitle() {
  document.title = GetTitle() + ' - ' + GetHost();
  Log('changed');
}

function GetTitle() {
  return document.title;
}

function GetHost() {
  return location.host;
}

function Log(message) {
  return console.log('Title - host> ' + message);
}

titlehost();                    

Grundlegende Informationen zur Erweiterung

Name Title - host Title - host
ID ijgmehophgjjjhipcmcfblojkekdecfo
Offizielle URL https://chromewebstore.google.com/detail/title-host/ijgmehophgjjjhipcmcfblojkekdecfo
Beschreibung This extension changes the tab title to include the host. Make Chrome fully compatible with KeePass autotype.
Dateigröße 50.55 KB
Installationsanzahl 56
Aktuelle Version 1.1.2
Letztes Update 2017-11-01
Veröffentlichungsdatum 2017-11-01
Bewertung 5.00/5 Insgesamt 2 Bewertungen
Entwickler jpauls
E-Mail [email protected]
Zahlungsart free
Unterstützte Sprachen en-US
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 2,
    "name": "Title - host",
    "short_name": "Title - host",
    "author": "Jeff Schollaart",
    "description": "This extension changes the tab title to include the host.  Make Chrome fully compatible with KeePass autotype.",
    "version": "1.1.2",
    "icons": {
        "16": "icon16.png",
        "48": "icon48.png",
        "128": "icon128.png"
    },
    "content_scripts": [
        {
            "matches": [
                ""
            ],
            "js": [
                "titlehost.js"
            ]
        }
    ]
}