diff --git a/patches/privacy/disable-google-fonts.patch b/patches/privacy/disable-google-fonts.patch new file mode 100644 index 00000000..c9c0be34 --- /dev/null +++ b/patches/privacy/disable-google-fonts.patch @@ -0,0 +1,59 @@ +commit a06e62ec32a189b8cd16266e47b386ebe00cc04c +Author: csagan5 <32685696+csagan5@users.noreply.github.com> +Date: Thu Oct 12 07:41:20 2017 +0200 + + Disables references to fonts.googleapis.com + +diff --git a/components/dom_distiller/content/browser/dom_distiller_viewer_source.cc b/components/dom_distiller/content/browser/dom_distiller_viewer_source.cc +index bed7d31..cb8971f 100644 +--- a/components/dom_distiller/content/browser/dom_distiller_viewer_source.cc ++++ b/components/dom_distiller/content/browser/dom_distiller_viewer_source.cc +@@ -309,7 +309,7 @@ bool DomDistillerViewerSource::ShouldServiceRequest( + + std::string DomDistillerViewerSource::GetContentSecurityPolicyStyleSrc() + const { +- return "style-src 'self' https://fonts.googleapis.com;"; ++ return "style-src 'self';"; + } + + std::string DomDistillerViewerSource::GetContentSecurityPolicyChildSrc() const { +diff --git a/components/dom_distiller/core/html/preview.html b/components/dom_distiller/core/html/preview.html +index a4c07c5..894eb7f 100644 +--- a/components/dom_distiller/core/html/preview.html ++++ b/components/dom_distiller/core/html/preview.html +@@ -11,7 +11,7 @@ found in the LICENSE file. + + Title goes here and it could be kind of lengthy - Publisher name + +- ++ +