Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Default disable 3rd party cookies for these sites
Browse files Browse the repository at this point in the history
(facebook, google drive)

fixes #698
fixes #9810

Auditors: @bsclifton, @bbondy

Test Plan:
1. Clear your session data
2. Open Brave
3. Go to facebook
4. The shield should show allow all cookies
5. You should be able to upload image to comment

1. Clear your session data
2. Open Brave
3. Go to Google drive
4. The shield should show allow all cookies
5. You should be able to download file

Respect users setting:
1. Make 3rd party cookie block on facebook/google drive
2. Upgrade Brave
3. Go to facebook/google drive
4. The shield should show block 3rd party cookies
  • Loading branch information
darkdh committed Jul 5, 2017
1 parent 3b314d6 commit ac891d8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions js/data/siteSettingsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,15 @@ module.exports.defaultSiteSettingsList = [
"name" : "autoplay",
"pattern" : "https://www.twitch.tv",
"value" : true,
},
{
"name" : "cookieControl",
"pattern" : "https?://www.facebook.com",
"value" : "allowAllCookies"
},
{
"name" : "cookieControl",
"pattern" : "https?://drive.google.com",
"value" : "allowAllCookies"
}
]

0 comments on commit ac891d8

Please sign in to comment.