I have a script on a page in sharepoint where I want to change the text from Sharepoint to my Company Name. It works but when the page refreshes the text sharepoint is visible for 1 second before the text changes. This is my code.
jQuery( document ).ready(function() {
jQuery(".o365cs-nav-appTitle > span").text("My Company Name");
});
Is the executionorder of scripts causing this?