Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

This is related to another question I posed recently, but I thought I should keep issues separate and specific.

On a desktop computer running Firefox, one can create a file called "userContent.css" and have the CSS in that file over ride the CSS for specific web sites.

I'd like to be able to do the same thing on my Android 2.2 phone, especially since there are so many sites not optimized for mobile viewing.

I am agnostic about how this is done, whether it's an app, or a setting in the Android default browser, or something else.

PS: I've tried downloading the Firefox beta for my phone (HTC Magic), but it seems that it is not available for my model.

Thanks for any advice.

share|improve this question
You may want to try again now with the newest version of Firefox. –  Matthew Read Aug 5 '11 at 16:45
I have downloaded the latest version, and I also have a newer more capable phone (Samsung Galaxy S 2). However, I am at a loss as to whether it is possible to put a userContent.css file somewhere. –  Dave M G Aug 5 '11 at 19:21
add comment

migrated from stackoverflow.com Mar 29 '11 at 13:15

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 1 down vote accepted

There is currently no way to apply a user stylesheet with the default Android browser.

If you Firefox isn't available on your phone, you could install the APK manually, but it may not work since it isn't supported.

You could download the Opera browser, connect it to remote debugging using the Dragonfly debugger, and then manually apply the stylesheet via debugging--but there are a lot of steps to that and you would have to add the stylesheet on every page load. This may not be a solution depending on what your needs are for the user stylesheet.

share|improve this answer
Since asking this question, I have upgraded to a phone that does support Firefox. Is there userChrome capability on Firefox for Android? –  Dave M G Sep 6 '11 at 15:14
@DaveMG: According to bugzilla, there's no mention of it for Firefox on Android. So I don't know. bugzilla.mozilla.org/… –  Mufasa Sep 6 '11 at 15:43
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.