Skip to content

[Feature] Add wildcard (*) support for cookies permission #1700

Description

@Stolka

Pre-check

  • I have searched existing issues and confirmed this is not a duplicate feature request.

The Problem You Want to Solve

I have a personal script for adding cookies and local storage entries to certain websites, defined in a list of rules, for example I have a rule to add 'theme': 'dark' cookie to .fandom.com, this way the site theme will always be dark whenever I visit it and saves me some clicks.

But because ScriptCat has a permission feature that protect cookies, which I also appreciate, it always asks me for permission when I visit one of the websites in the rules.

Proposed Solution

Add wildcard (*) support to Manage Cookies, since userscript can't modify the permission without user interaction, I think it's pretty safe to add wildcard support, but I'm not a security expert so I might be wrong.

Image

ScriptCat Version

1.5.0.1300

Additional Information

This is a selfish personal request, I don't think other people use userscripts the way I do. Feel free to reject it if it's out of scope, posses a huge security risk, or any other reasons.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions