You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Scripted content](https://www.w3.org/TR/epub-33/#sec-scripted-content), JavasScript the ePub HTML content, is disabled by default due to the potential for executing malicious content.
94
94
95
-
This is done by sandboxing the iframe the content is rendered into, though it is still recommened to santize the ePub content server-side as well.
95
+
This is done by sandboxing the iframe the content is rendered into, though it is still recommended to sanitize the ePub content server-side as well.
96
96
97
97
If a trusted ePub contains interactivity, it can be enabled by passing `allowScriptedContent: true` to the `Rendition` settings.
-`root`**[element](https://developer.mozilla.org/en-US/docs/Web/API/Element)** element to start with
2227
2227
-`func`**[function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function)** function to run on each element
2228
-
-`filter`**([function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function)\|[object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object))**funtion or object to filter with
2228
+
-`filter`**([function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function)\|[object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object))**function or object to filter with
0 commit comments