Skip to content

edge-sky/AutoColseTab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

AutoCloseTab

background

The default strategy of the edge browser for the classification of tabs is a fixed tab group. I use the automatic classification and expansion of tabs in daily use to browse efficiently, but when I close and then open, the previously automatically classified tabs will still be issued. Most of them are not needed and do not conform to personal habits, so I have this expansion.

realization

In the form of a Chrome extension, determine whether it is a new open, and further decide whether to delete all tabs except the new TAB to achieve a fresh start.

背景

edge浏览器对标签页分类的默认策略为固定选项卡组,我在日常使用中使用标签页自动分类拓展以高效浏览,但在关闭再打开时会发先先前自动分类的标签页还在,多半使不需要的并且与个人习惯不符,便有了这个插件。

实现

以Chrome拓展的形式,判断是否是新的打开,进一步决定是否删掉除新标签页外的所有标签页,以实现全新启动。