mssitepinned event
Fires when a site is pinned to the Start screen.
This method will be supported in Microsoft Edge on Windows 10 in a future update.
Syntax
Event handler parameters
handler
Type: objectThe function that does something when event is fired.
Remarks
This event fires when the user clicks the "Pin to Start" button from the Favorites Center in Internet Explorer 11. The event can be used when customizing the pinned tile and and providing user feedback on completing the pinning action.
object.addEventListener("mssitepinned",function (){ // your code;},false);