Log in

View Full Version : Looking for an Exclusive Google Chrome CSS hack.



codeexploiter
05-19-2009, 11:34 AM
Hi all,

I am looking for a CSS hack that only works in Google Chrome. There are some hacks available but most of them will work in Apple Safari also, which I don't want. In other words an exclusive CSS hacks that works only in Chrome.

Plz do let me know if you have anything in your list.

Regards

Medyman
05-19-2009, 02:23 PM
I don't think such an hack exists. Chrome is built on Webkit (the same rendering engine as Safari) and parts of Firefox.

I don't know why you would need to do this but if you do need Chrome-only styles, you can detect the UserAgent string and use some logic to set the stylesheet. That's not always 100% accurate, however.

Out of curiosity, why do you need to do this?