BIT-补足下载附件时的默认文件名

补充附件中 <a> 元素的 download 属性

Install this script?
Author's suggested script

You may also like BIT-补足页面标题.

Install this script

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
YDX-2147483647
Daily installs
0
Total installs
10
Ratings
0 0 0
Version
0.2.15
Created
2023-05-14
Updated
2025-08-18
Size
3.79 KB
License
GPL-3.0-or-later
Applies to

BIT-补足下载附件时的默认文件名

北京理工大学很多通知网站附有文件,下载时默认文件名几乎是随机 ASCII 字符串,很不友好。

这段脚本可以按显示的附件名称补足文件名,省心省时。

  • 🤢 df79cf7d92044e6cbfbd2161602733c3.xlsx
  • 😀 附件1: 2021-2023年度北京理工大学开放实验项目库.xlsx

现已适配教学运行与考务中心教务部、各种书院通知(www 页面)等,完整支持列表请参考源代码开头的matches变量。如果您想要适配更多网站,请到 GitHub 新建议题