JavaScript Polyfill is code that implements the functionality not supported by certain browsers in a non-native way.
Show Modal Dialog in Javascript. It seems that Javascript world is
Implementing modal popup with native html
Sudhanshu Shekhar - Sudhanshu Shekhar's Blog
Exception in BrowserPlatformLocation on IE in mobile window
JavaScript showModalDialog method
A smart way to write polyfill functions in JavaScript
What is Polyfill in JavaScript with code example.
Untitled - Plunker
Bleeding Edge Web: October 2014
window.returnValue和window.showModalDialog()和window.close()的使用
How to create a polyfill for call, apply and bind
Bootstrap Modal Dialog showing under Modal Background - Rick
Polyfills: everything you ever wanted to know, or maybe a bit less