Not reviewed
No code review on record
We have not reviewed this extension’s code, so we cannot vouch for it either way. Check the permissions below to decide whether it asks for more than it needs.
Want us to read this extension's code? Ask for a review and we'll queue it.
What our analysis found
Unread Tabs Restorer is not yet reviewed by Extension Auditor. Its permissions mean it can read and change data on all websites. It comes from a publisher with 2 extensions and was last updated in December 2021.
Unread Tabs Restorer Firefox extension security report
ID: unread-tabs-restorer
Extension Info & Metadata
Publisher Contextual Analysis
- Author
- satcp
You reached today's free scan limit (3/3 unique extensions).
Upgrade for full visibility.
Screenshots & videos
Install growth
About this extension
Restores ability to style unread tabs via userChrome.css.
Read the publisher’s full description
<b>Unread Tabs Restorer</b> Some Firefox users prefer to apply different styles to tabs depending on their status for clarity: unloaded, unread,... In the past there were extensions like Tab Mix Plus that do this but support for legacy XUL extensions was removed with the release of Firefox 57 in November 2017. Many legacy extensions, including Tab Mix Plus, were never upgraded to WebExtensions due to limitations of the new API. Nevertheless, it was still possible to style tabs depending on their status through userChrome.css: <code> .tabbrowser-tab[pending] { /* Set styles for unloaded tab */ } .tabbrowser-tab[busy] { /* Set styles for loading tab */ } .tabbrowser-tab[unread] { /* Set styles for unread tab */ }</code> With the release of Firefox 61 in June 2018 support was removed for detecting unread tabs in userChrome.css [Bug 1453957]. At this moment the only way to restore this functionality is by injecting JavaScript in each tab page to change the tab title after loading the page. That is exactly what this extension does. The tab title change can be detected in userChrome.css with titlechanged. After installing this extension <code>.tabbrowser-tab[unread]</code> must be changed to <code>.tabbrowser-tab[titlechanged]</code> in userChrome.css: <code> .tabbrowser-tab[pending] { /* Set styles for unloaded tab */ } .tabbrowser-tab[busy] { /* Set styles for loading tab */ } .tabbrowser-tab[titlechanged] { /* Set styles for unread tab */ }</code> <b>Permissions</b> Unread Tabs Restorer requires following permissions: <ul><li>Access your data for all web sites</li><li>Access browser tabs</li></ul>Why does this extension require access your data for all web sites? The unread functionality can only be restored by injecting JavaScript in all tabs. If you think this is unacceptable, please do not install this extension. If you want to know what exactly the extension does, download the extension xpi file, unpack it and inspect the content. <b>Principle of operation</b> The extension is less than 40 lines of code spread over 3 files: <ul><li>background.js</li><li>tab_loaded.js</li><li>tab_activated.js</li></ul>Script background.js executes tab_loaded.js when a tab is loaded in the background and tab_activated.js when a tab is selected. Script tab_loaded.js appends a hidden character to the tab title to trigger titlechanged that can be used in userChrome.css. Script tab_activated.js removes the hidden character again. <b>Usage</b> To use custom tab styles and Unread Tabs Restorer you must enable the loading of userChrome.css. This is disabled by default in newer Firefox versions: <ul><li>Launch Firefox</li><li>Navigate to <code>about:config</code></li><li>Search for <code>toolkit.legacyUserProfileCustomizations.stylesheets</code> and set it to <code>true</code></li><li>Navigate to <code>about:profiles</code></li><li>Locate the Root Directory of the profile in use and click the Open Folder button</li><li>Create a new folder named <code>chrome</code></li><li>Create a new text file named <code>userChrome.css</code> in the chrome folder</li><li>Open userChrome.css in a plain text editor and paste following CSS styles:</li></ul><code> .tabbrowser-tab[pending] { color: red !important; } .tabbrowser-tab[busy] { color: dimgray !important; } .tabbrowser-tab[titlechanged] { color: blue !important; }</code> This will make the text of unloaded tabs red, loading tabs grey and unread tabs blue. Feel free to customize the styles to your liking. Finally restart Firefox to enjoy the new tab styles. <b>Future</b> There are no plans to add additional features to Unread Tabs Restorer. The extension was developed only to restore the lost functionality of unread tabs. The extension will become obsolete when Mozilla reimplements the unread tabs functionality or removes support for userChrome.css completely. <b>Credits</b> Unread Tabs Restorer is based on the Tab Flag extension by EffPeh. <b>License</b> Unread Tabs Restorer is published under the Mozilla Public License Version 2.0.
User reviews
Extension files
Browse and explore files within this extension package
You reached today's free scan limit (3/3 unique extensions).
Upgrade for full visibility.
No network indicators were extracted from this version.
You reached today's free scan limit (3/3 unique extensions).
Upgrade for full visibility.
