Topic: CSS Filtering (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=29470" title="Pages that link to Topic: CSS Filtering (Page 1 of 1)" rel="nofollow" >Topic: CSS Filtering <span class="small">(Page 1 of 1)</span>\

 
Ensellitis
Paranoid (IV) Inmate

From: Kansas City, MO , USA
Insane since: Feb 2002

posted posted 08-23-2007 05:31

On my site, http://www.landofbrokendreams.com, i have just implemented profile customizing.

My question, has anyone here ever made a PHP CSS filter? I want to ONLY allow a handful of classes and a few id's, so that people can't totally hack up the site with CSS. If no one has done this, do you know of a good place I can start looking for information on this?

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

posted posted 08-23-2007 09:03

mmh, to save the trouble of parsing and filtering the CSS in PHP, crazy task if you ask me, you could easily load the basics of your site's CSS last and set the important rules/properties as such ( !important ).

I could ask if they do anything on my.opera.com but I'd be surprised since it's really easy to visit a page with CSS off to revert a fcuk up.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu