<commit_before><b>Classic Theme Restorers AMO website: https://addons.mozilla.org/addon/classicthemerestorer/ </b>

<b>Users of Debian 9 or later and Ubuntu 16.04 or later: `apt-get install xul-ext-classic-theme-restorer`</b>

This add-on restores squared tabs, the application button with application menu (known from Firefox for Windows), the add-on bar, bookmarks/history menu/sidebar buttons and other buttons. It moves star & feed buttons into location bar, adds status bar element to the ui and allows many items to be movable. All features are fully optional. Some buttons have to be moved to toolbars manually using browsers 'customizing' mode.

<i><b>Main features (on options window)</b></i>

<ul>
<li>Tab appearance: Squared classic tabs
<li>Tab appearance: Curved tabs (all colored and visible)
<li>Tabs not on top + [tabsontop="false/true"] attribute
<li>Tabs height settings
<li>Tabs min/max-width settings
<li>Tab close on all tabs, active tab, toolbars start/end
<li>Custom colors for tab backgrounds, text and text shadow
<li>Application button on toolbars
<li>Application button on titlebar [Windows only]
<li>Own title for application button on titlebar [Windows only]
<li>Predefined/custom application button colors
<li>Small navigation toolbar buttons
<li>Movable back-forward buttons
<li>Star button in location bar
<li>Rss-Feed button in location bar
<li>Movable status-bar panel
<li>Combine stop & reload buttons
<li>Hide location bars stop & reload buttons
<li>Hide private browsing mask
<li>Findbar on top or bottom
<li>'Icons & Text' and 'Text only' modes
<li>Add [iconsize="large"]/[iconsize="small"] attributes to #nav-bar node
<li>Compact panel menus (bookmarks, history...)
<li>Green/blue site identity button for verified websites and secure connections
<li>Replace context menu icons with labels (Back, Forward...)
<li>Add up to 20 additional toolbars
<li>Restore tabs empty favicon
<li>Replace generic favicon (empty and dotted) with sheet favicon
<li>Favicon in urlbars identity box (location bars left)
<li>Different padlock icons
<li>AeroBlue toolbar colors for Windows 8/XP/Classic, Linux, MacOSX 
<li>Hide navigation toolbar
<li>Inverted (white) toolbar button icons
<li>Double click on tabs toolbar opens a 'new' tab [Windows only]
<li>Hide tabs toolbar with one visible tab
<li>Toolbar settings to alter colors, sizes, borders
<li>Disable some ui animations
<li>Switch between old and new search
<li>...and more
</ul>

<i><b>Features (not on options window)</b></i>

<ul>
<li>Enable/disable 'Add-on Bar' (toolbar context menu)
<li>Toggle 'Add-on Bar' using 'Ctrl + /' btw. 'Cmd + /'
<li>Enable/disable 'Additional Toolbar' (toolbar context menu)
<li>Spaces, Flexible spaces, Separators
<li>Activity indicator on toolbars
<li>Bookmarks menu & sidebar buttons
<li>History menu & sidebar buttons
<li>Additional movable reload & stop buttons
<li>Movable urlbar container
<li>Movable (Firefox main) menu button
<li>Movable alltabs-button, webrtc-status-button, social-share-button
<li>...and more
</ul>

<b>Squared tabs</b>
Default 'curved tabs' can be optionally replaced with classic 'squared tabs'.
Tabs on MacOSX look more like Windows tabs with MacOSX colors on purpose.

<b>Curved alternative tabs</b>
All tabs are curved and use colours known from squared tabs.

<b>Tabs 'not' on top</b>
Simulates 'tabs.onTop=false' setting and moves tabs below navigation toolbar. On MacOSX tabs also get a 'reversed appearance'.

<b>Application button / application menu settings</b>

<i>Application button on [Firefox] titlebar [Windows only]</i>
The titlebar button is fixed on titlebars left like on Firefox since version 4.0. It is enabled by default on Windows systems.

<i>Application button on toolbars</i>
On toolbars the button appears like a default toolbar button.

<i>Application button colours</i>
On titlebar and tabs toolbar the application button can be orange, blue (Aurora), black (Nightly), blue (Palemoon), red, green and gray in normal browsing mode and purple in private browsing mode like on previous Firefox versions.

<i>Note</i>
The new appmenu is not an exact copy of the old one, but looks as original as possible. The 'splitmenu' will not be restored and the appmenu popup/submenus also miss some non-replicable menuitems.

<b>Small navigation toolbar buttons</b>
Navigation toolbar buttons get alternative margins and paddings to simulate old 'small icon view'.

<b>Hide 'Navigation Toolbar'</b>
Hiding navigation toolbar might be interesting after content got moved to other toolbars.

<b>'Add-on Bar'</b>
A toolbar at the bottom of the window. All movable buttons and items can be placed on it. Add-on bar can be enabled/disabled using toolbars context menu (right-click on a toolbar) or using 'Ctrl + /' (Windows/Linux) btw. 'Cmd + /' (MacOSX).

<b>'Additional Toolbar'</b>
A toolbar between navigation toolbar and bookmarks toolbar. It can be enabled/disabled using toolbars context menu (right-click on a toolbar).

<b>Icons + text / text only mode</b>
Simulates old icons + text / text modes where text was displayed below toolbar buttons or button icons got hidden.

<b>Bookmarks menu button</b>
A default 'menu button' which opens the 'classic' bookmarks menu. Positioned on bookmarks toolbar the button also displays its label.

<b>Bookmarks and history sidebar buttons</b>
Buttons which toggle bookmarks and history sidebar.

<b>Back-forward, reload and stop buttons</b>
Browsers default buttons got merged with urlbar and cannot be moved to different toolbar positions or to different toolbars. CTR adds duplicates of these buttons to the customization palette.

<b>Combined reload-stop button</b>
Place reload button AFTER stop button and enable the corresponding option on CTRs preference window. Hovering the option on preference window to get extra information.
Toolbar: [something]...[stop-button][reload-button]...[something]

<b>Spaces, flexible spaces and separators</b>
These toolbar items appear in customizing mode and can be moved to toolbars like on previous Firefox versions.

<b>Windows - Linux - MacOSX</b>
This add-on was tested on Windows 7 (AeroBasic, AeroGlass, Classic) & 8(.1) & XP (Classic, Luna-Blue/Silver/Olive, Zune, Royale), Linux Mint KDE, Ubuntu and MacOSX 10.8/10.9. On other Systems or non OS-default themes tab colors may look wrong. Bookmarks, history, stop, reload, back and forward toolbar buttons use default OS icons (Firefox Windows icons on Windows systems, Firefox Mac icons on MacOSX and Firefox Linux icons on Linux systems).

<b>Major problems with (discontinued?) Foxtab and Shareaholic add-ons</b>
It is strongly recommended to remove Foxtab  and Shareaholic before installing Firefox 29 or newer, because both break Firefox ui in Fx29+. Using Foxtab and/or Shareaholic with CTR breaks the ui even more.
If one of these add-ons already has corrupted the ui, the add-ons manager has to be accessed via menubar (right-click on a toolbar -> select menubar, Tools -> add-ons) and CTR, Shareaholic and Foxtab have to be uninstalled.
After Firefox has been restarted, "restore defaults" in customizing mode has to be hit once. CTR can be reinstalled afterwards and will work properly.

<b>Info, known 'issues', 'glitches'</b>
<ul>
<li>Application menus 'cut', 'copy' and 'paste' buttons do not always work like they should.
<li>Switching between AeroGlass and AeroBasic on Windows 7/Vista can change application buttons position, if the menubar is disabled. Maximizing/restoring browsers main window or restarting Firefox resolves the problem. This glitch is caused by Microsoft Windows and titlebars behavior and not by this add-on.
<li>Entering and leaving customizing mode 'disables' right-click menu items for bookmarks inside bookmarks menu button. A restart resolves this issue.
<li>Tab colors on MacOSX fit to current ui instead of using Firefox 28 colors. This is intended and not a bug.
<li>Do not install this add-on on pre-Australis Firefox (4-28). It is not intended to be used with old browser versions.
<li>This add-on was made for browsers <b>default theme</b> and will not work with all full/complete themes properly. However most Personas/LW-Themes work fine.
</ul>

##############################################

<b>It is recommended to <a href=https://developer.mozilla.org/en-US/docs/Mozilla/Multiple_Firefox_Profiles>switch to a clean new profile</a> to avoid UI issues after upgrading from Firefox 28 (and older) to Firefox 29 (and newer). <a href=https://addons.mozilla.org/addon/profileswitcher/>Profile Switcher</a> can help too. 

Note: Triggering "Restore Defaults" in customizing mode to reset toolbar configuration is enough in most cases and much easier to perform.</b>

##############################################

<b>AVAST AV software,"Browser Cleanup" and disappearing Firefox add-ons</b>

Current Avast versions offer a bugged version of "Browser Cleanup", which accidentally removes Firefox add-ons without any proper reason!
Although Avast is currently working on fixing this issues, it is highly recommended to remove or disable "Browser Cleanup" until problems are fixed.

Look at <a href=http://www.ghacks.net/2014/10/31/avasts-https-scanning-interferes-with-firefox-and-other-programs>gHacks</a>, <a href=http://forums.mozillazine.org/viewtopic.php?f=38&t=2888507>Mozillazine</a>, <a href=https://bugzilla.mozilla.org/show_bug.cgi?id=1099973>Bugzilla</a> or <a href=https://forum.avast.com/index.php?topic=160289.msg1152011#msg1152011>Avast forums</a> for more info.

##############################################

<b><a href=http://www.ghacks.net/2014/11/15/10-reasons-why-you-may-want-to-try-firefoxs-classic-theme-restorer-add-on/>gHacks.net article (10 Reasons why you may want to try Firefox’s Classic Theme Restorer add-on)</a></b><commit_msg>links update<commit_after><b>Classic Theme Restorers AMO website: https://addons.mozilla.org/addon/classicthemerestorer/ </b>

<b>Users of Debian 9 or later and Ubuntu 16.04 or later: `apt-get install xul-ext-classic-theme-restorer`</b>

This add-on restores squared tabs, the application button with application menu (known from Firefox for Windows), the add-on bar, bookmarks/history menu/sidebar buttons and other buttons. It moves star & feed buttons into location bar, adds status bar element to the ui and allows many items to be movable. All features are fully optional. Some buttons have to be moved to toolbars manually using browsers 'customizing' mode.

<i><b>Main features (on options window)</b></i>

<ul>
<li>Tab appearance: Squared classic tabs
<li>Tab appearance: Curved tabs (all colored and visible)
<li>Tabs not on top + [tabsontop="false/true"] attribute
<li>Tabs height settings
<li>Tabs min/max-width settings
<li>Tab close on all tabs, active tab, toolbars start/end
<li>Custom colors for tab backgrounds, text and text shadow
<li>Application button on toolbars
<li>Application button on titlebar [Windows only]
<li>Own title for application button on titlebar [Windows only]
<li>Predefined/custom application button colors
<li>Small navigation toolbar buttons
<li>Movable back-forward buttons
<li>Star button in location bar
<li>Rss-Feed button in location bar
<li>Movable status-bar panel
<li>Combine stop & reload buttons
<li>Hide location bars stop & reload buttons
<li>Hide private browsing mask
<li>Findbar on top or bottom
<li>'Icons & Text' and 'Text only' modes
<li>Add [iconsize="large"]/[iconsize="small"] attributes to #nav-bar node
<li>Compact panel menus (bookmarks, history...)
<li>Green/blue site identity button for verified websites and secure connections
<li>Replace context menu icons with labels (Back, Forward...)
<li>Add up to 20 additional toolbars
<li>Restore tabs empty favicon
<li>Replace generic favicon (empty and dotted) with sheet favicon
<li>Favicon in urlbars identity box (location bars left)
<li>Different padlock icons
<li>AeroBlue toolbar colors for Windows 8/XP/Classic, Linux, MacOSX 
<li>Hide navigation toolbar
<li>Inverted (white) toolbar button icons
<li>Double click on tabs toolbar opens a 'new' tab [Windows only]
<li>Hide tabs toolbar with one visible tab
<li>Toolbar settings to alter colors, sizes, borders
<li>Disable some ui animations
<li>Switch between old and new search
<li>...and more
</ul>

<i><b>Features (not on options window)</b></i>

<ul>
<li>Enable/disable 'Add-on Bar' (toolbar context menu)
<li>Toggle 'Add-on Bar' using 'Ctrl + /' btw. 'Cmd + /'
<li>Enable/disable 'Additional Toolbar' (toolbar context menu)
<li>Spaces, Flexible spaces, Separators
<li>Activity indicator on toolbars
<li>Bookmarks menu & sidebar buttons
<li>History menu & sidebar buttons
<li>Additional movable reload & stop buttons
<li>Movable urlbar container
<li>Movable (Firefox main) menu button
<li>Movable alltabs-button, webrtc-status-button, social-share-button
<li>...and more
</ul>

<b>Squared tabs</b>
Default 'curved tabs' can be optionally replaced with classic 'squared tabs'.
Tabs on MacOSX look more like Windows tabs with MacOSX colors on purpose.

<b>Curved alternative tabs</b>
All tabs are curved and use colours known from squared tabs.

<b>Tabs 'not' on top</b>
Simulates 'tabs.onTop=false' setting and moves tabs below navigation toolbar. On MacOSX tabs also get a 'reversed appearance'.

<b>Application button / application menu settings</b>

<i>Application button on [Firefox] titlebar [Windows only]</i>
The titlebar button is fixed on titlebars left like on Firefox since version 4.0. It is enabled by default on Windows systems.

<i>Application button on toolbars</i>
On toolbars the button appears like a default toolbar button.

<i>Application button colours</i>
On titlebar and tabs toolbar the application button can be orange, blue (Aurora), black (Nightly), blue (Palemoon), red, green and gray in normal browsing mode and purple in private browsing mode like on previous Firefox versions.

<i>Note</i>
The new appmenu is not an exact copy of the old one, but looks as original as possible. The 'splitmenu' will not be restored and the appmenu popup/submenus also miss some non-replicable menuitems.

<b>Small navigation toolbar buttons</b>
Navigation toolbar buttons get alternative margins and paddings to simulate old 'small icon view'.

<b>Hide 'Navigation Toolbar'</b>
Hiding navigation toolbar might be interesting after content got moved to other toolbars.

<b>'Add-on Bar'</b>
A toolbar at the bottom of the window. All movable buttons and items can be placed on it. Add-on bar can be enabled/disabled using toolbars context menu (right-click on a toolbar) or using 'Ctrl + /' (Windows/Linux) btw. 'Cmd + /' (MacOSX).

<b>'Additional Toolbar'</b>
A toolbar between navigation toolbar and bookmarks toolbar. It can be enabled/disabled using toolbars context menu (right-click on a toolbar).

<b>Icons + text / text only mode</b>
Simulates old icons + text / text modes where text was displayed below toolbar buttons or button icons got hidden.

<b>Bookmarks menu button</b>
A default 'menu button' which opens the 'classic' bookmarks menu. Positioned on bookmarks toolbar the button also displays its label.

<b>Bookmarks and history sidebar buttons</b>
Buttons which toggle bookmarks and history sidebar.

<b>Back-forward, reload and stop buttons</b>
Browsers default buttons got merged with urlbar and cannot be moved to different toolbar positions or to different toolbars. CTR adds duplicates of these buttons to the customization palette.

<b>Combined reload-stop button</b>
Place reload button AFTER stop button and enable the corresponding option on CTRs preference window. Hovering the option on preference window to get extra information.
Toolbar: [something]...[stop-button][reload-button]...[something]

<b>Spaces, flexible spaces and separators</b>
These toolbar items appear in customizing mode and can be moved to toolbars like on previous Firefox versions.

<b>Windows - Linux - MacOSX</b>
This add-on was tested on Windows 7 (AeroBasic, AeroGlass, Classic) & 8(.1) & XP (Classic, Luna-Blue/Silver/Olive, Zune, Royale), Linux Mint KDE, Ubuntu and MacOSX 10.8/10.9. On other Systems or non OS-default themes tab colors may look wrong. Bookmarks, history, stop, reload, back and forward toolbar buttons use default OS icons (Firefox Windows icons on Windows systems, Firefox Mac icons on MacOSX and Firefox Linux icons on Linux systems).

<b>Major problems with (discontinued?) Foxtab and Shareaholic add-ons</b>
It is strongly recommended to remove Foxtab  and Shareaholic before installing Firefox 29 or newer, because both break Firefox ui in Fx29+. Using Foxtab and/or Shareaholic with CTR breaks the ui even more.
If one of these add-ons already has corrupted the ui, the add-ons manager has to be accessed via menubar (right-click on a toolbar -> select menubar, Tools -> add-ons) and CTR, Shareaholic and Foxtab have to be uninstalled.
After Firefox has been restarted, "restore defaults" in customizing mode has to be hit once. CTR can be reinstalled afterwards and will work properly.

<b>Info, known 'issues', 'glitches'</b>
<ul>
<li>Application menus 'cut', 'copy' and 'paste' buttons do not always work like they should.
<li>Switching between AeroGlass and AeroBasic on Windows 7/Vista can change application buttons position, if the menubar is disabled. Maximizing/restoring browsers main window or restarting Firefox resolves the problem. This glitch is caused by Microsoft Windows and titlebars behavior and not by this add-on.
<li>Entering and leaving customizing mode 'disables' right-click menu items for bookmarks inside bookmarks menu button. A restart resolves this issue.
<li>Tab colors on MacOSX fit to current ui instead of using Firefox 28 colors. This is intended and not a bug.
<li>Do not install this add-on on pre-Australis Firefox (4-28). It is not intended to be used with old browser versions.
<li>This add-on was made for browsers <b>default theme</b> and will not work with all full/complete themes properly. However most Personas/LW-Themes work fine.
</ul>

##############################################

<b>It is recommended to <a href=https://developer.mozilla.org/en-US/docs/Mozilla/Multiple_Firefox_Profiles>switch to a clean new profile</a> to avoid UI issues after upgrading from Firefox 28 (and older) to Firefox 29 (and newer). <a href=https://addons.mozilla.org/addon/profileswitcher/>Profile Switcher</a> can help too. 

Note: Triggering "Restore Defaults" in customizing mode to reset toolbar configuration is enough in most cases and much easier to perform.</b>

##############################################

<b>AVAST AV software,"Browser Cleanup" and disappearing Firefox add-ons</b>

Current Avast versions offer a bugged version of "Browser Cleanup", which accidentally removes Firefox add-ons without any proper reason!
Although Avast is currently working on fixing this issues, it is highly recommended to remove or disable "Browser Cleanup" until problems are fixed.

Look at <a href=http://www.ghacks.net/2014/10/31/avasts-https-scanning-interferes-with-firefox-and-other-programs>gHacks</a>, <a href='http://forums.mozillazine.org/viewtopic.php?f=38&t=2888507'>Mozillazine</a>, <a href='https://bugzilla.mozilla.org/show_bug.cgi?id=1099973'>Bugzilla</a> or <a href='https://forum.avast.com/index.php?topic=160289.msg1152011#msg1152011'>Avast forums</a> for more info.

##############################################

<b><a href=http://www.ghacks.net/2014/11/15/10-reasons-why-you-may-want-to-try-firefoxs-classic-theme-restorer-add-on/>gHacks.net article (10 Reasons why you may want to try Firefox’s Classic Theme Restorer add-on)</a></b>
{'fraction_non_alphanumeric': 0.09921990516494163, 'fraction_numerical': 0.009075613113751083, 'mean_word_length': 5.110280373831776, 'pattern_counts': {'":': 0, '<': 281, '<?xml version=': 0, '>': 285, 'https://': 10, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4452638', 'n_tokens_mistral': 5905, 'n_tokens_neox': 5440, 'n_words': 2504}