Remove snip.ly

Add this to your functions to remove the ability of others ‘borrowing’ your content using their snip.ly account.

function snipoff() {
	echo '
 		<script type="text/javascript">
 			function adopted(parent) {
 				var html = null;
 				try {
 					var doc = top.location.pathname;
 				} catch(err){
 					// do nothing
 				};
 				return(doc != "/wp-admin/customize.php");
 			};
 			if (top.location != self.location && adopted()) { 
 				top.location = self.location.href;
 			};
 		</script>
 	';
}

add_action('wp_footer','snipoff',1);