Within my application, I am retrieving the content from a different domain's page. This content includes specific JavaScript that is executed alongside the page. However, there is an issue with the following line of code within the JavaScript: "document.selection.createRange()". This results in an exception being thrown at runtime in Internet Explorer due to security restrictions preventing changes to iframe data.
My query is centered around how to handle or suppress this particular exception effectively. Any guidance on this matter would be greatly appreciated. Thank you in advance :)