The App Store guidelines have changed quite a bit since I last looked at them closely. Ultimately it doesn’t matter what the guidelines say but how Apple enforces them. Glad to hear it’s not a problem. Maybe it’s okay since it’s probably JavaScript executing from WebKit.
Here is a snippet of the guidelines I thought would be a problem.

