[~] Refactor
This commit is contained in:
parent
b3156b5093
commit
8ec95247f9
33
deps/greasyfork/linkedin.user.js
vendored
33
deps/greasyfork/linkedin.user.js
vendored
@ -22,6 +22,39 @@
|
||||
// @noframes
|
||||
// ==/UserScript==
|
||||
|
||||
/*
|
||||
|
||||
Use this extension to disalbe CSP for linkedin
|
||||
|
||||
https://addons.mozilla.org/en-US/firefox/addon/header-editor/
|
||||
https://github.com/FirefoxBar/HeaderEditor
|
||||
https://github.com/violentmonkey/violentmonkey/issues/1335
|
||||
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src
|
||||
|
||||
|
||||
{
|
||||
"request": [],
|
||||
"sendHeader": [],
|
||||
"receiveHeader": [
|
||||
{
|
||||
"enable": true,
|
||||
"name": "disable CSP for linkedin",
|
||||
"ruleType": "modifyReceiveHeader",
|
||||
"matchType": "domain",
|
||||
"pattern": "www.linkedin.com",
|
||||
"exclude": "",
|
||||
"group": "Ungrouped",
|
||||
"isFunction": false,
|
||||
"action": {
|
||||
"name": "content-security-policy",
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
],
|
||||
"receiveBody": []
|
||||
}
|
||||
*/
|
||||
|
||||
class Linkedin {
|
||||
constructor() {
|
||||
this.data = new Map();
|
||||
|
Loading…
Reference in New Issue
Block a user