Add AO3 Mark for Later Button to works list

Puts the "Marked for Later" button in a fic blurb when browsing AO3.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
JaneBuzJane
今日安裝
1
安裝總數
494
評價
3 1 1
版本
0.1
建立日期
2021-09-13
更新日期
2021-09-13
尺寸
1.1 KB
授權條款
未知
腳本執行於

Description

This script adds a button to each work on archiveofourown.org (AO3) when browsing tags that allows a user to add a work to their "Marked for Later" list without having to open the fic in a separate tab.

When clicked, the page will refresh and the confirmation at the top of the page will match that that appears when you Mark a work for Later from within the work itself. (I didn't change anything with the existing backend handling.)

It themes with all AO3 site skins. It also works nicely with my other script, Put Marked for Later Button on AO3 Home.

Caveats

  1. The page will refresh when you click "Mark for Later."

  2. While the button within a work says "Mark as Read" when you've already added a work to your Marked for Later list, that functionality does not exist here. All works will say "Mark for Later" regardless of whether they are already on your Marked for Later list or not.

  3. Normally, the "Mark for Later" button does not appear on fics on which you are an author. I did not make such a distinction here, so you'll see the button appear on fics you've written if you're browsing the tag. (See image 3 below.)

Credits

Many thanks to my good friend Bat, who doesn't have social media where I can credit him, but is always around to help me when I need it, and today taught me about arrays. <3 I owe you a lot, man.