Greasy Fork is available in English.
Modified/Forked from "Ellililunch AO3 Bookmark Maker" (http://greasyfork.icu/en/scripts/458631). Script is out-of-the-box setup to automatically add title, author, status, summary, and last read date to the description in an "collapsible" section so as to not clutter the bookmark.
< 脚本 w4tchdoge's AO3 Bookmark Maker 的反馈
I love this script so much, it's been so helpful!
Happy to hear that you find this userscript helpful!
[...] if I go to edit the bookmark again, the auto-generated notes with overwrite anything else I've added.
Yeah, that has to do with how the script will by default run everytime you go to make/edit a bookmark from the work/series page, so that it can accurately show things like the last updated date, or any changes to the fic title, author name, series name, and other things like that.
If you're okay with the script running only one time per work/series you can turn off that behaviour by setting "Always run script on valid pages" to "NO" in the settings dropdown that can be accessed via your AO3 preferences page.
Alternatively, I've just updated the beta testing version of this script with some new workInfo
variables and with a new default workInfo
that may or may not become the default for the main script. This is what a bookmark made with the aforementioned version of the beta testing script looks like. You're welcome to test out these changes and play around with the workInfo
variable if the default I have in the beta script isn't exactly how you'd like it (info on using variable/expression substitution in template strings can be found here and here on W3Schools, and here on MDN Web Docs).
If you do end up trying out the beta script, make sure to turn off the main script and please let me know if you run into any bugs or anything.
Oh wow! This is so so helpful, thank you so much! The beta version is definitely closer to what I've been doing. Is there any way to add the number of works in a series and the series' status to the bookmark variables? I was looking through the script and wasn't able to find something resembling that, but I'm also not super familiar with this kinda stuff. I'm basically looking for a way to automate copy/pasting the "stats" line from a series page into a work's bookmark. (E.g. "Words: 854,609 | Works: 17 | Complete: No"). Not sure how possible/easy this would be, but I've been trying to figure out as much as I can. Either way, what you've done is already so helpful, thanks again!
Update: I figured out how to add the work count to my bookmarks but am currently stuck in regards to the series status/ID. I'm starting to think it might be beyond my very limited knowledge lol. This is the current template I'm using for bookmarks based off of your beta version. Not sure if there's any use in it being attached, but idk.Bookmark
workInfo = `<.details><.summary>Details:
\t<.details><.summary>${title_HTML} by ${author_HTML}
\t${.summary}<.blockquote>Words: ${words} | Chapters: ${lastChapter} | ${AO3_status} | ID: ${ws_id}
${(function () {
if (part_of_series != ``)
{ return `\n\t<.details><.summary>${part_of_series}${series_desc_blockquote}<.blockquote>Words: ${series_word_count} | Works: ${series_works}`; }
else { return ``; }
})()}
`;
Sorry about the repeated messages, I hope this is okay. Wanted to let you know that I just ran into a bug where if I try to bookmark a work that comes from a series with no description, nothing appears in the notes. I'm not sure if it's something I did with my template, but I don't think so? Stepping away for now from reorganizing my 2000+ bookmarks, so hopefully I can stop bugging you for a bit. Thanks again for your earlier help :)
I'm basically looking for a way to automate copy/pasting the "stats" line from a series page into a work's bookmark.
Ah, I see now. I've just pushed an update to the beta script with the rest of the series stats and the series ID as workInfo
variables, and a new default workInfo
that uses the new variables. Here's a bookmark that shows what it looks like now.
if I try to bookmark a work that comes from a series with no description, nothing appears in the notes.
Ah, I forgot some series don't have a description. Could you link me to an example of a series without a description so I can test on it?
Here's a series that doesn't have a description. Thank you so much for the help and for the work you're doing on this!! It's super appreciated.
Could I ask you to test out the latest update to the beta script? I've made some changes that should hopefully handle series without a description.
Yes, absolutely! It seems to be working perfectly on my end now! Please let me know if there's anything more you could use from my end. Thanks again, you're awesome :)
It'd be great if you could let me know of any other bugs you encounter. I plan on pushing these changes to the main script in 2 weeks if I don't find any.
I love this script so much, it's been so helpful! That being said, there are parts of the auto-generated notes that I have been using as a template (i.e. I'll paste the description from a series and the series' word count below the text that says "Part 1 of [Series Name]" in a work bookmark), and I've noticed that if I go to edit the bookmark again, the auto-generated notes with overwrite anything else I've added. Is there any way for me to get around this? I'd appreciate any insight/help.