Skip to content

Commit

Permalink
Add modifyCookies subfeature
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanKingston committed Jan 10, 2025
1 parent e977bd1 commit 3461b86
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
Binary file added .github/workflows/.auto-respond-pr.yml.swp
Binary file not shown.
24 changes: 24 additions & 0 deletions overrides/windows-override.json
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,30 @@
}
}
},
"webCompat": {
"state": "enabled",
"settings": {
"modifyCookies": {
"state": "enabled",
"changes": []
},
"domains": [
{
"domain": "msn.com",
"patchSettings": [
{
"op": "add",
"path": "/modifyCookies/changes/-",
"value": {
"key": "is_ms_teams_iframe",
"action": "delete"
}
}
]
}
]
}
},
"windowsSpellChecker": {
"state": "enabled"
},
Expand Down
14 changes: 13 additions & 1 deletion schema/features/webcompat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,19 @@ type FullWebCompatOptions = CSSInjectFeatureSettings<{
plainTextViewPort: StateToggle;
modifyLocalStorage: {
state: StateToggle;
changes: any[];
changes: {
key: string;
action: 'delete';
}[];
};
modifyCookies: {
state: StateToggle;
changes: {
key: string;
action: 'delete';
path?: string;
domain?: string;
}[];
};
}>;
export type WebCompatSettings = Partial<FullWebCompatOptions>;
Expand Down

0 comments on commit 3461b86

Please sign in to comment.