HTMLIFrameElement.addNextPaintListener()HTMLIFrameElement.clearMatch()HTMLIFrameElement.download()HTMLIFrameElement.executeScript()HTMLIFrameElement.findAll()HTMLIFrameElement.findNext()HTMLIFrameElement.getActive()HTMLIFrameElement.getCanGoBack()HTMLIFrameElement.getCanGoForward()HTMLIFrameElement.getContentDimensions()HTMLIFrameElement.getMainfest()HTMLIFrameElement.getMuted()HTMLIFrameElement.getScreenshot()HTMLIFrameElement.getStructuredData()HTMLIFrameElement.goBack()HTMLIFrameElement.goForward()HTMLIFrameElement.getVisible()HTMLIFrameElement.getVolume()HTMLIFrameElement.mute()HTMLIFrameElement.purgeHistory()HTMLIFrameElement.reload()HTMLIFrameElement.removeNextPaintListener()HTMLIFrameElement.sendMouseEvent()HTMLIFrameElement.sendTouchEvent()HTMLIFrameElement.setActive()HTMLIFrameElement.setInputMethodActive()HTMLIFrameElement.setNFCFocus()HTMLIFrameElement.setVisible()HTMLIFrameElement.setVolume()HTMLIFrameElement.stop()HTMLIFrameElement.unmute()HTMLIFrameElement.zoom()mozbrowseractivitydonemozbrowserasyncscrollmozbrowseraudioplaybackchangemozbrowsercaretstatechangedmozbrowserclosemozbrowsercontextmenumozbrowserdocumentfirstpaintmozbrowsererrormozbrowserfindchangemozbrowserfirstpaintmozbrowsericonchangemozbrowserloadendmozbrowserloadstartmozbrowserlocationchangemozbrowsermanifestchangemozbrowsermetachangemozbrowseropensearchmozbrowseropentabmozbrowseropenwindowmozbrowserresizemozbrowserscrollmozbrowserscrollareachangedmozbrowserscrollviewchangemozbrowsersecuritychangemozbrowserselectionstatechangedmozbrowsershowmodalpromptmozbrowsertitlechangemozbrowserusernameandpasswordrequiredmozbrowservisibilitychangeWarning: Removed in Firefox 65.
The findAll() method of the HTMLIFrameElement searches for a string in a browser <iframe>'s text content; if found, the first instance of the string relative to the caret position will be highlighted.
Invoking this method results in a mozbrowserfindchange event firing, which carries details about the search results.
Note: Use of the Browser API requires a privileged app, and browser and/or embed-apps permissions, depending on what you want to do. See Using the Browser API for more details.
instanceOfHTMLIframeElement.findAll(searchString, caseSensitivity);
Void.
<iframe>'s text.case-sensitive) or insensitive (case-insensitive.)The following function is taken from our Browser API demo, and executes a search when a search form is submitted. See Implementing the search bar for more explanation.
searchForm.addEventListener('submit', function(e) {
e.preventDefault();
browser.findAll(searchBar.value, 'case-sensitive');
searchActive = true;
prev.disabled = false;
next.disabled = false;
searchBar.blur();
});
Not part of any specification.
Supported since Firefox 47, in chrome code only. Removed completely in Firefox 65.
Unlikely ever to be supported in other browsers.