legowerewolf / Userscripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Miscellaneous userscripts and bookmarklets

⚠️ This repository has been archived. ⚠️

Development of the ao3-helpers script has been moved to legowerewolf/enhance-ao3 Existing users of the script should see that their installation of the script automatically updates to point to the new repository. If it doesn't, you can reinstall it from there.

Userscripts

Don't have a userscript extension? Try Violentmonkey!

ao3-helpers (functional, active maintenance)

Install | File a bug report

Adds hotkeys to AO3 for:

  • 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)

Also includes:

  • an experiment to parse metadata from work pages. This does not send any data to anyone. You can view what's been parsed in the browser console as document.AO3_work_data.
  • prefetch hinting for next chapters/works/index pages. 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.

View the related issues for features and bugfixes in the works.

link-sanitizer (functional, not actively maintained)

Removes tracking parameters from links from the Twitter on-page share button. I want to make it work with more sites (Tumblr, Twitter), but I haven't gotten around to it yet.

auto-purchase free books (functional, not actively maintained)

Automatically purchases free ebooks on Amazon and Google Play. This is useful in coordination with lists of free/reduced-price ebooks.

The script attempts to verify that the book is free before purchasing it. I am not responsible for any charges incurred by using this script. You have been warned.

link-fixer (functional, not actively maintained)

Removes click.redditmail.com redirects on all websites. I use NextDNS to block tracking-links, so this provides a workaround for my emails from Reddit.

This uses a page-wide MutationObserver, so it may have a performance impact. Another method of redirection is recommended.

wikipedia mobile toggle (broken, not actively maintained)

Switches between desktop and mobile Wikipedia based on screen width. Use the "Vector (2022)" skin in responsive mode instead.

About


Languages

Language:JavaScript 58.2%Language:TypeScript 41.8%