Aris-t2 / ClassicThemeRestorer

Classic Theme Restorer for Australis UI (Firefox/Waterfox/Basilisk versions 45.x-56.x only!)
Mozilla Public License 2.0
181 stars 36 forks source link

Firefox 57 #380

Closed bodeha closed 6 years ago

bodeha commented 6 years ago

this plugin we want, new fire looks bad omg, please rapair this man :)

Aris-t2 commented 6 years ago

Unfortunately Mozilla decided to not support these kind of add-ons anymore, so there won't be a WebExtension or a Firefox 57+ version of this add-on. Read here about it: https://github.com/Aris-t2/ClassicThemeRestorer/issues/299

Contact Mozilla and tell them what you think about their move to drop support of the superior add-on system they had: https://support.mozilla.org/

Use custom CSS code for Firefox 57+ ( https://github.com/Aris-t2/CustomCSSforFx/issues/2 ) to keep using classic ui features or switch to Waterfox browser ( https://www.waterfoxproject.org/ - a Firefox fork with support for legacy add-ons) to keep classic add-ons.

ExE-Boss commented 6 years ago

It might be possible if this specification gets accepted (I’ll open a bug soon, once I finish version 1.0-RC1).

bodeha commented 6 years ago

in waterfox this plugin not working to.

bodeha commented 6 years ago

but YUPI! looks same like old one :) thx i try to stay longer whitch this water project :)

Aris-t2 commented 6 years ago

@ExE-Boss Sounds great, but I'm wondering why all requests for creating interface or ui-customizable APIs were declined in the past.

What I meant is that the APIs will return, and the healthy Addon ecosystem will bring new addons, both in numbers and types of addons.

Reading this posted by a "Platform Engineer at Mozilla" makes me really hate Mozilla, if this is true. Why the ... was it so hard to provide the required APIs first and drop legacy add-on system afterwards. Giving devs time to port their add-ons for a year or so and everybody would be happy. I'm really thinking that company is not only ruled by absolute ..., but is also full of ... developers.

@bodeha Good to hear your figured it out.

PandaCodex commented 6 years ago

Cyberfox is still good

Cyberfox 52.8 will be the last which is scheduled for 2018-05-01 and ends 2018-06-26 so 52.8 at this stage in time will be the last Cyberfox release

Still ages of time, with talks floating around that next ESR version may give extra year to Cyberfox

Burstnok commented 6 years ago

Wouldn't it be possible to offer the service CTR did for years via an standalone program? WebExtensions can't modify the browser UI anymore but an executable could modfiy the CustomCSS files and offer the option for an UI like CTR used to have before FF57.

Aris-t2 commented 6 years ago

Probably, but such an application would require far more maintenance (to keep supporting all Firefox builds) than offering plain CSS code for userChrome.css. Not worth the effort.

Burstnok commented 6 years ago

Shouldn't the CSS code remain the same with each build so the program wouldn't need to be really maintained? Or does the code change from version to version?

Aris-t2 commented 6 years ago

That was a good one. Mozilla add thousands of changes on every build since Firefox 4 release.

Burstnok commented 6 years ago

oh...so the CustomCSS is only temporary? Hoped that would work for a while at least....

Aris-t2 commented 6 years ago

I try to keep it updated.

youtubedownloads commented 6 years ago
Aris-t2 commented 6 years ago

@youtubedownloads Firefox 57+ can have higher tabs using CSS in userChrome.css. Same applies to every Firefox fork and CTR can set tab height in Waterfox and Basilisk browser.

Vivaldi also allows to modify ui using custom CSS code.

youtubedownloads commented 6 years ago

Please post link on how to modify tab height in Firefox Quantum using CSS code in the userChrome Folder. I would like to modify the tab height.

Aris-t2 commented 6 years ago

Firefox 57+

  1. about:support > Profile Folder > Open Folder
  2. create a new folder called chrome
  3. create a new text file and save it as userChrome.css (not userChrome.css.txt!)
  4. add this to userChrome.css
    :root {
    --tab-min-height: 46px !important; /* your height value */
    }
  5. Save file and restart Firefox.
youtubedownloads commented 6 years ago

Can't seem to open the about:support profile folder through the http: search function

I can access about:support but not directly to the profile folder.

Note*: I have a profile folder in Mozila in that folder there is a .default named Folder. inside that folder has chrome debugger folder / sessions folder / extentions folder / features folder etc.

In the .default folder I added a : chrome folder: userChrome text file inside.

I copied:

:root { --tab-min-height: 46px !important; / your height value / }

I have two options to save: Save as (All) Or save as .txt.

Which one should I save it as?

What is "your height value?" - Do I enter a number?------ ;/100/ I want the tabs 100 height etc.

Aris-t2 commented 6 years ago

You only need to save the file as .css not .txt ---> userChrome.css (not userChrome.txt or userChrome.css.txt)

Default height value is 32px, CTRs squared tabs use 26px.

You have the code, so you can of course change it, the 46px was just an example, use own values.

youtubedownloads commented 6 years ago

The code did not do anything Tab Height Still the same?

There is no other code in the Folder (Chrome)...just copy and pasted the above code. And its a Text file called userChrome.css (Type is still a text file).

Does it require any other code before it?

This should not be this complicated.

Aris-t2 commented 6 years ago

Technically it is a text file, but some OSs hide default file endings resulting in a masked "userChrome.css.txt" file.

Post a screenshot of your "chrome" folder. Mine looks like this (note, I have more stuff there, the CustomCSSforFx project).

1

youtubedownloads commented 6 years ago

Mine is the exact same, in the .deafult folder etc. Running Windows 7 64 bit SP1.

My Chrome Folder does not have config folder or css Folder or image folder or userchrome or xml folder...it just has the userChrome.css text in it the above do not exist in the chrome Folder I created.

Do I need to download chrome? I don't use chrome.

Aris-t2 commented 6 years ago

Download the project from here https://github.com/Aris-t2/CustomCSSforFx/issues/2 and tell me, if its working or not.

youtubedownloads commented 6 years ago

I should be able to access the add-ons and turn them on-off. The code would not display them?

Is there a menu to customize tab size and height somewhere? I could not find it.

Aris-t2 commented 6 years ago

Looks to me like you Firefox / Firefox profile is deeply broken. The code affecting add-ons area is supposed to restore the version number. You can simply edit userContent.css for that or remove it. Restoring version number works fine for me in Firefox 57-59 on Windows 7-10, Linux and macOS.

Anyway I would suggest to create an entirely new browser profile.

youtubedownloads commented 6 years ago

Ok, Thanks.

Is there going to be an Official release from Firefox regarding TAB height + width Add-on? Adjustments?

I can't seem to find any add-ons that do this, most add-ons are just TAB trees etc.

Aris-t2 commented 6 years ago

Of course not. ;-)

The reason why we write and use CSS code in userChrome.css and userContent.css was Mozillas decision to remove browser ui modification abilities by only allowing powerless web extensions, that can only modify web content, but not the browser ui. The very limited stuff web extensions can achieve is editing theme colors the way default light/dark themes do it. Vivaldifox is a WE for this for example: https://addons.mozilla.org/de/firefox/addon/vivaldifox/

Anyway, you want something different. I suggest do download and install Portable Firefox and download and apply the previously mentioned CustomCSSforFx there (close default Firefox before running PF). That way you will get a clean Firefox you can ran tests in without affecting your current setup.

youtubedownloads commented 6 years ago

I will try a clean install of Portable Firefox and will see what new UI features are added using the above code etc.