Code
window.addEventListener("keydown",function (e) {
if (e.keyCode === 114 || (e.ctrlKey && e.keyCode === 70)) {
e.preventDefault();
}
})
More Related Contents:
- How to force browser to show image 3 inches wide?
- Disabling browser print options (headers, footers, margins) from page?
- Setting minimum size limit for a window minimization of browser?
- How to trigger CSS “hover state” using Javascript? [duplicate]
- Browsers automatically evaluate hex or hsl colors to rgb when setting via element.style.background?
- How do I dynamically adjust css stylesheet based on browser width?
- Switch classes on click of button
- Making a Mobile friendly website [closed]
- How can I modify with css an image appended with javascript?
- Scroll Function working in reverse order [closed]
- Using jQuery to center a DIV on the screen
- How do I target only Internet Explorer 10 for certain situations like Internet Explorer-specific CSS or Internet Explorer-specific JavaScript code?
- jQuery: Get height of hidden element in jQuery
- horizontal scrollbar on top and bottom of table
- Appending HTML string to the DOM
- Difference between Relative path and absolute path in javascript
- Browser/HTML Force download of image from src=”data:image/jpeg;base64…”
- How to make HTML element resizable using pure Javascript?
- Show and hide divs at a specific time interval using jQuery
- How do I detect “shift+enter” and generate a new line in Textarea?
- offsetting an html anchor to adjust for fixed header [duplicate]
- Bootstrap 4 Dropdown Menu not working?
- AngularJS: Better way to watch for height change
- Force browser to refresh CSS, JavaScript, etc
- :touch CSS pseudo-class or something similar?
- Check if element is between 30% and 60% of the viewport
- How to vertically align all text in CSS?
- DIV Vertical Scroll bar on left
- How do I detect the inherited background-color of an element using jQuery/JS?
- CSS /JS to prevent dragging of ghost image?