I have a question (ethics may be involved).
I am running an internal website.... when user's select a certain page they get the message"Some Software (active X control)....might be unsafe. Do you want to allow it to run?
The java script that is running....
function getPC()
{
var netObject, PCname;
netObject = new ActiveXObject("WScript.Network");
PCname = netObject.ComputerName;
document.form1.test.value = netObject.ComputerName;
}
This script needs to be run but...... I need this warning only turned off for this page....
I don't know if it is possible to bypass this message for one page.
I will understand if this is considered unethical....just let me know, so I don't reference it again....
Thanks
I am running an internal website.... when user's select a certain page they get the message"Some Software (active X control)....might be unsafe. Do you want to allow it to run?
The java script that is running....
function getPC()
{
var netObject, PCname;
netObject = new ActiveXObject("WScript.Network");
PCname = netObject.ComputerName;
document.form1.test.value = netObject.ComputerName;
}
This script needs to be run but...... I need this warning only turned off for this page....
I don't know if it is possible to bypass this message for one page.
I will understand if this is considered unethical....just let me know, so I don't reference it again....
Thanks
Comment