Hiding New Button in a specific Module
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2024 09:36 AM
How do you guys hide the new button in a selected Module can someone help me with this
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2024 09:43 AM
Hi @aniellacerna,
please try below script:
type - onLoad
(function() {
// Hide the "New" button by manipulating the DOM
var newButton = document.querySelector('button[title="New"]');
if (newButton) {
newButton.style.display = 'none';
}
})();
Thank you, please make helpful if you accept the solution.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2024 10:16 AM