acrisci / superUserContent

Dynamically load stylesheets in Firefox from plaintext files in your profile
Mozilla Public License 2.0
9 stars 0 forks source link

cant get this to work in Fx 32 & Palemoon 24 #2

Open nonat opened 9 years ago

nonat commented 9 years ago

is this a Linux specific addon? im using Win7 64.

have tried it on two Fx 32 profiles (one just created) and in Palemoon 24 ruling out incompatibility with 32 or other addons

Are you meant to just save a css file to the newly created userContent.css.d folder and itll be applied as if saving it in Stylish, (or more aptly saving in the userContent.css file and restarting) are there any other steps?

also checked if it just required a single browser restart but that didnt help

acrisci commented 9 years ago

Hi, sorry for the late reply.

I am a Linux user and this is my primary application. I have tested this add-on on windows xp and it worked ok.

One problem I ran into was that it was difficult for me to make a css file in this directory. Windows secretly put a ".txt" extension that I could only see in the windows shell. The add-on will only load files with the ".css" extension.

Your use of the extension seems correct. The addon is very simple (only about 50 lines of code) and I don't think there is anything that may cause complications with windows.

If there are compatability problems with other operating systems or browsers that claim support of Firefox add-ons, I would appreciate you looking into it.

nonat commented 9 years ago

ok, ive been saving .css files so ruling that out, mabye its incompatible with window 7 after all. Anyway thanks for responding, its a great addon idea

acrisci commented 9 years ago

I just tested it on windows 7 and it works ok for me.

Make sure that your css rules are valid and aren't being overridden by existing rules. A good test would be body { display: none !important; }

I agree it's not the easiest add-on to use. If you get it working and want to make documentation updates, contributions are welcome.

nonat commented 9 years ago

ok so itll be at my end. Have only tried styles that work in Stylish, first disabled them there, made copies and saved them in their own stylesheets like

C:\Users\mycomputer\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxx.default\chrome\userContent.css.d\AMO Serenity.css

none of the rules in any of the ones tested were applied so not content related

doctorcolossus commented 9 years ago

nonat: it would help if you provided a full sample -- something short and simple. Do all of your CSS files include spaces? I checked, and spaces don't cause any trouble for me with this addon on linux, but it's just a wild guess that might be causing some problem for you on windows.