Can I have usercontent.css on Android phone?

Talk about Mozilla browsers for small devices such as PDAs and cellphones.
Post Reply
semigeek
Posts: 322
Joined: April 16th, 2014, 8:54 pm
Location: Colorado

Can I have usercontent.css on Android phone?

Post by semigeek »

Can Android Firefox accept a usercontent.css file, and where would I put it? There's no "firefox" directory on my (emulated) sdcard, and my file explorer won't show the device \data directory -- phone isn't rooted.
semigeek
Posts: 322
Joined: April 16th, 2014, 8:54 pm
Location: Colorado

Re: Can I have usercontent.css on Android phone?

Post by semigeek »

...I'm guessing that Android Firefox doesn't support user CSS in an accessible location yet...

But here's an alternative for anyone interested. The uBlock Origin addon allows CSS filtering, either global or site-specific. (Maybe AdBlock Plus does too, it sounds like the syntax is borrowed from ABP, which I haven't used.)
https://addons.mozilla.org/en-US/firefo ... ck-origin/

I suppose Stylish must allow this also? (Haven't tried it myself.) In any case, an addon seems to be the solution for now.
kbrosnan
Posts: 520
Joined: October 23rd, 2003, 8:32 pm

Re: Can I have usercontent.css on Android phone?

Post by kbrosnan »

It might be possible to adb push the file to the correct directory under /data/data/org.mozilla.firefox/.../ though I've never tried.
Post Reply