[Ext] Classic Theme Restorer

Announce and Discuss the Latest Theme and Extension Releases.
Post Reply
Brummelchen
Posts: 4480
Joined: March 19th, 2005, 10:51 am

Re: [Ext] Classic Theme Restorer (Customize UI) #2

Post by Brummelchen »

2.
If you are using CTRs prefwindow to switch between developer theme and default theme, CTRs tab preferences will be saved and not reset.

well, i used the firefox button in "Anpassen" (customize?), not ctr. i dont know if ctr offers such option.
# found it - done thx.

1.
oh, you mean the option at bottom of "unread" pane, thank you, that works. i have another background on hover while text color is still unread.

3.
ok, i resetted all ctr settings (delete from prefs manually) and reconfigured ctr - now it works
v36

Code: Select all

user_pref("extensions.classicthemerestorer.appbutton", "appbutton_off");
user_pref("extensions.classicthemerestorer.backforward", true);
user_pref("extensions.classicthemerestorer.bf_space", true);
user_pref("extensions.classicthemerestorer.bfurlbarfix", true);
user_pref("extensions.classicthemerestorer.closeonleft", true);
user_pref("extensions.classicthemerestorer.combrelstop", true);
user_pref("extensions.classicthemerestorer.ctab1", "rgba(255,255,255,.40)");
user_pref("extensions.classicthemerestorer.ctab2", "rgba(255,255,255,.20)");
user_pref("extensions.classicthemerestorer.ctabact1", "rgba(255,0,0,.40)");
user_pref("extensions.classicthemerestorer.ctabact2", "rgba(255,255,255,.20)");
user_pref("extensions.classicthemerestorer.ctabhov1", "rgba(255,128,64,1)");
user_pref("extensions.classicthemerestorer.ctabhov2", "rgba(255,255,255,.40)");
user_pref("extensions.classicthemerestorer.ctabunrt", "#CC0000");
user_pref("extensions.classicthemerestorer.ctrreset", false);
user_pref("extensions.classicthemerestorer.firstrun", false);
user_pref("extensions.classicthemerestorer.hidenavbar", true);
user_pref("extensions.classicthemerestorer.paneluibtweak", true);
user_pref("extensions.classicthemerestorer.pref_actindx", 1);
user_pref("extensions.classicthemerestorer.pref_actindx2", 4);
user_pref("extensions.classicthemerestorer.tabc_hov_unr", true);
user_pref("extensions.classicthemerestorer.tabcolor_act", true);
user_pref("extensions.classicthemerestorer.tabcolor_def", true);
user_pref("extensions.classicthemerestorer.tabcolor_hov", true);
user_pref("extensions.classicthemerestorer.tabfbold_hov", true);
user_pref("extensions.classicthemerestorer.tabfbold_unr", true);
user_pref("extensions.classicthemerestorer.tabfita_pen", true);
user_pref("extensions.classicthemerestorer.tabtextc_unr", true);
user_pref("extensions.classicthemerestorer.throbberalt2", false);
user_pref("extensions.classicthemerestorer.verifiedcolors", true);

v37

Code: Select all

user_pref("extensions.classicthemerestorer.appbutton", "appbutton_off");
user_pref("extensions.classicthemerestorer.backforward", true);
user_pref("extensions.classicthemerestorer.bf_space", true);
user_pref("extensions.classicthemerestorer.bfurlbarfix", true);
user_pref("extensions.classicthemerestorer.closeonleft", true);
user_pref("extensions.classicthemerestorer.combrelstop", true);
user_pref("extensions.classicthemerestorer.ctab1", "rgba(255,255,255,.40)");
user_pref("extensions.classicthemerestorer.ctab2", "rgba(255,255,255,.20)");
user_pref("extensions.classicthemerestorer.ctabact1", "rgba(255,0,0,.40)");
user_pref("extensions.classicthemerestorer.ctabact2", "rgba(255,255,255,.20)");
user_pref("extensions.classicthemerestorer.ctabhov1", "rgba(255,128,64,1)");
user_pref("extensions.classicthemerestorer.ctabhov2", "rgba(255,255,255,.40)");
user_pref("extensions.classicthemerestorer.ctabunrt", "#CC0000");
user_pref("extensions.classicthemerestorer.ctrreset", false);
user_pref("extensions.classicthemerestorer.firstrun", false);
user_pref("extensions.classicthemerestorer.hidenavbar", true);
user_pref("extensions.classicthemerestorer.paneluibtweak", true);
user_pref("extensions.classicthemerestorer.pref_actindx", 1);
user_pref("extensions.classicthemerestorer.pref_actindx2", 1);
user_pref("extensions.classicthemerestorer.tabcolor_act", true);
user_pref("extensions.classicthemerestorer.tabcolor_def", true);
user_pref("extensions.classicthemerestorer.tabcolor_hov", true);
user_pref("extensions.classicthemerestorer.tabfbold_hov", true);
user_pref("extensions.classicthemerestorer.tabfbold_unr", true);
user_pref("extensions.classicthemerestorer.tabfita_pen", true);
user_pref("extensions.classicthemerestorer.tabtextc_unr", true);
user_pref("extensions.classicthemerestorer.throbberalt2", false);
user_pref("extensions.classicthemerestorer.verifiedcolors", true);

v38

Code: Select all

user_pref("extensions.classicthemerestorer.appbutton", "appbutton_off");
user_pref("extensions.classicthemerestorer.appmenuitem", false);
user_pref("extensions.classicthemerestorer.backforward", true);
user_pref("extensions.classicthemerestorer.bfurlbarfix", true);
user_pref("extensions.classicthemerestorer.combrelstop", true);
user_pref("extensions.classicthemerestorer.ctabhov1", "#FF6600");
user_pref("extensions.classicthemerestorer.ctabhov2", "#C0C0C0");
user_pref("extensions.classicthemerestorer.ctabunrt", "#CC0000");
user_pref("extensions.classicthemerestorer.ctrreset", false);
user_pref("extensions.classicthemerestorer.hidenavbar", true);
user_pref("extensions.classicthemerestorer.pref_actindx", 7);
user_pref("extensions.classicthemerestorer.pref_actindx2", 4);
user_pref("extensions.classicthemerestorer.tabc_hov_unr", true);
user_pref("extensions.classicthemerestorer.tabcolor_hov", true);
user_pref("extensions.classicthemerestorer.tabfbold_hov", true);
user_pref("extensions.classicthemerestorer.tabfbold_unr", true);
user_pref("extensions.classicthemerestorer.tabfita_pen", true);
user_pref("extensions.classicthemerestorer.tabtextc_act", true);
user_pref("extensions.classicthemerestorer.tabtextc_unr", true);


suggestion
* opacity for tabs, actually i use tmp for that

maybe sometime i can reduce tmp on its original purpose - for pure tab management and not for styles.
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer (Customize UI) #2

Post by Aris »

Brummelchen wrote:...

suggestion
* opacity for tabs, actually i use tmp for that

maybe sometime i can reduce tmp on its original purpose - for pure tab management and not for styles.


You can use rgba and hsla values to get tab color/text opacity. Try e.g. rgba(255,255,255,0.5).
Brummelchen
Posts: 4480
Joined: March 19th, 2005, 10:51 am

Re: [Ext] Classic Theme Restorer (Customize UI) #2

Post by Brummelchen »

great, thank you
tiansh
Posts: 4
Joined: February 11th, 2015, 7:37 pm

Re: [Ext] Classic Theme Restorer (Customize UI) #2

Post by tiansh »

Thank you for adding another location bar so quickly. It works well.
I suggest to add these if they are not too complex:

  • When shown and focused: pressing ESC to hide it
  • When shown but not focused: press Alt-D to focus on it instead of hide it; // or just hide it onblur automatically
  • When hidden->shown, fill it by current location and make it selected, or just clear it

thanks.
jjscott
Posts: 14
Joined: February 22nd, 2015, 9:11 am

Re: [Ext] Classic Theme Restorer (Customize UI) #2

Post by jjscott »

I am having a problem with the Classic Theme Restorer. My intent it to “harden” Firefox to prevent field users from playing with settings and getting to unrestricted websites. I installed CTR and for the most part, I love it! I have been able to remove many options such as the Menu button, Favorites, Bookmarks, etc.

The problem is that once I remove the location/address bar, I can no longer access the “Customize” function to restore certain buttons. I right click just below the Home button and there is a context menu that lists “Customize”, but when I select it, another tab appears with “Customize Firefox” as the header, but the page is blank. This also happens if I leave the “Menu” button accessible and try to select “Customize” at the bottom of the screen. If I leave the location/address bar active, I can access the Customization screen via either method stated above.

I restored the /home/user/.mozilla/firefox directory and made incremental changes to the screen layout and found that I can remove everything except the location/address bar and I can still access the “Customize” function. Once the location/address bar is removed, whether as the first or last step of my customization, I can no longer access the “Customize” function.

I should also note that all customization has been performed by selecting the Menu button, clicking Customize and dragging the unwanted options from the toolbar area into the Customization screen.

I am using CentOS v6.6 and Firefox v31.1.0 with Classic Theme Restorer v1.2.9.6.

Any ideas?
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer (Customize UI) #2

Post by Aris »

tiansh wrote:Thank you for adding another location bar so quickly. It works well.
I suggest to add these if they are not too complex:

  • When shown and focused: pressing ESC to hide it
  • When shown but not focused: press Alt-D to focus on it instead of hide it; // or just hide it onblur automatically
  • When hidden->shown, fill it by current location and make it selected, or just clear it

thanks.


OK, the first two will be on next build, but the third one is more complicated, because Firefox fails to properly handle "window.location" btw. "window.location.href" in JavaScript. It always returns the address of the "xul" file (browser.xul, browsers main internal file) instead of the current web address.

jjscott wrote:I am having a problem with the Classic Theme Restorer. My intent it to “harden” Firefox to prevent field users from playing with settings and getting to unrestricted websites. I installed CTR and for the most part, I love it! I have been able to remove many options such as the Menu button, Favorites, Bookmarks, etc.

The problem is that once I remove the location/address bar, I can no longer access the “Customize” function to restore certain buttons. I right click just below the Home button and there is a context menu that lists “Customize”, but when I select it, another tab appears with “Customize Firefox” as the header, but the page is blank. This also happens if I leave the “Menu” button accessible and try to select “Customize” at the bottom of the screen. If I leave the location/address bar active, I can access the Customization screen via either method stated above.

I restored the /home/user/.mozilla/firefox directory and made incremental changes to the screen layout and found that I can remove everything except the location/address bar and I can still access the “Customize” function. Once the location/address bar is removed, whether as the first or last step of my customization, I can no longer access the “Customize” function.

I should also note that all customization has been performed by selecting the Menu button, clicking Customize and dragging the unwanted options from the toolbar area into the Customization screen.

I am using CentOS v6.6 and Firefox v31.1.0 with Classic Theme Restorer v1.2.9.6.

Any ideas?


I'm sure removing location bar did not always make customizing mode unaccessible, but sadly it does now. On my current builds I have a workaround that "restores" the location bar and fixes the broken customizing mode.
You can't remove location bar from your ui completely, but moving it to an additional toolbar and hiding this toolbar works fine and does not break anything.


--------

I would have uploaded a new beta build to AMO by now, but guess what, Mozillas "Add-ons validator" is "broken" again and won't allow any uploads for now.
See https://forums.mozilla.org/viewtopic.ph ... 62&p=44006 and https://bugzilla.mozilla.org/show_bug.cgi?id=1135471

However you can install my current build from here:

Code: Select all

https://www.dropbox.com/s/bwp9jx3nwglm3s5/CTR_v1.3.0r7.xpi?dl=0
jjscott
Posts: 14
Joined: February 22nd, 2015, 9:11 am

Re: [Ext] Classic Theme Restorer (Customize UI) #2

Post by jjscott »

Thanks so much for the quick response. I will give it a shot and let you know.
jjscott
Posts: 14
Joined: February 22nd, 2015, 9:11 am

Re: [Ext] Classic Theme Restorer (Customize UI) #2

Post by jjscott »

"You can't remove location bar from your ui completely, but moving it to an additional toolbar and hiding this toolbar works fine and does not break anything."

How do I move the location bar to an additional toolbar so I can hide it without breaking the ui?
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer (Customize UI) #2

Post by Aris »

1. CTR Preference window -> Toolbars (1) -> Additional Toolbars -> set a number>0
2. Restart browser
3. Right-click on a toolbar (e.g. navigation toolbar) and make the additional toolbar visible
4. Go to customizing mode and move location bar to the addition toolbar
5. Right-click on a toolbar and hide the additonal toolbar the location bar is on
Caution: do not reset the number of additional toolbars on CTRs prefwindow
tiansh
Posts: 4
Joined: February 11th, 2015, 7:37 pm

Re: [Ext] Classic Theme Restorer (Customize UI) #2

Post by tiansh »

OK, the first two will be on next build, but the third one is more complicated, because Firefox fails to properly handle "window.location" btw. "window.location.href" in JavaScript. It always returns the address of the "xul" file (browser.xul, browsers main internal file) instead of the current web address.


If getting current location is complex, just make text in it selected or just clear it should be better. It can save up an Ctrl-A before typing new url.
User avatar
Santa_Fe
Posts: 42
Joined: August 28th, 2013, 8:15 am

Re: [Ext] Classic Theme Restorer (Customize UI) #2

Post by Santa_Fe »

Nice extension, but am having problem with the latest beta: 1.3.0r7. For some reason when I start Firefox 36 beta 10 (I know it says Dragon Fox, but It's compiled from the latest beta source code) I get a pop up window like in the image & the back/forward buttons & the URL bar are moved over. I usually have them by the stop/reload button. Everything else is correct however. I can reset it & move them back, but once again on next start it repeats itself. Doesn't matter which theme I use, same thing. BTW: I'm using Kubuntu 14:10 if that helps.

Image of problem.
Image

Didn't change any options from the previous non beta CTR 1.2.9.6, and if I go back to that version, everything's correct.

Gonna go back & disable all extensions BUT the beta version & see if it still does it just to see if perhaps this new beta doesn't like one of the extensions I have that the current release one does. ;)
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer (Customize UI) #2

Post by Aris »

Could you try this build?

Code: Select all

http://www44.zippyshare.com/v/zgVqXHvq/file.html

I can't upload to Dropbox atm, their system is broken.
marty60
Posts: 475
Joined: March 21st, 2012, 7:09 am

Re: [Ext] Classic Theme Restorer (Customize UI) #2

Post by marty60 »

Hi Aris,

The latest CTR version is giving me a notice that the location bar has to be reset and the browser restarted but even after doing so the message reappears. I test with different themes and this is happening with several of them. Is there a setting that I'm missing to stop it or a way to suppress that?
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer (Customize UI) #2

Post by Aris »

Try the build above you post.
marty60
Posts: 475
Joined: March 21st, 2012, 7:09 am

Re: [Ext] Classic Theme Restorer (Customize UI) #2

Post by marty60 »

Aris wrote:Try the build above you post.

Just did and it appears working again. Thanks for the quick fix.
Post Reply