You cannot (consistently). Deliberately malicious actions are generally restricted by browsers.
More Related Contents:
- How can I get the current Crome URL?
- How to sort an object array by date property?
- Private properties in JavaScript ES6 classes
- YouTube iframe API: how do I control an iframe player that’s already in the HTML?
- How to use jQuery for XML parsing with namespaces
- new Date() works differently in Chrome and Firefox
- Get HTML5 localStorage keys
- Should an async API ever throw synchronously?
- How to test if a string is JSON or not?
- How do I remove documents using Node.js Mongoose?
- Arrow vs classic method in ES6 class
- Force browser to trigger reflow while changing CSS
- Why is window.showModalDialog deprecated? What to use instead?
- JavaScript regular expression for Unicode emoji
- using a fetch inside another fetch in javascript
- Regular Expression For Arabic Language
- How can I create a horizontal scrolling Chart.js line chart with a locked y axis?
- jQuery + RGBA color animations
- Changing Style Sheet javascript
- Unchecked runtime.lastError when using Chrome API
- change keyboard layout with javascript
- How to handle query parameters in angular 2
- Uglify SyntaxError: Unexpected token: punc ())
- how to use jQuery ajax calls with node.js
- How to get the target of a JavaScript Proxy?
- How to create time in a specific time zone with moment.js
- Is there a way to get innerText of only the top element (and ignore the child element’s innerText)?
- Making a window pop under in chrome
- angular 2 access ng-content within component
- Keeping history of hash/anchor changes in JavaScript