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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// We can only fast switch to tabs 1-9
|
||||||
|
if (info.index > 8) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Ignore chrome pages
|
// Ignore chrome pages
|
||||||
if (!info.url.match(/^http/)) {
|
if (!info.url.match(/^http/)) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user