Play cheat with W3C CSS Validator
If you design or create website you must validated the CSS and HTML. You can find the css and html validator from w3c validator. When i used thickbox in my site the css not valid cause thickbox used css3 and the validation use css level 2
I think i must played cheat with this validation cause it’s make me feel sick. I make some modification for the engine for played cheat with this W3C engine.
First I learn what engine that W3C have and if found this on my engine [HTTP_USER_AGENT] => W3C_Validator/1.575 .When i see that i got the point, W3C used custom engine and the call the engine with W3C_Validator . I think i can modified my code and put some code for hide my thickbox.css from this engine.
This is the code for hide my CSS
<?php
$text = $_SERVER["HTTP_USER_AGENT"];
$findme = 'W3C';
$engine = strstr($email, $findme);
if (!preg_match("/".$findme."/i", $text)) { ?>
<link rel="stylesheet" href="thickbox.css" type="text/css" media="screen" />
<?php } ?>
You just need change the line 6 with your css that you want hide
![]()
And when i checked on W3C once more time, they said this site already validating
you can see here
Popularity: 8% [?]






















04.06.2008
12:06
Hahahaha, nice trick mate
04.06.2008
14:06
geblek
)
gw pake yak … cuma kayaknya gak bakal tahan lama sampe w3c tau
04.06.2008
18:06
Thanks for the information.
05.06.2008
23:06
sick way to fool robot.. hahahahaha
05.06.2008
23:06
trackback from arenosoft.wordpress.com
Indonesia Software Engineer Outsource
23.08.2008
02:08
Wakakak curang..
13.11.2008
04:11
HEHE:-) .. Nice work man ..
” if you can’t make it – fake it ”
I am happy user on http://www.vinzenzkummer.com
18.05.2009
12:05
wah baru kepikira nih cara kayak gini