We can only fast switch to tabs 1-9
This commit is contained in:
parent
d9279d5408
commit
71331e33b6
|
@ -11,6 +11,11 @@ var update = function(info) {
|
|||
return;
|
||||
}
|
||||
|
||||
// We can only fast switch to tabs 1-9
|
||||
if (info.index > 8) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Ignore chrome pages
|
||||
if (!info.url.match(/^http/)) {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue