05-16-2020 01:10 AM
I need to add a Javascript to sharepoint online Modern page in order to be able to hide the Gear Icon (Settings) for certain users.
Someone already provided the code but cant find a way to upload it. Is there an editor or something. I am a total newbie to SPO Modern Sites.
05-16-2020 01:29 AM
@RicardoC15 there is no script editor in the modern experience, nor (out-of-the-box) can you change the CSS so you won't at the moment be able to hide the gear.
Rob
Los Gallardos
Microsoft Power Automate Community Super User
09-24-2020 02:15 PM
Hi @Rob Elliott
You should take a look at https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-script-editor. It allows you to add a webpart where you can add custom js,html, css code