Navbar setting Can't completely remove help links

Using navbar settings I had only selected keyboard shortcuts which are to be shown to all users:


But when I am on the main desk I can view only keyboard shortcuts in such a way:
Screenshot from 2022-10-06 10-55-36
But in individual documents e.g. sales invoices, purchase invoices, Items/equipment etc. there are various other helpful documents of that particular doctype being shown. Sample screenshot
below:

Can anyone help me out if you have any idea how to hide those?

Hi @srushti,

Please apply the listview custom/client script.

// syntax
frappe.listview_settings['DocType Name'] = {
	refresh: function(frm) {
	    $('#help-links').hide();
	}
};

// Example
frappe.listview_settings['Item'] = {
	refresh: function(frm) {
	    $('#help-links').hide();
	}
};

Then reload and check it.

Thank You!

I m still able to view all help links and even reloaded after enabling the code

This is code… Is it written correctly or has some error?

Please check it.

Thank You It’s Working !!

Hello @NCP,
Does it work for some time now when I again checked it’s showing me even the script is enabled…
May there is still some mistake made please verify.

Hi @srushti,

In myside it perfactly work.

Reload the system and check it.

Otherwise apply it.
Maybe resolve you problem.

frappe.listview_settings['Item'] = {
	onload: function(frm) {
	    $('#help-links').hide();
	}
};

Thank You!