Hide listview button

Hi
I have been looking at a few posts regarding the hiding of buttons.
But I have an additional requirement.

I want to hide the “Add Task” button in List view, but I cannot use permissions
simply because I still want the user to be able to create a new task, but I want to
force the user to use the “+” next to task in the Project-view.

IS there a way ?

frappe.listview_settings['Task'].refresh = function(listview) {
	$('.btn-primary').hide();
};

Thank you @ejaaz for helping me.

I see it is a previous post in the forum. I have to review my choice of “search-words” !
Then it perhaps would have shown up earlier.

But I appreciate it very much that you helped me out.