Skip to content

Commit

Permalink
Merge pull request #8242 from brave/ffix-insta
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanbr committed Mar 17, 2021
2 parents 2c2da5d + f0f150c commit ac95bd4
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ constexpr char kSonyentertainmentnetwork[] =
constexpr char kSony[] = "https://[*.]sony.com/*";
constexpr char kGoogle[] = "https://[*.]google.com/*";
constexpr char kGoogleusercontent[] = "https://[*.]googleusercontent.com/*";
constexpr char kFacebook[] = "https://[*.]facebook.com/*";
constexpr char kInstagram[] = "https://[*.]instagram.com/*";

bool BraveIsAllowedThirdParty(const GURL& url,
const GURL& first_party_url,
Expand All @@ -44,6 +46,10 @@ bool BraveIsAllowedThirdParty(const GURL& url,
ContentSettingsPattern::FromString(kGoogleusercontent)},
{ContentSettingsPattern::FromString(kGoogleusercontent),
ContentSettingsPattern::FromString(kGoogle)},
{ContentSettingsPattern::FromString(kInstagram),
ContentSettingsPattern::FromString(kFacebook)},
{ContentSettingsPattern::FromString(kFacebook),
ContentSettingsPattern::FromString(kInstagram)},
{ContentSettingsPattern::FromString(kPlaystation),
ContentSettingsPattern::FromString(kSonyentertainmentnetwork)},
{ContentSettingsPattern::FromString(kSonyentertainmentnetwork),
Expand Down

0 comments on commit ac95bd4

Please sign in to comment.