From 9604271063bc85c68ab37f1ec7a5cf45eec48950 Mon Sep 17 00:00:00 2001 From: Adrian Cochrane Date: Thu, 4 Jan 2018 08:46:30 +1300 Subject: [PATCH] Generalize Google+ style fix to all sites. -webkit-font-smoothing seems to be way too technical of a CSS property for web developers to use correctly. --- src/Traits/decorate/fix-plus.google.com.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Traits/decorate/fix-plus.google.com.vala b/src/Traits/decorate/fix-plus.google.com.vala index e18cb3d..4562861 100644 --- a/src/Traits/decorate/fix-plus.google.com.vala +++ b/src/Traits/decorate/fix-plus.google.com.vala @@ -22,9 +22,9 @@ Not really something I want to build into Odysseus as I'd rather focus it should namespace Odysseus.Traits { public void fix_google_plus(WebKit.WebView web) { var css = new WebKit.UserStyleSheet("* {-webkit-font-smoothing: subpixel-anialiased;}", - WebKit.UserContentInjectedFrames.TOP_FRAME, + WebKit.UserContentInjectedFrames.ALL_FRAMES, WebKit.UserStyleLevel.USER, - new string[] {"https://plus.google.com/*"}, new string[0]); + new string[] {"*"}, new string[0]); web.user_content_manager.add_style_sheet(css); } }