aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/contentscript.js5
1 files changed, 5 insertions, 0 deletions
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
}