level 11
//自动切换到鼠标移动到的标签页
((g, w) => {
class TabPlus {
constructor() {
this.SelectedTabOnMouseover();
}
SelectedTabOnMouseover(timeout) {
g.tabContainer.addEventListener('mouseover', e => {
const tab = e.target.closest('.tabbrowser-tab');
if (!tab) return;
timeout = setTimeout(() => g.selectedTab = tab, 1);
}, false);
g.tabContainer.addEventListener('mouseout', () => clearTimeout(timeout), false);
}
}
new TabPlus();
})(gBrowser, window);
偷来的
2022年02月27日 13点02分
4
要怎么弄? \chrome\SubScript\目录下弄个 subscript.js吗?我根据跑奶的版本弄好js脚本了
2022年03月16日 10点03分
我看到了跑奶的版本本身有这个功能 被注释了 我在试试
2022年03月16日 10点03分
成功了 感谢诶
2022年03月16日 10点03分