Skip to content
This repository was archived by the owner on Feb 9, 2024. It is now read-only.
This repository was archived by the owner on Feb 9, 2024. It is now read-only.

Ability to unload javascript includes? #483

@zhuber

Description

@zhuber

If you have an application that allows users to drop in javascript includes, it may pull in third-party scripts that you do not want hanging around in the browser. After testing with this it seems like any js assets loaded in through this system are stored in browser memory and there is no way that I can see to unload them. This is really concerning, given that people can paste in any sort of script and we would then need to trust those scripts to act in a legal manner when staying in the users browser for the entire session.

Is there a way to encapsulate the js includes in such a way that they can be removed when a user changes pages, or we remove the component that originally contained the js include?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions