fixing functionality for proxying resources which open in iframe when click on view online tab