您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
A Userscript to fix broken discord attachment links
A simple Userscript that will automatically refresh broken Discord attachment links using the Discord API and redirect to the new link, making the file viewable again.
First, a valid Discord token needs to be set by choosing Set token
in the menu and entering it into the prompt that appears. Then, opened links will automatically be refreshed if they are expired.
The Force refresh
option may be used to attempt a refresh even if the link is valid. If enough time has passed, the link's lifespan will once again be set to one day.