
답변 3개
Hi Ponram..Save your java script stored in a Static resource.Create a Home page component of type custom link..Add the component to the home page layout...Please find below the sample script to hide a standard button. function hideBtns(){if(document.getElementsByName("sendEmail")[0]!=null)document.getElementsByName("sendEmail")[0].style.display = 'none';if(document.getElementsByName("sendEmail")[1]!=null)document.getElementsByName("sendEmail")[1].style.display = 'none';}if (window.addEventListener) {window.addEventListener("load", hideBtns, false);}else if (window.attachEvent) {window.attachEvent("onload", hideBtns);}console.log('Standard email buttons are hidden!');This would work... Please check it and let me know on any concerns..