pax_global_header00006660000000000000000000000064126534452400014517gustar00rootroot0000000000000052 comment=d3ae20ab54415b00fd4aa4ad2d96260d3201a443 classic-theme-restorer-1.4.7/000077500000000000000000000000001265344524000161145ustar00rootroot00000000000000classic-theme-restorer-1.4.7/.gitattributes000066400000000000000000000007431265344524000210130ustar00rootroot00000000000000# Auto detect text files and perform LF normalization * text=auto # Custom for Visual Studio *.cs diff=csharp *.sln merge=union *.csproj merge=union *.vbproj merge=union *.fsproj merge=union *.dbproj merge=union # Standard to msysgit *.doc diff=astextplain *.DOC diff=astextplain *.docx diff=astextplain *.DOCX diff=astextplain *.dot diff=astextplain *.DOT diff=astextplain *.pdf diff=astextplain *.PDF diff=astextplain *.rtf diff=astextplain *.RTF diff=astextplain classic-theme-restorer-1.4.7/.gitignore000066400000000000000000000051231265344524000201050ustar00rootroot00000000000000################# ## Eclipse ################# *.pydevproject .project .metadata bin/ tmp/ *.tmp *.bak *.swp *~.nib local.properties .classpath .settings/ .loadpath # External tool builders .externalToolBuilders/ # Locally stored "Eclipse launch configurations" *.launch # CDT-specific .cproject # PDT-specific .buildpath ################# ## Visual Studio ################# ## Ignore Visual Studio temporary files, build results, and ## files generated by popular Visual Studio add-ons. # User-specific files *.suo *.user *.sln.docstates # Build results [Dd]ebug/ [Rr]elease/ x64/ build/ [Bb]in/ [Oo]bj/ # MSTest test Results [Tt]est[Rr]esult*/ [Bb]uild[Ll]og.* *_i.c *_p.c *.ilk *.meta *.obj *.pch *.pdb *.pgc *.pgd *.rsp *.sbr *.tlb *.tli *.tlh *.tmp *.tmp_proj *.log *.vspscc *.vssscc .builds *.pidb *.log *.scc # Visual C++ cache files ipch/ *.aps *.ncb *.opensdf *.sdf *.cachefile # Visual Studio profiler *.psess *.vsp *.vspx # Guidance Automation Toolkit *.gpState # ReSharper is a .NET coding add-in _ReSharper*/ *.[Rr]e[Ss]harper # TeamCity is a build add-in _TeamCity* # DotCover is a Code Coverage Tool *.dotCover # NCrunch *.ncrunch* .*crunch*.local.xml # Installshield output folder [Ee]xpress/ # DocProject is a documentation generator add-in DocProject/buildhelp/ DocProject/Help/*.HxT DocProject/Help/*.HxC DocProject/Help/*.hhc DocProject/Help/*.hhk DocProject/Help/*.hhp DocProject/Help/Html2 DocProject/Help/html # Click-Once directory publish/ # Publish Web Output *.Publish.xml *.pubxml # NuGet Packages Directory ## TODO: If you have NuGet Package Restore enabled, uncomment the next line #packages/ # Windows Azure Build Output csx *.build.csdef # Windows Store app package directory AppPackages/ # Others sql/ *.Cache ClientBin/ [Ss]tyle[Cc]op.* ~$* *~ *.dbmdl *.[Pp]ublish.xml *.pfx *.publishsettings # RIA/Silverlight projects Generated_Code/ # Backup & report files from converting an old project file to a newer # Visual Studio version. Backup files are not needed, because we have git ;-) _UpgradeReport_Files/ Backup*/ UpgradeLog*.XML UpgradeLog*.htm # SQL Server files App_Data/*.mdf App_Data/*.ldf ############# ## Windows detritus ############# # Windows image file caches Thumbs.db ehthumbs.db # Folder config file Desktop.ini # Recycle Bin used on file shares $RECYCLE.BIN/ # Mac crap .DS_Store ############# ## Python ############# *.py[co] # Packages *.egg *.egg-info dist/ build/ eggs/ parts/ var/ sdist/ develop-eggs/ .installed.cfg # Installer logs pip-log.txt # Unit test / coverage reports .coverage .tox #Translations *.mo #Mr Developer .mr.developer.cfg classic-theme-restorer-1.4.7/README.md000066400000000000000000000227051265344524000174010ustar00rootroot00000000000000Classic Theme Restorers AMO website: https://addons.mozilla.org/addon/classicthemerestorer/ 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. Main features (on options window) Features (not on options window) Squared tabs Default 'curved tabs' can be optionally replaced with classic 'squared tabs'. Tabs on MacOSX look more like Windows tabs with MacOSX colors on purpose. Curved alternative tabs All tabs are curved and use colours known from squared tabs. Tabs 'not' on top Simulates 'tabs.onTop=false' setting and moves tabs below navigation toolbar. On MacOSX tabs also get a 'reversed appearance'. Application button / application menu settings Application button on [Firefox] titlebar [Windows only] The titlebar button is fixed on titlebars left like on Firefox since version 4.0. It is enabled by default on Windows systems. Application button on toolbars On toolbars the button appears like a default toolbar button. Application button colours 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. Note 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. Small navigation toolbar buttons Navigation toolbar buttons get alternative margins and paddings to simulate old 'small icon view'. Hide 'Navigation Toolbar' Hiding navigation toolbar might be interesting after content got moved to other toolbars. 'Add-on Bar' 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). 'Additional Toolbar' A toolbar between navigation toolbar and bookmarks toolbar. It can be enabled/disabled using toolbars context menu (right-click on a toolbar). Icons + text / text only mode Simulates old icons + text / text modes where text was displayed below toolbar buttons or button icons got hidden. Bookmarks menu button A default 'menu button' which opens the 'classic' bookmarks menu. Positioned on bookmarks toolbar the button also displays its label. Bookmarks and history sidebar buttons Buttons which toggle bookmarks and history sidebar. Back-forward, reload and stop buttons 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. Combined reload-stop button 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] Spaces, flexible spaces and separators These toolbar items appear in customizing mode and can be moved to toolbars like on previous Firefox versions. Windows - Linux - MacOSX 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). Major problems with (discontinued?) Foxtab and Shareaholic add-ons 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. Info, known 'issues', 'glitches' ############################################## It is recommended to switch to a clean new profile to avoid UI issues after upgrading from Firefox 28 (and older) to Firefox 29 (and newer). Profile Switcher can help too. Note: Triggering "Restore Defaults" in customizing mode to reset toolbar configuration is enough in most cases and much easier to perform. ############################################## AVAST AV software,"Browser Cleanup" and disappearing Firefox add-ons 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 gHacks, Mozillazine, Bugzilla or Avast forums for more info. ############################################## gHacks.net article (10 Reasons why you may want to try Firefox’s Classic Theme Restorer add-on) classic-theme-restorer-1.4.7/license000066400000000000000000000351121265344524000174630ustar00rootroot00000000000000Mozilla Public License Version 2.0 1. Definitions 1.1. “Contributor” means each individual or legal entity that creates, contributes to the creation of, or owns Covered Software. 1.2. “Contributor Version” means the combination of the Contributions of others (if any) used by a Contributor and that particular Contributor’s Contribution. 1.3. “Contribution” means Covered Software of a particular Contributor. 1.4. “Covered Software” means Source Code Form to which the initial Contributor has attached the notice in Exhibit A, the Executable Form of such Source Code Form, and Modifications of such Source Code Form, in each case including portions thereof. 1.5. “Incompatible With Secondary Licenses” means that the initial Contributor has attached the notice described in Exhibit B to the Covered Software; or that the Covered Software was made available under the terms of version 1.1 or earlier of the License, but not also under the terms of a Secondary License. 1.6. “Executable Form” means any form of the work other than Source Code Form. 1.7. “Larger Work” means a work that combines Covered Software with other material, in a separate file or files, that is not Covered Software. 1.8. “License” means this document. 1.9. “Licensable” means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently, any and all of the rights conveyed by this License. 1.10. “Modifications” means any of the following: any file in Source Code Form that results from an addition to, deletion from, or modification of the contents of Covered Software; or any new file in Source Code Form that contains any Covered Software. 1.11. “Patent Claims” of a Contributor means any patent claim(s), including without limitation, method, process, and apparatus claims, in any patent Licensable by such Contributor that would be infringed, but for the grant of the License, by the making, using, selling, offering for sale, having made, import, or transfer of either its Contributions or its Contributor Version. 1.12. “Secondary License” means either the GNU General Public License, Version 2.0, the GNU Lesser General Public License, Version 2.1, the GNU Affero General Public License, Version 3.0, or any later versions of those licenses. 1.13. “Source Code Form” means the form of the work preferred for making modifications. 1.14. “You” (or “Your”) means an individual or a legal entity exercising rights under this License. For legal entities, “You” includes any entity that controls, is controlled by, or is under common control with You. For purposes of this definition, “control” means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity. 2. License Grants and Conditions 2.1. Grants Each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license: under intellectual property rights (other than patent or trademark) Licensable by such Contributor to use, reproduce, make available, modify, display, perform, distribute, and otherwise exploit its Contributions, either on an unmodified basis, with Modifications, or as part of a Larger Work; and under Patent Claims of such Contributor to make, use, sell, offer for sale, have made, import, and otherwise transfer either its Contributions or its Contributor Version. 2.2. Effective Date The licenses granted in Section 2.1 with respect to any Contribution become effective for each Contribution on the date the Contributor first distributes such Contribution. 2.3. Limitations on Grant Scope The licenses granted in this Section 2 are the only rights granted under this License. No additional rights or licenses will be implied from the distribution or licensing of Covered Software under this License. Notwithstanding Section 2.1(b) above, no patent license is granted by a Contributor: for any code that a Contributor has removed from Covered Software; or for infringements caused by: (i) Your and any other third party’s modifications of Covered Software, or (ii) the combination of its Contributions with other software (except as part of its Contributor Version); or under Patent Claims infringed by Covered Software in the absence of its Contributions. This License does not grant any rights in the trademarks, service marks, or logos of any Contributor (except as may be necessary to comply with the notice requirements in Section 3.4). 2.4. Subsequent Licenses No Contributor makes additional grants as a result of Your choice to distribute the Covered Software under a subsequent version of this License (see Section 10.2) or under the terms of a Secondary License (if permitted under the terms of Section 3.3). 2.5. Representation Each Contributor represents that the Contributor believes its Contributions are its original creation(s) or it has sufficient rights to grant the rights to its Contributions conveyed by this License. 2.6. Fair Use This License is not intended to limit any rights You have under applicable copyright doctrines of fair use, fair dealing, or other equivalents. 2.7. Conditions Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in Section 2.1. 3. Responsibilities 3.1. Distribution of Source Form All distribution of Covered Software in Source Code Form, including any Modifications that You create or to which You contribute, must be under the terms of this License. You must inform recipients that the Source Code Form of the Covered Software is governed by the terms of this License, and how they can obtain a copy of this License. You may not attempt to alter or restrict the recipients’ rights in the Source Code Form. 3.2. Distribution of Executable Form If You distribute Covered Software in Executable Form then: such Covered Software must also be made available in Source Code Form, as described in Section 3.1, and You must inform recipients of the Executable Form how they can obtain a copy of such Source Code Form by reasonable means in a timely manner, at a charge no more than the cost of distribution to the recipient; and You may distribute such Executable Form under the terms of this License, or sublicense it under different terms, provided that the license for the Executable Form does not attempt to limit or alter the recipients’ rights in the Source Code Form under this License. 3.3. Distribution of a Larger Work You may create and distribute a Larger Work under terms of Your choice, provided that You also comply with the requirements of this License for the Covered Software. If the Larger Work is a combination of Covered Software with a work governed by one or more Secondary Licenses, and the Covered Software is not Incompatible With Secondary Licenses, this License permits You to additionally distribute such Covered Software under the terms of such Secondary License(s), so that the recipient of the Larger Work may, at their option, further distribute the Covered Software under the terms of either this License or such Secondary License(s). 3.4. Notices You may not remove or alter the substance of any license notices (including copyright notices, patent notices, disclaimers of warranty, or limitations of liability) contained within the Source Code Form of the Covered Software, except that You may alter any license notices to the extent required to remedy known factual inaccuracies. 3.5. Application of Additional Terms You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Software. However, You may do so only on Your own behalf, and not on behalf of any Contributor. You must make it absolutely clear that any such warranty, support, indemnity, or liability obligation is offered by You alone, and You hereby agree to indemnify every Contributor for any liability incurred by such Contributor as a result of warranty, support, indemnity or liability terms You offer. You may include additional disclaimers of warranty and limitations of liability specific to any jurisdiction. 4. Inability to Comply Due to Statute or Regulation If it is impossible for You to comply with any of the terms of this License with respect to some or all of the Covered Software due to statute, judicial order, or regulation then You must: (a) comply with the terms of this License to the maximum extent possible; and (b) describe the limitations and the code they affect. Such description must be placed in a text file included with all distributions of the Covered Software under this License. Except to the extent prohibited by statute or regulation, such description must be sufficiently detailed for a recipient of ordinary skill to be able to understand it. 5. Termination 5.1. The rights granted under this License will terminate automatically if You fail to comply with any of its terms. However, if You become compliant, then the rights granted under this License from a particular Contributor are reinstated (a) provisionally, unless and until such Contributor explicitly and finally terminates Your grants, and (b) on an ongoing basis, if such Contributor fails to notify You of the non-compliance by some reasonable means prior to 60 days after You have come back into compliance. Moreover, Your grants from a particular Contributor are reinstated on an ongoing basis if such Contributor notifies You of the non-compliance by some reasonable means, this is the first time You have received notice of non-compliance with this License from such Contributor, and You become compliant prior to 30 days after Your receipt of the notice. 5.2. If You initiate litigation against any entity by asserting a patent infringement claim (excluding declaratory judgment actions, counter-claims, and cross-claims) alleging that a Contributor Version directly or indirectly infringes any patent, then the rights granted to You by any and all Contributors for the Covered Software under Section 2.1 of this License shall terminate. 5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user license agreements (excluding distributors and resellers) which have been validly granted by You or Your distributors under this License prior to termination shall survive termination. 6. Disclaimer of Warranty Covered Software is provided under this License on an “as is” basis, without warranty of any kind, either expressed, implied, or statutory, including, without limitation, warranties that the Covered Software is free of defects, merchantable, fit for a particular purpose or non-infringing. The entire risk as to the quality and performance of the Covered Software is with You. Should any Covered Software prove defective in any respect, You (not any Contributor) assume the cost of any necessary servicing, repair, or correction. This disclaimer of warranty constitutes an essential part of this License. No use of any Covered Software is authorized under this License except under this disclaimer. 7. Limitation of Liability Under no circumstances and under no legal theory, whether tort (including negligence), contract, or otherwise, shall any Contributor, or anyone who distributes Covered Software as permitted above, be liable to You for any direct, indirect, special, incidental, or consequential damages of any character including, without limitation, damages for lost profits, loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses, even if such party shall have been informed of the possibility of such damages. This limitation of liability shall not apply to liability for death or personal injury resulting from such party’s negligence to the extent applicable law prohibits such limitation. Some jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, so this exclusion and limitation may not apply to You. 8. Litigation Any litigation relating to this License may be brought only in the courts of a jurisdiction where the defendant maintains its principal place of business and such litigation shall be governed by laws of that jurisdiction, without reference to its conflict-of-law provisions. Nothing in this Section shall prevent a party’s ability to bring cross-claims or counter-claims. 9. Miscellaneous This License represents the complete agreement concerning the subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not be used to construe this License against a Contributor. 10. Versions of the License 10.1. New Versions Mozilla Foundation is the license steward. Except as provided in Section 10.3, no one other than the license steward has the right to modify or publish new versions of this License. Each version will be given a distinguishing version number. 10.2. Effect of New Versions You may distribute the Covered Software under the terms of the version of the License under which You originally received the Covered Software, or under the terms of any subsequent version published by the license steward. 10.3. Modified Versions If you create software not governed by this License, and you want to create a new license for such software, you may create and use a modified version of this License if you rename the license and remove any references to the name of the license steward (except to note that such modified license differs from this License). 10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses If You choose to distribute Source Code Form that is Incompatible With Secondary Licenses under the terms of this version of the License, the notice described in Exhibit B of this License must be attached. Exhibit A - Source Code Form License Notice This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. If it is not possible or desirable to put the notice in a particular file, then You may include the notice in a location (such as a LICENSE file in a relevant directory) where a recipient would be likely to look for such a notice. You may add additional accurate notices of copyright ownership. Exhibit B - “Incompatible With Secondary Licenses” Notice This Source Code Form is “Incompatible With Secondary Licenses”, as defined by the Mozilla Public License, v. 2.0. classic-theme-restorer-1.4.7/xpi/000077500000000000000000000000001265344524000167145ustar00rootroot00000000000000classic-theme-restorer-1.4.7/xpi/chrome.manifest000066400000000000000000000041601265344524000217220ustar00rootroot00000000000000content classic_theme_restorer content/ skin classic_theme_restorer classic/1.0 skin/ #locales locale classic_theme_restorer cs locale/cs/ locale classic_theme_restorer da locale/da/ locale classic_theme_restorer de locale/de/ locale classic_theme_restorer dsb locale/dsb/ locale classic_theme_restorer el locale/el/ locale classic_theme_restorer en-US locale/en-US/ locale classic_theme_restorer es locale/es/ locale classic_theme_restorer et locale/et/ locale classic_theme_restorer fr locale/fr/ locale classic_theme_restorer hsb locale/hsb/ locale classic_theme_restorer it locale/it/ locale classic_theme_restorer pl locale/pl/ locale classic_theme_restorer pt-BR locale/pt-BR/ locale classic_theme_restorer ru locale/ru/ locale classic_theme_restorer sl locale/sl/ locale classic_theme_restorer tr locale/tr/ locale classic_theme_restorer uk locale/uk/ locale classic_theme_restorer zh-CN locale/zh-CN/ locale classic_theme_restorer zh-TW locale/zh-TW/ #different css for all supported OS skin ctraddon_os_special classic_theme_restorer content/css/winxp/ os=WINNT osversion<6 skin ctraddon_os_special classic_theme_restorer content/css/winaero/ os=WINNT osversion=6.0 skin ctraddon_os_special classic_theme_restorer content/css/winaero/ os=WINNT osversion=6.1 skin ctraddon_os_special classic_theme_restorer content/css/win8/ os=WINNT osversion>=6.2 skin ctraddon_os_special classic_theme_restorer content/css/mac/ os=Darwin skin ctraddon_os_special classic_theme_restorer content/css/linux/ os=Linux skin ctraddon_os_special classic_theme_restorer content/css/linux/ os=FreeBSD skin ctraddon_os_special classic_theme_restorer content/css/linux/ os=OpenBSD skin ctraddon_os_special classic_theme_restorer content/css/linux/ os=NetBSD skin ctraddon_os_special classic_theme_restorer content/css/linux/ os=SunOS overlay chrome://browser/content/browser.xul chrome://classic_theme_restorer/content/overlay.xul overlay about:newtab chrome://classic_theme_restorer/content/aboutnewtab.xul overlay about:preferences chrome://classic_theme_restorer/content/aboutprefs.xulclassic-theme-restorer-1.4.7/xpi/content/000077500000000000000000000000001265344524000203665ustar00rootroot00000000000000classic-theme-restorer-1.4.7/xpi/content/aboutnewtab.js000066400000000000000000000013411265344524000232360ustar00rootroot00000000000000"use strict"; (function(global) { var Cu = Components.utils; var {Services} = Cu.import("resource://gre/modules/Services.jsm", {}); if (typeof ctrAboutNewTab == "undefined") { var ctrAboutNewTab = {}; }; if (!ctrAboutNewTab ) { ctrAboutNewTab = {}; }; ctrAboutNewTab = { init: function(){ var appversion = parseInt(Services.appinfo.version); if(Services.prefs.getBranch('extensions.classicthemerestorer.').getBoolPref('alt_newtabp')) { try{ if(appversion == 40 || appversion == 41) document.getElementById("newtab-window").setAttribute('fx40plus',true); } catch(e){} } } } // Make ctrAboutNewTab a global variable try{ global.ctrAboutNewTab = ctrAboutNewTab.init(); } catch(e){} }(this));classic-theme-restorer-1.4.7/xpi/content/aboutnewtab.xul000066400000000000000000000004001265344524000234250ustar00rootroot00000000000000