Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request. #38

Open
mikhoul opened this issue Nov 4, 2017 · 7 comments
Open

Request. #38

mikhoul opened this issue Nov 4, 2017 · 7 comments

Comments

@mikhoul
Copy link

mikhoul commented Nov 4, 2017

Hi,

Could it be possible to add the management of styles for Firefox for userChrome.css (Firefox UI) and userContent.css (about:-pages) like this addon: https://addons.mozilla.org/en-US/firefox/addon/re-style/?src=search ?

Even if we are not able to preview the change without restarting Firefox cause of the lack of API at this time we would be able at least to manage and edit all the Styles from the the same addon instead of using 2 different interface to manage/edit styles.

"Starting with Firefox 57, it is no longer possible for Add-ons to directly apply user styles to anything else than normal websites.
As a workaround, reStyle recognizes styles that will no longer work and writes them to the
userCrome.css (e.g. for the UI) and userContent.css (e.g. for about:-pages).The only major drawback of this compared to how Stylish for Firefox used to apply styles is that the browser must be restarted for changes to those files to be applied."

Regards :octocat:

N.B.: I will finish the french translation soon for xStyle , I did not forget it's just that I was really busy in the last weeks, in 1-2 weeks I should have more time to devote to the french translation.

@sylingd
Copy link
Member

sylingd commented Nov 4, 2017

It requires users install NativeExt to their computer. I do not think it is a good way.
It may break the security and convenience, and cause other compatibility problems.

@mikhoul
Copy link
Author

mikhoul commented Nov 4, 2017

Do you think @sylingd it would be possible to integrate styles in userChrome.css and userContent.css in a better way ?

@yfdyh000
Copy link
Contributor

yfdyh000 commented Nov 4, 2017

@sylingd
Copy link
Member

sylingd commented Nov 5, 2017

@mikhoul
I have asked the author of pcxFirefox if it is possible to build a component like NativeExt into pcxFirefox, he said that he will try if he have free time (But I think it may take a long time)
I am waiting for three situations. Firstly, one of softwares which is similar to NativeExt become popular and simple enough. Secondly, Mozilla add a feature which can make WebExtension access local files. Thirdly, build a component like NativeExt into a popular third-party compilation of firefox.
If one situation has become reality, I will try to add more useful features for xStyle.

@sylingd
Copy link
Member

sylingd commented Nov 5, 2017

@yfdyh000 I have read it, it can only read a selected file. Maybe it is useful, but it's not the same thing that we discussed in this issue.

@mikhoul
Copy link
Author

mikhoul commented Nov 5, 2017

Thanks @sylingd for the reply I will watch on my side to see if one of those 3 conditons is availlable and let you know if I see something that seem to fulfill your requirements.

Regards :octocat:

@sylingd
Copy link
Member

sylingd commented Nov 6, 2017

Maybe I can add it as an additional feature ... emmmm ... I'll have a try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants