PHP CSSReg

Back to articles

hackvertor

Author:

Gareth Heyes

@hackvertor

Published: Thu, 18 Aug 2011 11:46:23 GMT

Updated: Sat, 22 Mar 2025 15:38:17 GMT

Just a quick post to mention the excellent work by Norman Hippert aka @thewildcat, he successfully converted my Javascript based CSSReg into PHP. I was meaning to do this but never found the time so it's pretty awesome that not only did thewildcat convert the code but found some nice bugs in my code and fixed them. Great work Norman thanks very much!

PHP CSSReg demo

PHP CSSReg source code *

  • Note image proxying is missing, you must either use a image proxy or read the image files using a php script to prevent CSRF via graphics.

In case you don't know CSSReg converts a user supplied stylesheet and filters it removing any dangerous parts.

Back to articles