Greasy Fork is available in English.

AO3: [Wrangling] Search Term Highlighting and Table

Puts the search result into a table and highlights the search terms in the results

Αυτές είναι εκδόσεις αυτού του κώδικα όπου ο κώδικας έχει ενημερωθεί. Προβολή όλων των εκδόσεων.

  • v5.0 16/12/2022

    new options for Copy to Clipboard functions

  • v4.1 13/10/2022

    added highlighting recognition of dark mode (uses a dark green instead of the light yellow on light background)

  • v4.0 13/10/2022

    (1) AO3's implicit split of terms (e.g. dark!dean -> dark dean) is now reverse engineered for highlighting (if STRICT_HIGHLIGHT=false)
    (2) searches containing < and > work now, because it uses the input field instead of the URL parameter (this is safe since highlight logic runs on pageload, later user changes in the input field don't matter)
    (3) removed config again for disabling highlighting entirely. we're at a point where nothing should be causing trouble anymore (I hope) and it seems superfluous to offer the option
    (4) some code beautification
    (5) cleaned up comments

  • v3.0 10/10/2022

    (1) updated to latest jQuery
    (2) added new config option to completely disable the highlighting feature
    (3) added new config option to define which action buttons should be displayed

  • v2.0 20/08/2022

    Reworked the highlighting logic. More regex special characters are now supported (like dots, pipes, carets, dollar signs, etc) and won't cause the highlighting to break anymore. Generally, the AO3 matching logic for special characters is now followed more closely.

  • v1.3 17/08/2022

    now adds also a Works link, and it's configurable if these action buttons are shown

  • v1.2 31/07/2022
    1. fixed instances where a previous partial match (for ex. "an") would cause the next longer search term (for ex. "can") to not be highlighted anymore
    2. fixed instances where searching for terms that match against the HTML added for the highlighting (for ex. "an" within the HTML tag <span>) would break the HTML and garble up the search result tag name
  • v1.1 20/07/2022

    column for the fandom/syn peeking script is now hidden by default (the other script unhides it as needed)

  • v1.0 20/07/2022

    fixed a small issue with the way the sorting triangle indicators

  • v0.2 20/07/2022
  • v0.2 20/07/2022

    sorting within the results page now works on the tag name, type and uses columns

  • v0.1 18/07/2022