cancel
Showing results for 
Search instead for 
Did you mean: 

Can we change the setting of Internet Explorer by Java Script?

Former Member
0 Kudos

Can we change the setting of Internet Explorer by java script?.

For e.g: I need to make the "Initialize and script control not marked as safe" as enabled by using java script code.

Please suggest me is it possible?

Thanks,

Manisha

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Definitely, absolutely not possible.

Former Member
0 Kudos

Thanks everybody.

My requirement is to push data of a grid to Excel by clicking a button. I have written code in javascript. But if the option in Internet Explorer "Initialize and script controls not marked as safe" is disabled , i am not able to push data to Excel.

It is possible only this option is enabled.

So tried to push data by write code: document.appletname.saveAsCSVFile();

But i am not getting data in Excel in correct format.

It is coming as : first row: Column name1, " column name 2",...

2nd row: value1, "value2",.....

Any ideas on this?

Thanks,

manisha

sufw
Active Participant
0 Kudos

I would agree with Christian on this. I highly doubt this is possible as it would be a very bad security hole in the browser.

Regardless of security, doing so would virtually guarantee that your web site will only work with one specific browser and will break after a browser upgrade, etc.

Former Member
0 Kudos

I think this is related to the security settings of the browser,so I doubt changing the setting via javascript would be allowed.