I can tell from my webserver logs that one of my Javascript files is treated by (some?) iOS 14 as "injected". My script is run in a separate environment (namespace?). And its attempts to do AJAX fail, apparently because it's assigned an "origin" which doesn't match my webserver, so the standard same-origin policy forbids the operation.
I would expect to get caught like this if I was trying to do something blackhattish. But it's just typical Javascript which works on all other browsers. Especially, my Javascript is loaded as an external file in the head portion of its HTML page as usual
<script type="text/javascript" src="foobar.js?baz"></script>
All the page files -including the problematic Javascript- are loaded from the same site-- http://www.foo.bar
How can I tell what the issue is from the server side? (I cannot recreate the problem from the client side - in particular I don't have access to any failing iPhone.)
EDIT 23 - April 2021 - Problem partially (but not fully) disappears on iPhone versions later than 14.0.3.