Wednesday, January 28, 2015

detect safari only by jquery and css

var ua=navigator.userAgent;
if(ua.search("Safari") greater= 0 && ua.search("Chrome") lessthan 0){
     do something here for your safari
}

No comments:

Post a Comment

Workflow of WordPress project in a team with Git

1. We should not push any Wordpress core folders or files to github. 2. Only push custom theme and custom plugin into github. 3. So, in this...