Greasy Fork 支持简体中文。

AutoClose SDQL Tabs

Invert SDQL Table for Killersports.com queries results

作者
swain scheps
今日安裝
0
安裝總數
8
評價
0 0 0
版本
0.5
建立日期
2024-06-12
更新日期
2024-06-12
尺寸
3.5 KB
授權條款
未知
腳本執行於

This script is meant for transition.killersports.com. It will delete inactive tabs after bulk opening bookmarked queries depending on the content of the query results table. It checks to see if any rows in the table have a date between today and 10 days from now (adjustable) and if so, keeps the tab open, if not, closes that tab. Won't fire on SDQL queries that result in non-standard tables (i.e. where date is not in the first column). Auto-close will not fire on any page that contains the keyword 'research'.

Also consolidates any instances of 'and and' in a query to a single 'and'

Also includes inactive code to sort by date (Newest to Oldest) - which looks like it won't be relevant on the new KS site.

Only tested on Windows/Chrome.