AdditionalPageHead for replacing the HTML in the maintenance message displayed on top of every .aspx page in the farm. This works as expected.
But when viewing a document by using Office Web Apps, i.e.
AdditionalPageHead can't be added - as the master page is missing.
How is it possible to inject custom JS into the Wopiframe2.aspx page?