You can’t. There is no way that JavaScript can get out of the browser context to do this (not without exploiting some kind of loophole, which would be patched soon, hopefully!)
More Related Contents:
- How can I target only Internet Explorer 11 with JavaScript?
- How can I detect browser type using jQuery?
- How can I use JavaScript to transform XML & XSLT?
- Best way to check for IE less than 9 in JavaScript without library
- Alternative version for Object.values()
- How can I stop the browser back button using JavaScript?
- Disabling browser print options (headers, footers, margins) from page?
- How to prevent closing browser window?
- Manipulating innerHTML removes the event handler of a child element? [duplicate]
- Method for streaming data from browser to server via HTTP
- How to getting browser current locale preference using javascript?
- Jquery: change event to input file on IE
- Dynamic require in RequireJS, getting “Module name has not been loaded yet for context” error?
- Can Read-Only Properties be Implemented in Pure JavaScript?
- Syntax error in IE using ES6 arrow functions
- How to automatically allow blocked content in IE?
- Detect fullscreen mode
- Ask for confirm when closing a tab [closed]
- Cross-browser (IE8-) getComputedStyle with Javascript?
- Changing the type in IE with JavaScript
- img onload doesn’t work well in IE7
- How to disable elements selection and resizing in contenteditable div?
- control the working directory for ?
- Is it possible to catch browser’s File Open/Save dialog event using Javascript
- display HTML page after loading complete
- Pass a JavaScript array as argument to a WebAssembly function
- Javascript “window.open” code won’t work in Internet Explorer 7 or 8
- How to reduce the length of a video using JavaScript? [closed]
- Writing UTF8 text to file
- Why won’t .filter() work in Internet Explorer 8?