How to disable some javascript on mobiles?

Yes - I thought that. Unfortunately Im developing a site for a big institution which has many stakeholders updating the website via the CMS. Theyre being told they must be mindful of users viewing the site on mobile devices and to resize the browser window to test. Rightly or wrongly - this is out of my hands and I will get a lot of stakeholders coming back saying “That more tab is not very prominent on mobile”. Im just trying to negate that situation.