From f6e042b7b12fec755b0a91ff24a1e812f65b638d Mon Sep 17 00:00:00 2001
From: Paul Bouchon <mail@bitpshr.net>
Date: Wed, 14 Nov 2018 13:12:19 -0500
Subject: 1102: use meta title if it exists before title

---
 app/scripts/contentscript.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/app/scripts/contentscript.js b/app/scripts/contentscript.js
index ee38ee3ab..92e382ea5 100644
--- a/app/scripts/contentscript.js
+++ b/app/scripts/contentscript.js
@@ -302,6 +302,11 @@ function getSiteName (window) {
     return siteName.content
   }
 
+  const metaTitle = document.querySelector('head > meta[name="title"]')
+  if (metaTitle) {
+    return metaTitle.content
+  }
+
   return document.title
 }
 
-- 
cgit v1.2.3