/* First, find the center of the red box */
const r1 = document.getElementById("codebg").getBoundingClientRect();
const c1 = r1.left + (r1.width / 2);
/* First, find the center of the red box */
const r1 = document.getElementById("codebg").getBoundingClientRect();
const c1 = r1.left + (r1.width / 2);
/* Set the security code text when the page has loaded */
window.addEventListener("load", set_code);
/* Set the security code text when the page has loaded */
window.addEventListener("load", set_code);
in particular, after we set it */
window.addEventListener("load", center_code);
in particular, after we set it */
window.addEventListener("load", center_code);