How to remove Google code in MODX?


I don’t want to use code, that refers to Google or uses Google stuff, like fonts (same to facebook etc.).
In the basic template, I found one line, referring to Google Fonts (line 267):

document.querySelector('head').innerHTML += "<link href=',700' rel='stylesheet' type='text/css'>";

How can I change the link so that I can use local standard fonts, e.g. Arial?

Are there other lines on other settings or templates containing “toxic” code?
Currently, I still have to “standard code” with no changes.

On installation MODX creates the template “BaseTemplate”. This is just an example for demonstration purposes. You’re not supposed to use this as is.

For your own custom website, replace the HTML markup in the template “BaseTemplate” with your own code (or delete the template “BaseTemplate” and create a new one).

I will not delete it, I will use it, since the basic layout used in the base template looks fine for me.
Sure I will change the HTML stuff and the texts and pictures but since I am not a whiz in CSS or JS, I am happy to have a template which I can use and where I see the changes directly.

Sure, whatever suits your needs.

Then just delete this part in the template

// Load the Open Sans font
try {
	document.addEventListener("DOMContentLoaded", function() { // prevent a Flash Of Unstyled Text (FOUT)
		document.querySelector('head').innerHTML += "<link href=',700' rel='stylesheet' type='text/css'>";
} catch (e) { }

(or the whole <script> tag) and change the font-family: 'Open Sans' in the <style> tag to a browser default font (or include a local font file).