Skip to content

Side Effect of playable.js #146

Closed as not planned
Closed as not planned
@hmzq-dev

Description

@hmzq-dev

This applies to all the files named playable.js for example, css-examples/learn/playable.js. What I have noticed is that while editing the CSS, if I add the rule:

* {
  display: none;
}

The whole html page for example this goes blank which is referenced in an iframe here. Which means I can no longer edit the css or even reset it. The only temporary fix for this is to reload the whole page (and thus resetting the css).

Maybe a solution for this would be to always overwrite the display property? (But then that wouldn't allow users to set display: block; or display: none;)

Another problem is that playable.js allows users to change the innerHTML property. Which possibly makes this vulnerable to an HTML injection attack?

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixDeemed to be outside the scope of the project or would require significant time and resources to fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions