function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AdityaRAdityaR 

SCRIPT5: Access is denied.

Hi,

 

I have a custom button on the Case Layout that opens a webpage (http://www.google.com) in a new window. When the window pops up, I can see the following error in the Developer tools console in IE

 

SCRIPT5: Access is denied.
 
main.js, line 12 character 75


The method that this error points to is

function openIntegration(a,b,c){

a=window.open(a,"_blank",b,false);

if(c==2)

   a.moveTo(0,0);

else if(c==0)

   {a.moveTo(0,0);

 a.resizeTo(self.screen.width,self.screen.height)

 }

}

 

This error is displayed only in IE (both versions 8 and 9) but neither in firefox error console nor in chrome.

Please share any pointers on this

 

Thanks,

Aditya