Skip to content

fix: update fixCSP for deprecation of 'X-Content-Security-Policy'#2596

Open
Parahexen wants to merge 1 commit intoTampermonkey:masterfrom
Parahexen:fixCSP-update
Open

fix: update fixCSP for deprecation of 'X-Content-Security-Policy'#2596
Parahexen wants to merge 1 commit intoTampermonkey:masterfrom
Parahexen:fixCSP-update

Conversation

@Parahexen
Copy link

Since the "X-Content-Security-Policy" is deprecated and nowdays it's "Content-Security-Policy", this fix will allow eslint inline configurations like /* eslint semi: ["error", "always"] */ which may depends underlying unsafe-eval to work without the CSP error prompt.

@cyfung1031
Copy link

@Parahexen the code in this repo is Tampermonkey 2.9 (year 2013)
Submitting PR is no use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants