document.addEventListener("DOMContentLoaded", function(event) { // OnlyOffice var onlyoffice = document.getElementById("onlyoffice"); onlyoffice.disabled = true; });