From be45c71e12372ca9566cbc1995b32ec39d62746b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 15 Nov 2020 11:26:23 +0000 Subject: [PATCH] Anything coming from google - fonts, etc - is bad --- content.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content.py b/content.py index c079f46a..0782d0ed 100644 --- a/content.py +++ b/content.py @@ -191,7 +191,8 @@ def dangerousCSS(filename: str) -> bool: with open(filename, 'r') as fp: content = fp.read().lower() - cssMatches = ('behavior:', ':expression', '?php', '.php') + cssMatches = ('behavior:', ':expression', '?php', '.php', + 'google') for match in cssMatches: if match in content: return True