I was wondering what techniques there are to get a chunk of html / js injected onto each and every page in 365? Here’s the solutions that come to my mind :
- Add the snippet onto all the master pages.
- Add a web part (containing the snippet) onto each and every page.
- Feature with custom action (Not tested!)
Any other tricks or techniques?
In addition to getting code working on SharePoint Online, what about Outlook, Yammer and the other Office apps ?
You can use Office 365 Navigational links and modify existing js file or inject js file. Please have a look at this link for more detail.
http://technet.microsoft.com/en-us/library/dn532270.aspx