1102: use meta title if it exists before title

feature/default_network_editable
Paul Bouchon 6 years ago committed by Dan Finlay
parent 46b29a50f0
commit f6e042b7b1
  1. 5
      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
}

Loading…
Cancel
Save