An open API service indexing awesome lists of open source software.

https://github.com/legowerewolf/enhance-ao3

Enhance the AO3 reading experience with hotkeys and more.
https://github.com/legowerewolf/enhance-ao3

archiveofourown userscript

Last synced: 5 months ago
JSON representation

Enhance the AO3 reading experience with hotkeys and more.

Awesome Lists containing this project

README

          

# AO3 Enhancement Suite

## Install

If you have a userscript extension installed,
[click here to install.](https://raw.githubusercontent.com/legowerewolf/enhance-ao3/main/ao3-helpers.user.js)

Don't have a userscript extension? Try
[Violentmonkey](https://violentmonkey.github.io/)!

## Features

### Hotkeys

- navigation on works, between works in a series, and on index pages
(, )
- bookmarking a work or series (b)
- recommending a work or series (b+r)
- creating a private bookmark (b+p)
- subscribing to a work, series, or author (s)
- kudosing a work (k)
- copying a selected text fragment to the comment box and jumping to it
(c)
- saving a work to Pocket (p)

### Rich text comment box

The comment field on works is now the same rich text editor as is available when
posting works.

### Prefetch hinting

[Prefetch hinting][mdn-prefetch-faq] is a way to tell the browser what the next
page is likely to be, so that it can start loading it in the background. The
script adds prefetch hints for the next chapter in a work, the next work in a
series, and the next page of works in an index page.

As of otwarchive v0.9.336.10 this has no effect due to cache policy response
headers, but it should make the reading experience smoother in the future.

## Experiments

These may be features that are not yet ready for prime time, or were made
because they were cool without a clear use case.

### Work metadata parsing

When a work page loads, the script will attempt to parse the metadata from the
work header. **This does not send any data to anyone.** You can view what's been
parsed in the browser console as `document.AO3_work_data`.

[mdn-prefetch-faq]:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Link_prefetching_FAQ