onmssitemodeinstalled Event

New for Windows Internet Explorer 9

[This documentation is preliminary and is subject to change.]

Occurs when a pinned site shortcut is successfully added to the Start menu.


Event Property object.onmssitemodeinstalled = handler;
DOM Events object.addEventListener( "mssitemodeinstalled", handler, bCapture); Internet Explorer 9 New for Internet Explorer 9 
attachEvent object.attachEvent( "onmssitemodeinstalled", handler); Internet Explorer only

Event Information

Bubbles No
Cancels No
To invoke Invoke msAddSiteMode and click Add in the confirmation dialog box.
Default action N/A

Event Object Properties

 New for Internet Explorer 9  In Internet Explorer 9, the type of event object depends on whether you use attachEvent or addEventListener to register the event handler. If you register the handler with addEventListener, an object of type MSSiteModeEvent is passed during the event. If you use attachEvent, the legacy event object is passed instead.

Refer to the specific event object for additional event properties.


This event occurs only when msAddSiteMode successfully installs the pinned site shortcut icon. It does not occur when the user pins the pinned site application directly to the Windows taskbar.


The following event registration and handler reminds the user to pin the application to the taskbar after installing the application shortcut in the Start menu.

document.addEventListener('mssitemodeinstalled', function() {
    alert("Make sure to pin the site to your Windows taskbar!"); 
}, false); 

Standards Information

There is no public standard that applies to this event.

Applies To

document, HTMLDocument Constructor

See Also


Community Additions