Item logo image for Title - host

Title - host

5.0(

2 ratings

)
ExtensionWorkflow & Planning52 users
Item media 1 screenshot

Overview

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

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();

5 out of 52 ratings

Google doesn't verify reviews. Learn more about results and reviews.

Details

  • Version
    1.1.2
  • Updated
    November 1, 2017
  • Offered by
    jpauls
  • Size
    50.55KiB
  • Languages
    English (United States)
  • Developer
    Email
    jpauls@gmail.com
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

The developer has not provided any information about the collection or usage of your data.

Support

For help with questions, suggestions, or problems, please open this page on your desktop browser

Google apps