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