Actions

Work Header

Userscript and CSS, as you prefer, to return overflow and sticky effects client-side

Summary:

What can I say that isn't pretty self-evident from the title?

On Mon 08 Jun 2026, AO3 updated some stuff that broke a lot of things in a lot of people's CSS-works (and at least one userscript).  I fixed it.  This fix is only client-side, so that you can re-enable some of the magic that some people have wrought and see it once more as a reader — it doesn't act from within a work skin to force a rollback to the actual server-side site-level underlying code itself, so it's not much good directly for authors (indirectly: your readers might use this to see your effects).

Have you seen some of my CSS demos, or a number of heavy hitters' works that the change broke?1  If so (before the “update”), then you know and remember; if not, then you're going to want to do so, and you'll want this CSS or JS with which to view them in all of their glory.

Notes:

(See the end of the work for notes.)

Work Text:

 

 Don't    panic. 

 

NB, Fri 12 Jun 2026:  Somewhere between ~06:00 and ~12:00 CDT on Mon 08 Jun 2026, AO3 updated some stuff that broke a lot of things in a lot of people's CSS-works (and at least one userscript).  As a result, there are a few things not doing what they used to do in some of my works.  So I decided to I fix that... and I did (fix it, that is); I dug through OTW's GitHub repo last night, found what they changed (for which there's surely a good reason, I just can't imagine what — it could be something else that was broken sitewide and the update required killing overflow, or some new feature/function was an either/or and the new thing won-out, or it could be a strategic exploit prevention, but these are only categorical guesses, not specifics, nor anything but spitballed example potentiæ on my part), and fixed the overflow problem and consequentially the sticky problem.  For site skin or Stylus, use:

#work-skin.wrapper {
  overflow-y: visible !important;
}

or for those who prefer a Tampermonkey or Violentmonkey userscript, just grab my AO3: return overflow-y visibility userscript on Greasy Fork, or copy the pasta below:

// ==UserScript==
// @name         AO3: return overflow-y visibility
// @namespace    https://greasyfork.org/en/users/1555174-charles-rockafellor
// @version      0.2
// @description  08 Jun 2026, AO3 changed the rendered DOM and `overflow` function in that new tree.  This script returns `overflow-y` to `visible` to permit old works' magic to work their shenanigans.
// @icon         https://i.pinimg.com/474x/5c/93/49/5c93497c0a8bebf0214fe4389f53658b.jpg
// @match        *://archiveofourown.org/works/*
// @match        *://archiveofourown.org/chapters/*
// @match        *://archiveofourown.gay/works/*
// @match        *://archiveofourown.gay/chapters/*
// @match        *://archive.transformativeworks.org/works/*
// @match        *://archive.transformativeworks.org/chapters/*
// @match        *://insecure.archiveofourown.org/works/*
// @match        *://insecure.archiveofourown.org/chapters/*
// @grant        GM_addStyle
// @license      MIT; https://opensource.org/license/mit
// @downloadURL  https://greasyfork.org/en/scripts/582339-ao3-return-overflow-y-visibility
// @updateURL  https://greasyfork.org/en/scripts/582339-ao3-return-overflow-y-visibility
// @author       Charles Rockafellor
// @homepageURL  https://archiveofourown.org/users/Charles_Rockafellor/collections
// ==/UserScript==

'use strict';
GM_addStyle("#work-skin.wrapper { overflow-y: visible !important; }");

 

In order to test it out, you can check

Same mechanics in each work, different visuals and purposes.

NB:  mystyrust's do you believe in coincidences? was affected, and probably many others, but 10 hours after I released this userscript, she said that she had found a CSS workaround to fix her work's overflow-y / position: sticky breakage (using position: revert;).
  Mewsmodeus (Mewzebub) opted to re-work her I'M NOT AN FANFIC AUTHOR PLEASE DON'T CURSE ME, so it's not quite the same result now as it had been, but you don't need my userscript for it either (and you can always see it in all of its earlier glory in Wayback, per the link in her work's recent chapter 7 of 05 Jul 2026).
  I'm not sure if it would fix mackerel_cheese's way-cool Íkaros sticky image's CSS in when the wax melts, but right now you can see the beautiful work as a whole but not the stickied image falling with your scroll unless you run this userscript or find some other client-side workaround.
  For some applications (such as mysty's, obviously), you can fix the issue with the position: revert; workaround, and feindcode (feind) found #workskin { position: static } to work for something as well (that alone was a mix for me, permitting the curtain to occur once more, but still within the work's boundaries, and didn't cause my sticky popup to follow the scroll) — important to know, if any of your works were broken by that change.  For others (such as my works linked in the div above), these were no dice for my stuff's configuration.
  If you do CSS magic, then those two fixes (or maybe some other CSS) might fix your work, or you might need to re-work a replacement, or hope that your readers (or you, as a reader) will user this userscript (or anything else that will do the same), or pray that AO3 returns overflow-y someday (though I imagine that it was likely nuked for security purposes, and if so, then returning that function seems a bit unlikely any time soon).
  If you're a reader, then maybe your favorite CSS authors will be able to fix their heavies with those workarounds (or something else that works for their configurations' needs), but my userscript here is all that I know of [so far] to fix things client-side (at your end, to change how the works are rendered by your browser).

 

 

And so, to paraphrase feind, here's my bill (everything is simple in hindsight):

CSS                    2 kudos
Knowing where to put it  998 kudos

 

 

O ~~~ O

 

Notes:

If you've enjoyed this CSS / userscript write-up, then hit my ►⁠CSS Abuse and HTML Tryhard⁠◄ collection of tutorials [QRLs, demos, RNG puzzles, playable games, JS userscripts], take a spin through ►⁠my works in collections⁠◄ and see what might grab you (the collections are thematic by comedy, zombies, romance, dice-RPGs, food-porn, sci-fi, etc., for readers' ease of browsing), or ►⁠my “Works” page⁠◄ (everything simply listed in order of most recently updated), or just ►⁠subscribe to my author's page⁠◄ in order to get constant updates on all of my new material (updates are Sundays [not every single Sunday, and once in a blue some random datetime — as was the case with this work, for example] at ~09:50 central time [they had been ~10:20, but AO3 experienced some hiccups back in March resulting in notifications going out an hour late, of which I'm still leery, and so would rather bury my work 30 minutes earlier in the queue of recent updates], so e-mail notifications to subscribers typically arrive at 10:32-10:44 Central time [16:xx UTC Nov-Mar, and 15:xx Mar-Nov], though AO3's servers sometimes make that the 4Q of the hour [and — rarely — later])!