> >> Would this also turn off CSS built into HTML?
> >
> > I don't know what the question is asking.
>
> 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?
>

https://developer.mozilla.org/en/Using_the_standard_theme

Just like click View -> Page Style -> No Style ?
There must be a programmatic way to do it.


>
> >
> >> What's about JS?
> >
> > Same.
>
> for example, with this HTML
>
> <html>
> <body>
> <script>
>  alert("hello");
> </script>
>
> is there a way to turn JS off and therefore get no alerts?
>

https://developer.mozilla.org/en/Code_snippets/Miscellaneous#Disabling_JavaScript_programmatically

It that what you need?

-- 
>: ~
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to