Actions

Work Header

Rating:
Archive Warning:
Fandoms:
Additional Tags:
Language:
English
Series:
Part 3 of napdragon's AO3 mods
Stats:
Published:
2025-11-24
Words:
89
Chapters:
1/1
Kudos:
3
Hits:
32

Userscript: Sort tag searches by Uses, Descending by default

Summary:

This userscript automatically selects sorting by Uses, Descending in tag search.

Work Text:

// ==UserScript==
// @name         [AO3] Uses, Descending in tag search
// @version      1.1
// @description  Automatically selects sorting by Uses, Descending in tag search
// @homepage     https://archiveofourown.org/works/74676996

// @author       napdragon
// @namespace    https://archiveofourown.org/users/napdragon
// @tag          AO3
// @icon         https://archiveofourown.org/favicon.ico

// @match        *://*.archiveofourown.org/tags/search*
// @match        https://archiveofourown.gay/tags/search*
// @match        https://archive.transformativeworks.org/tags/search*

// @grant        none
// ==/UserScript==

(function() {
  'use strict'
  if (location.search) return
  document.querySelector('select#tag_search_sort_column > option[value="uses"]').selected = 'selected'
  document.querySelector('select#tag_search_sort_direction > option[value="desc"]').selected = 'selected'
})()

Series this work belongs to: