Skip to content

Instantly share code, notes, and snippets.

@raytiley
Created May 16, 2010 04:26
Show Gist options
  • Save raytiley/402647 to your computer and use it in GitHub Desktop.
Save raytiley/402647 to your computer and use it in GitHub Desktop.
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js"></script>
<script>
$(document).ready(function(){
$("a[href*=mms]").click(function(){
if(!confirm("Do you really wish to view this video. Here is some legal mumbo jumbo?")) {
return false;
}
})
})
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment