AO3: strip empty paragraphs

Strip empty paragraphs from works on Archive of Our Own

< Відгуки до AO3: strip empty paragraphs

Question/comment

§
Опубліковано: 19.01.2018

comment/bookmark button bug?

Hi, I just installed your script - thanks for making it. Have you noticed an issue with the confirm buttons for making a comment or creating a bookmark? For me (Firefox 57.0.4) they're disappearing when this script is enabled.

§
Опубліковано: 07.07.2018

This is also happening to me in Chrome.

§
Опубліковано: 06.04.2019

Just FYI, I managed to edit the script to fix this myself. Just replace this line

var paragraphs = document.getElementsByTagName("p");

with these two

var text = document.getElementById("chapters");

var paragraphs = text.getElementsByTagName("p");

Опублікувати відповідь

Sign in to post a reply.