My content is loaded in another application via LTI launch. That application is trying to load the content in its iFrame.
My content has javascript calls which is written as top.setLinkVisibility=setLinkVisibility;
top.isDeeplinkSession()
When these JavaScript keywords get executed the content is not loaded properly (getting permission denied exception):
Error: Permission denied to access property**
This content would be loaded within my application and also out of my application (via LTI launch).
Now we tried to replace top
keyword with self
and it works fine
But to make it work for all the content we have to replace the keyword top to self in more than 1000 files and that's really tedious.
Any other way to make the content work? Replacing top to self is one way .. but any easier way?