Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanbr committed Mar 23, 2021
1 parent 64db0c7 commit c4c8ffc
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ constexpr char kGoogle[] = "https://[*.]google.com/*";
constexpr char kGoogleusercontent[] = "https://[*.]googleusercontent.com/*";
constexpr char kFacebook[] = "https://[*.]facebook.com/*";
constexpr char kInstagram[] = "https://[*.]instagram.com/*";
constexpr char kSanitystudio[] = "https://[*.]sanity.studio/*";
constexpr char kSanityio[] = "https://[*.]sanity.io/*";

bool BraveIsAllowedThirdParty(const GURL& url,
const GURL& first_party_url,
Expand All @@ -50,6 +52,10 @@ bool BraveIsAllowedThirdParty(const GURL& url,
ContentSettingsPattern::FromString(kFacebook)},
{ContentSettingsPattern::FromString(kFacebook),
ContentSettingsPattern::FromString(kInstagram)},
{ContentSettingsPattern::FromString(kSanitystudio),
ContentSettingsPattern::FromString(kSanityio)},
{ContentSettingsPattern::FromString(kSanityio),
ContentSettingsPattern::FromString(kSanitystudio)},
{ContentSettingsPattern::FromString(kPlaystation),
ContentSettingsPattern::FromString(kSonyentertainmentnetwork)},
{ContentSettingsPattern::FromString(kSonyentertainmentnetwork),
Expand Down

0 comments on commit c4c8ffc

Please sign in to comment.