1
0
Fork 0

Don't change title unless request is complete

This commit is contained in:
Gregory Eremin 2014-09-21 22:01:06 +04:00
parent cf462f58cc
commit fbc27096d9
1 changed files with 5 additions and 0 deletions

View File

@ -16,6 +16,11 @@ function updateTab(info) {
return;
}
// Don't change title unless request is complete
if (info.status !== "complete") {
return;
}
// Ignore chrome pages
if (!info.url.indexOf('http') === 0) {
return;