readConfirm = function(prompt = "Confirm? (Y/n)"){
response = readline(paste(prompt, " "))
substr(tolower(response), start = 1, stop = 1) == "y"
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.