<story><title>PiHole-Google: Completely Block Google and Its Services</title><url>https://github.com/nickspaargaren/pihole-google</url></story><parent_chain><item><author>geokon</author><text>The problem is that JS Fonts and other CDNed stuff won&amp;#x27;t load and websites will hang or work weird - particularly Stackoverflow. Bc it&amp;#x27;s all over https you can&amp;#x27;t MITM it and inject your own with OpenWRT&amp;#x2F;piholes.  Decentraleyes (a Firefox browser extension) fixes some of this, but not all. If anyone has any additional suggestions, please let me know (it makes life bearable in China without a VPN)</text></item></parent_chain><comment><author>maccard</author><text>Are there any extensions that modify external resources and point them towards a &amp;quot;trusted&amp;quot;  cdn? e.g. requesting 
    &amp;lt;script src=&amp;quot;&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;ajax.googleapis.com&amp;#x2F;ajax&amp;#x2F;libs&amp;#x2F;jquery&amp;#x2F;3.4.1&amp;#x2F;jquery.min.js&amp;quot;&amp;gt;&amp;lt;&amp;#x2F;script&amp;gt;&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;ajax.googleapis.com&amp;#x2F;ajax&amp;#x2F;libs&amp;#x2F;jquery&amp;#x2F;3.4.1&amp;#x2F;jquery.mi...&lt;/a&gt;&lt;p&gt;Would automatically remap to&lt;p&gt;&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;cdnjs.cloudflare.com&amp;#x2F;ajax&amp;#x2F;libs&amp;#x2F;jquery&amp;#x2F;3.4.1&amp;#x2F;jquery.min.js&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;cdnjs.cloudflare.com&amp;#x2F;ajax&amp;#x2F;libs&amp;#x2F;jquery&amp;#x2F;3.4.1&amp;#x2F;jquery.m...&lt;/a&gt;</text></comment>
<story><title>PiHole-Google: Completely Block Google and Its Services</title><url>https://github.com/nickspaargaren/pihole-google</url></story><parent_chain><item><author>geokon</author><text>The problem is that JS Fonts and other CDNed stuff won&amp;#x27;t load and websites will hang or work weird - particularly Stackoverflow. Bc it&amp;#x27;s all over https you can&amp;#x27;t MITM it and inject your own with OpenWRT&amp;#x2F;piholes.  Decentraleyes (a Firefox browser extension) fixes some of this, but not all. If anyone has any additional suggestions, please let me know (it makes life bearable in China without a VPN)</text></item></parent_chain><comment><author>Remed</author><text>You can create a self-signed certificate for Google domains and trust it on your machines. Then you can MITM. This won&amp;#x27;t work well if you want to do it at a scale, with a number of 3rd party users, but if the only user is you or your family, it should do the trick.</text></comment>