Skip to content

Instantly share code, notes, and snippets.

@matdave
Last active May 2, 2016 16:32
Show Gist options
  • Save matdave/4861044efa6101822c04 to your computer and use it in GitHub Desktop.
Save matdave/4861044efa6101822c04 to your computer and use it in GitHub Desktop.
Google Translate class
$(document).ready(function(){
if(window.location.href.indexOf("google.com") > -1)
{
$("body").addClass("trans");
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment