var thisScript = document.getElementById('wcUD9HHHnEcWgEwMI8A'); var parent = thisScript.parentElement; var vDiv = document.createElement('div'); vDiv.style.padding = '5px'; vDiv.style.textAlign = 'center'; vDiv.style.backgroundColor = 'white'; vDiv.style.color = 'red'; vDiv.innerHTML = ''; parent.insertBefore(vDiv, thisScript.nextSibling);