Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce http header cookie clutter #1481

Merged
merged 2 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions plugin/js/HttpClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ class HttpClient {
}else{
cookies = await browser.cookies.getAll({domain: urlparts[urlparts.length-2]+"."+urlparts[urlparts.length-1],partitionKey: {}});
}
cookies = cookies.filter(item => item.partitionKey != undefined);
//create new cookies for the site without the partitionKey
//cookies without the partitionKey get sent with fetch
cookies.forEach(element => chrome.cookies.set({
Expand Down
1 change: 1 addition & 0 deletions plugin/js/parsers/SpacebattlesParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class SpacebattlesParser extends Parser{
constructor() {
super();
this.cache = new FetchCache();
this.minimumThrottle = 50; //182 at 20
}

clampSimultanousFetchSize() {
Expand Down
Loading