Giter Site home page Giter Site logo

duckdotapk / ao3-enhancement-suite Goto Github PK

View Code? Open in Web Editor NEW
10.0 0.0 1.0 440 KB

A browser extension that adds various new features when browsing on Archive of Our Own.

License: GNU General Public License v3.0

JavaScript 96.15% HTML 0.61% CSS 3.24%
ao3 archive-of-our-own extension extension-chrome

ao3-enhancement-suite's Introduction

AO3 Enhancement Suite

This is a browser extension that aims to improve upon the already great experience on Archive of Our Own by adding various additional features and niceties.

It is designed to be lightweight (no libraries!) and follow AO3's frontend design language.

Installation

This extension is now available from the Chrome Web Store and the Firefox Add-on Store.

This Chrome version of this extension also works in Edge providing that you enable "Allow extensions from other stores."

Features

Enhanced Comment Box

There are various features to enhance the commenting experience!

Autosaving Comments

This feature autosaves comments to your browser's storage as you type to save you time and potential headaches from browser crashes or accidentally closing tabs.

Floating Comment Box

This feature moves the comment box into a floating, resizable window that follows you as you scroll. This makes it easy to comment as you go on long works!

This feature must be enabled in the extension's settings before it can be used.

Insert Selection

This feature allows you to easily insert the text you have selected into the comment box. You can also choose the default formatting of the inserted text (bold, italics or none).

Hidden Authors & Works

This feature allows you to hide works based on their author, fandoms, number of fandoms (crossovers), archive warnings, relationships, characters and additional tags.

Search Presets

This feature allows you to easily save and reload search setting presets. If you ever have a really fine tuned search to find works you're looking for and want to save it, this is the feature for you!

It can be used via the panel added to the top of the Work Search page.

Tag Collapse

This feature collapses excessive tags into a button by default. This allows you to browse without worrying about your screen being cluttered by works with many tags.

You can also customise the threshold allowed before tags are collapsed.

Work Stats

Average words per chapter

This feature adds an "Average words per chapter" stat to multi-chapter works so you can easily get an idea of how long it might take to read through each chapter of a longer work.

Estimated reading time

This feature adds an "Estimated reading time" stat to works so you can get a more specific idea of how long it may take to read a work.

You can customise the words-per-minute used to calculate this statistic in the extension's settings to your own personal reading speed.

Screenshots

Here are some screenshots of the features in action:

Search Presets

Floating Comment Box

Developing

Clone/fork this repository and load the addon into your web browser. There are no additional setup steps.

License

See LICENSE.

Version History

1.4.1

This update was released on June 7th, 2021.

Removed an unused permission.

1.4

This update was released on June 7th, 2021.

  • Added support for importing .json files as well as .ao3es files to the Import All Data feature.
    • This is because Chrome sucks and does not respect the extensions .ao3es extension when exporting.
  • Added a new Blockquote formatting option for the "Inserted text formatting" setting.
  • Made hidden crossovers show the amount of fandoms they have in the reason text.
  • Removed additional work stats from draft pages as the word count is not available to work them out.
  • Changed the "Tag Collapse" setting to be disabled by default.
  • Overhauled the text of the settings window to feel more like AO3's preferences.
    • This means its a bit wordier but also more clear about the functionality at first glance.
  • Fixed a bug where bookmarker tags existing on the page broke hiding works, series & bookmarks.
    • These should now work properly and are considered Additional Tags for blocking purposes.
  • Added the ability to manage currently saved comments via the "Manage Saved Comments" modal.
    • Note that comments saved in older versions will have an internal name displayed on this window.
    • This is because older versions did not save title or URL information with comments.
  • Added the ability to close the floating comment box with a new close button.
    • You can also switch back to it without going into the extension's settings via a new link below the comment box.
  • Fixed a bug where the estimated reading time work stat would read "hours" even when it was only 1 hour.
  • Fixed a bug where saved comments would not be deleted after posting them.
  • Fixed a bug where the moderated comments message stretched the floating comment box window.

1.3

This update was released on April 22nd, 2021.

  • Added a new AO3 Enhancement Suite menu to the site's navigation bar.
    • This menu is the new home for the extension's settings.
    • It also contains various other menus to manage your data for the extension.
  • Added the ability to hide works based on their author, fandoms, number of fandoms, archive warnings, relationships, characters and additional tags.
  • Added the ability to import and export all of your data for the extension via the "Manage Extension Data" modal.
    • You can also view how much storage space is currently in use by the extension.
  • Fixed a bug where there could only be one autosaved comment at a time.
  • Fixed the "Autosave Comments" setting having no tooltip.
  • Made various Comment Box settings apply immediately instead of requiring a page reload.
    • Enable Floating Comment Box
    • Floating Comment Box Opacity
    • Hide "Comment as " heading
    • Hide "Plain text with limited HTML" footnote

1.2

This update was released on April 16th, 2021.

  • Updated the design of the settings page.
    • Added tooltips to every setting that explain what they do.
    • Added buttons at the bottom to reset your settings and to reset all data.
  • Added various new comment box features.
    • Autosaving comments to your browser's storage.
    • A floating comment box with customisable opacity, disabled by default.
    • The ability to hide the "Comment as " heading and "Plain text with limited HTML" footnote, disabled by default.
    • An "Insert Selection" button with customisable formatting.

1.1.2

This update was released on April 13th, 2021.

  • Various internal code changes to resolve warnings from and work around Mozilla's linter.
  • Added new 16x16 and 32x32 icons for the browser action instead of using the 48x48 icon for this.

1.1.1

This update was released on April 13th, 2021.

Fixed a few bugs that caused settings to be completely broken for new installs (everyone but me).

1.1

This update was released on April 12th, 2021.

  • Updated the icon slightly and added a higher resolution version.
  • Added settings to customise your experience.
    • These can be accessed from your browser's extensions panel or via the new AES browser action button.
  • Added a new Tag Collapse feature.
    • This makes browsing through works with lots and lots of tags much more manageable.
    • Tags can be expanded via the "And X more tags" button at the end of a tag list.
    • You can also hide tags altogether by setting the threshold to 0, putting them behind a "Show X tags" button instead.
  • Added a new Estimated reading time stat for works.
  • Added support for localization of most text strings.
    • This will require other people to contribute to the project though as I only know English.

1.0

Initial release on April 10th, 2021.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.