By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,591 Members | 629 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,591 IT Pros & Developers. It's quick & easy.

Javascript that Creates an Outlook Appointment - Browser Problem

P: 4
Hello fellows,

I was looking into a script embedded in a webpage that creates an Outlook appointment and opens it. I tested a sample appointment shared by Brian White (http://www.winscripter.com/WSH/MSOffice/90.aspx)and embedded it in a sample web page. But here are 2 problems:

1. The script works only in IE and not in any other browser.
2. IE issues a security message about an ActiveX control and asks if to enable it.

Do you have any idea how to make it work in all browsers and not to scare users with the ActiveX warning?

Thank you in advance!
Dec 20 '13 #1
Share this Question
Share on Google+
6 Replies


Dormilich
Expert Mod 5K+
P: 8,639
Do you have any idea how to make it work in all browsers and not to scare users with the ActiveX warning?
1) you’ll never get it to work in other browsers (because ActiveX is IE-only)

2) script permissions must be set by the user, so there is no chance that you (or any script) could influence that (otherwise your computer could be cracked this way very easily (with ActiveX you can circumvent JavaScript’s execution sandbox))
Dec 20 '13 #2

P: 4
Hi Dormilich,

Thank you for your response!
Is there a way to generate the appointment in JS without using ActiveX so that other browsers will support it?

Thank you in advance!
Dec 20 '13 #3

Dormilich
Expert Mod 5K+
P: 8,639
no. other browsers adhere to the JavaScript sandbox, i.e. JavaScript is not allowed to do anything outside the browser.

besides that, why should a browser support communication with Outlook, most people don’t even have that application?
Dec 21 '13 #4

P: 4
Hi Dormilich,
Thank you for your response!
I don't mind exploring other scripting languages if they are supported in all browsers. Are you aware of any?
I'd like to use a standalone html page (without the need to install IIS, PHP engine, etc.). This page will have a button that will trigger the script and add an outlook appointment/meeting.

Thank you for the information in advance!
Dec 21 '13 #5

Dormilich
Expert Mod 5K+
P: 8,639
I don't mind exploring other scripting languages if they are supported in all browsers. Are you aware of any?
the only language that could possibly do that is Java, but that needs a plugin to be installed and there might be restrictions as in JavaScript as to what you can modify on the user’s computer. allowing an unknown script to do something with your computer bears an incredible security risk, after all*.

writing an outlook appointment may be harmless, but what’s the difference between that and installing a virus (despite the intention, of course)?


* - why do you think is IE that vulnerable against attacks? (answer: ActiveX and its deep interaction with the OS)
Dec 21 '13 #6

P: 4
Thank you for your explanation, Dormilich!
Dec 22 '13 #7

Post your reply

Sign in to post your reply or Sign up for a free account.