Is there an option in Pale Moon to access a closed shadow-root like in chrome or firefox "openOrClosedShadowRoot"?
Here is an html example:
Code: Select all
<!DOCTYPE html>
<html lang="ru">
<head></head>
<body>
<div id="example">
<div>
#shadow-root (close)
<iframe src="Another domain">
#document
<!DOCTYPE html>
<html lang="en-US" dir="ltr">
<head></head>
<body>
#shadow-root (close)
<div>
<div id="content"><div>
<div>
</body>
</html>
</iframe>
<div>
</div>
</body>
</html>
But I can't figure out how to do this in Pale Moon.content.document.getElementById("example")
.firstChild.openOrClosedShadowRoot.firstChild.contentDocument
.body.openOrClosedShadowRoot.querySelector("#content")