Skip to content

allow content_security_policy and Support newtab #1066

@IFtiger-hu-hub

Description

@IFtiger-hu-hub

Describe the problem

Currently, crx cannot develop efficiently with the newtab page configured, as starting the project will fail. If possible, please request support for newtab. Also, // content_security_policy: {
// "extension_pages": "default-src 'self' https:; connect-src 'self' https:; script-src 'self'; img-src * data:; style-src 'self' 'unsafe-inline';"
// }, and also support configuring a more lenient security policy

Describe the proposed solution

I hope that if a lenient security policy is configured in the project, it can open the page pointed to by newtab when starting the project

Alternatives considered

Currently, there is no configuration for content_security_policy, but using some static resources in the project has become more troublesome, especially when referencing static resources within the project, such as images and SVGs in assets

Importance

nice to have

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions