I have a start page with some views of normal and promoted links list. In these displayes I turned off the toolbars. But on the starter page ribbon, the list toolbar appear if a list item is selected in any display. I tried to use this solution in a script editor (see the code below) but this one turn off the whole ribbon but I wanna turn off just a part of it.
Would anyone help me to solving this?