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
This will then get sanitized and loaded in an iframe to be displayed. How could I run darkreader on that doc before loading it inside the iframe? JS execution in the iframe is disabled. I can't see a way to target a specific document in the documentation, but perhaps I'm going about this the wrong way? Or perhaps it's just not possible?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Say I have user generated HTML that I'm loading as a separate document using DOMParser:
This will then get sanitized and loaded in an iframe to be displayed. How could I run darkreader on that doc before loading it inside the iframe? JS execution in the iframe is disabled. I can't see a way to target a specific document in the documentation, but perhaps I'm going about this the wrong way? Or perhaps it's just not possible?
Beta Was this translation helpful? Give feedback.
All reactions