Put "Download CSV" Button in AO3 Prompt Memes

Puts a "Download as CSV" button on the Prompts page of AO3 Prompt Memes.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
JaneBuzJane
今日安裝
0
安裝總數
19
評價
0 0 0
版本
0.1
建立日期
2022-01-03
更新日期
2022-01-03
尺寸
1.6 KB
授權條款
MIT
腳本執行於

Description

I was browsing AO3's Jira for fixes/enhancements for prompt memes and found this funky little tidbit:

Screenshot of a conversation. Person A requests an Export CSV button for Prompt Memes on Archive of Our Own dot org. Person B indicates that the code already exists, but there is no button.

So I added a button for Prompt Meme administrators to download a CSV of the requests.

Caveats

  1. The CSV is really terrible. It uses AO3's existing framework, which for some reason lumps the ship tags into the "Additional Tags" column, and has unescaped HTML everywhere. I can't change this without making a pull request on Git and editing the code myself, which I am not qualified for lol. If you would like to do that, there are a ton of collection maintainers everywhere who'll be in your debt!

  2. If you aren't an administrator of the collection, you won't be allowed to download the CSV, though the button will appear. You'll get an error message (see photo 2).