Change and maintain custom tab titles

Latest Version

Version
1.0
Update
December 5, 2024
Size
30.72KiB
Developer
Category
Users
7
Rating
0 ★
Manifest Version
3
Web Store Status
Languages Support
English (United States)
See more
Permissions
Storage
Scripting
Tabs
See more

Custom Tab Title Extension

This extension allows you to set and maintain custom tab titles for enhanced organization and clarity. It aims to handle all known title change scenarios to preventing flickering from occurring if the page tries to change its title while you have a custom one set.

When you click the extension's icon, a popup is shown with the following main options:

1. Set Custom Title: This applies to just your current page in this tab and is maintained even if the page is refreshed.
2. Maintain on Navigation: This applies your custom title for the current tab even if you navigate to other pages within that tab. It is enabled by default, although it only has an effect if a custom title is set.
3. Reset Title: Clears the saved custom title setting for the current tab and changes the title back to the one the page most recently tried to set it to, while allowing the page to change its title freely again.

There is also a Change Shortcuts button that brings you to Chrome's extensions shortcuts page so you may alter or disable the default shortcuts.

Default Keyboard Shortcuts:
- Set Custom Title: Alt + Shift + S
- When pressed, a text input will show in the middle of the screen, which can be submitted with Enter. It can be canceled by pressing the shortcut again or by pressing Escape.
- Reset Custom Title: Alt + Shift + R
- Toggle Maintain on Navigation: Alt + Shift + M


For feature requests or bug reports, feel free to send me an email: [email protected]
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Custom Tab Title", "version": "1.0", "description": "Change and maintain custom tab titles", "permissions": ["storage", "scripting", "tabs"], "host_permissions": [""], "icons": { "16": "icons/icon16.png", "48": "icons/icon48.png", "128": "icons/icon128.png" }, "action": { "default_popup": "popup.html", "default_icon": { "16": "icons/icon16.png", "48": "icons/icon48.png", "128": "icons/icon128.png" } }, "background": { "service_worker": "background.js" }, "content_scripts": [ { "js": ["content.js"], "matches": [""], "run_at": "document_start" } ], "web_accessible_resources": [ { "resources": ["titleOverride.js", "tests/tests.html"], "matches": [""] } ], "externally_connectable": { "matches": ["*://*/*"] }, "commands": { "set_custom_title": { "suggested_key": { "default": "Alt+Shift+S" }, "description": "Set custom tab title" }, "reset_custom_title": { "suggested_key": { "default": "Alt+Shift+R" }, "description": "Reset custom tab title" }, "toggle_maintain": { "suggested_key": { "default": "Alt+Shift+M" }, "description": "Toggle maintain title on navigation" } }}
Read more