View Single Post
YoDude's Avatar
Posts: 2,869 | Thanked: 1,784 times | Joined on Feb 2007 @ Po' Bo'. PA
#43
Originally Posted by zerojay View Post
The userContent.css file included in my package is based upon someone's edited version which ads a TON more things to the block list. I can't remember the name off the top of my head, but basically that version was based on the original at floopy moose anyways. I've also added a few custom ones.

Yes, it creates the chrome directory in the right place and installs the file. There's absolutely nothing stopping you from adding whatever you want to it after the install. If there's any other mods you wanna add to it, let me know because they might be useful for everyone (much like the flashblock I added already).

You can base your tutorial idea upon my package if you'd like... and maybe make mods available as add-ons for my original package. I haven't checked into HideUserAgent.
Your 55k file over wrote my 6.5k file just fine with no conflicts.

Your larger file includes much more than mine did and I especially like how it handles ads in search results and other sites run by that company that starts with a "G" and ends with an "oogle".

I just added the customizations that I use for mostly iPhone formatted sites to the beginning of your file and it works like a charm...

Code:
@-moz-document url-prefix(http://www.dot.state.pa.us/Penndot/Districts/district5.nsf/) {
    img {width: 100%; height: 100% !important }
}

@-moz-document url-prefix(http://207.251.86.248) {
    img {width: 100%; height: 100% !important }
}

@-moz-document url-prefix(http://164.156.16.43/public/) {
    img {width: 100%; height: 100% !important }
}

@-moz-document url-prefix(http://www.marketwatch.com/m/) {
  body {font-size: 120% !important}
}

@-moz-document url-prefix(http://m.reference.com/) {
  body {font-size: 120% !important}
}

@-moz-document url-prefix(http://imode.langtolang.com/) {
  body {font-size: 120% !important}
}

@-moz-document url-prefix(http://sunset.ci.sunnyvale.ca.us/airpac/) {
  body {font-size: 120% !important}
}

@-moz-document url-prefix(http://mobile.usa.gov/) {
  body {font-size: 120% !important}
}

@-moz-document url-prefix(http://lyrics.twilightwap.com/) {
  body {font-size: 120% !important}
}

@-moz-document url-prefix(http://lyrics.twilightwap.com/) {
    img {display: none !important }
}

@-moz-document url-prefix(http://wapedia.mobi/) {
  body {font-size: 120% !important}
}

@-moz-document url-prefix(http://www.hopstop.com/pda) {
  body {font-size: 120% !important}
}

@-moz-document url-prefix(http://mobile.flightstats.com/) {
  body {font-size: 120% !important}
}

As I was saying before, a future feature request would be to provide a means for a user to add lines like those^ to your file as he comes across a site that would benifit from some simple CSS tweaks.

If not, the best way for a casual user might be after installing your package, make a copy of your newly installed UserContent.css in their easier to access, "MyDocs" directory.
When new lines need to be added, add them to the "MyDocs" file then overwrite the old file in the "chrome" directory from the command line...
I don't even think root privileges are required.

BTW, couldn't this also be made available in the Diablo repositories?

Thanks.
__________________

SLN member # 009
 

The Following User Says Thank You to YoDude For This Useful Post: