This is for ‘design mode’ where the browser effectively turns the document into an editor. The execCommand API originated with IE and was later added to HTML5. Exactly which commands are supported, as well as their behavior varies across browsers. Clipboard access is considered a security risk.
Related Contents:
- ‘innerText’ works in IE, but not in Firefox
- JavaScript get clipboard data on paste event (Cross browser)
- How to get the browser viewport dimensions?
- How to Detect Browser Back Button event – Cross Browser
- JS li tag onclick not working on IE8
- How to fix Array indexOf() in JavaScript for Internet Explorer browsers
- What is minimum millisecond value of setTimeout?
- How to build PDF file from binary string returned from a web-service using javascript
- Jquery load() only working in firefox?
- OnChange event handler for radio button (INPUT type=”radio”) doesn’t work as one value
- Memory leak risk in JavaScript closures
- Fixing JavaScript Array functions in Internet Explorer (indexOf, forEach, etc.) [closed]
- How is the default submit button on an HTML form determined?
- Cross-platform, cross-browser way to play sound from Javascript? [duplicate]
- Cross-Browser Method to Determine Vertical Scroll Percentage in Javascript
- browser sessionStorage. share between tabs?
- How to add/update an attribute to an HTML element using JavaScript?
- How do I get the (x, y) pixel coordinates of the caret in text boxes?
- Prevent zoom cross-browser
- Intercepting call to the back button in my AJAX application
- How can I hide select options with JavaScript? (Cross browser)
- How to add/remove a class in JavaScript?
- Cross-browser bookmark/add to favorites JavaScript [duplicate]
- How to make Internet Explorer emulate pointer-events:none?
- textarea character limit
- Javascript switch vs. if…else if…else
- Arguments.callee is deprecated – what should be used instead?
- Detecting when Iframe content has loaded (Cross browser)
- Math.round(num) vs num.toFixed(0) and browser inconsistencies
- Is it possible to read the clipboard in Firefox, Safari and Chrome using JavaScript?
- How to know whether refresh button or browser back button is clicked in Firefox [duplicate]
- How can I make event.srcElement work in Firefox and what does it mean?
- Get the string representation of a DOM node
- Cross-browser method for detecting the scrollTop of the browser window
- How can I make window.showmodaldialog work in chrome 37?
- What happens to code after a javascript redirect (setting window.location.href)?
- window.focus() not working in Google Chrome
- Why can’t I pass “window.location.reload” as an argument to setTimeout?
- How to detect supported video formats for the HTML5 video tag?
- Cross-browser (IE8-) getComputedStyle with Javascript?
- Inserting text at cursor in a textarea, with Javascript
- How do I change the ID of a HTML element with JavaScript?
- Detecting an image 404 in Javascript
- event.toElement in IE8 and Firefox?
- Is there any problem with using HTML5’s “data-*” attributes for older browsers?
- How to display text in the browser status bar?
- Javascript maximum size for types?
- Making things unselectable in IE
- “google is not defined” when using Google Maps V3 in Firefox remotely
- Find the exact height and width of the viewport in a cross-browser way