Dmitry Dartz wrote:
for example, with this HTML
<html>
<style>
.myclass {background-color: black}
</style>
<body class="myclass">
is there a way to turn CSS off and therefore get body rendered with default
class?
Turning off CSS on the docshell would do that. Assuming it were
supported (which I don't believe it is).
for example, with this HTML
<html>
<body>
<script>
alert("hello");
</script>
is there a way to turn JS off and therefore get no alerts?
Setting allowJavascript to false on the docshell would prevent that.
-Boris
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding