Adds a "Show Bookmark" button before the "Edit Bookmark" button on the page where you view a work's bookmarks
Tästä skriptistä on versioita, joissa koodia päivitettiin. Näytä kaikki versiot.
AO3 ShowBkmrk v2.1.3
Use the #bookmark_form_placement div element and it's form child element whose action attribute starts with "/bookmarks" to both determine whether a work is bookmarked or not, and to get the URL to the bookmark if it is. This gets rid of the slow fetch requests
#bookmark_form_placement
form
action
AO3 ShowBkmrk v2.1.2
Fix script breakage caused by the "bookmark_form_trigger" attribute of the bookmark button element being changed from id to class (https://github.com/otwcode/otwarchive/commit/0db14a5c82f3bba486d7b1738f332781503471b7)
(chore) AO3: add archiveofourown.gay
Add match/exclude rules for all AO3 userscripts so that they also work on the archiveofourown.gay mirror of the main website
AO3 ShowBkmrk v2.1.1
Fix script not working on the user's bookmarks page
AO3 ShowBkmrk v2.1.0
Add "User Bookmark" button to the series page
AO3 ShowBkmrk v2.0.2
Move the detection of whether the work is bookmarked to the start of the script instead of making it part of what the bookmarks page fetch does. This is to make sure the bookmarks page is only fetched when the user has the work bookmarked
AO3 ShowBkmrk v2.0.1
Add @exclude rule so that userscript doesn't run on /navigate pages
AO3 ShowBkmrk v2.0.0
Add a link to view a user's bookmark in the stats area that is present when viewing a chapter (https://i.imgur.com/a5O1lpD.png)
AO3 ShowBkmrk v1.0.3
Make sure script works on bookmark searches. Add a check to make sure that the script only executes if the existing_edit_btns array has elements in it
AO3 ShowBkmrk v1.0.2
Make sure script only adds a "Show Bookmark" button when there is an "Edit Bookmark" button as opposed to a "Bookmark" button that is used to make new bookmarks
AO3 ShowBkmrk v11.0.1
Fix issue caused by data-remote attribute where bookmark could not be opened in the current tab
AO3 ShowBkmrk v1.0.0-20240314_205205
minor correction of the wording of the description