Greasy Fork

AO3: strip empty paragraphs

Strip empty paragraphs from works on Archive of Our Own

< 脚本AO3: strip empty paragraphs的反馈

提问/评论

§
发表于:2019-04-02

Problem - Bookmarks and Comments

The script is detecting the "submit" buttons on the site as empty paragraphs, and deleting them. This means I can't bookmark or comment anything without turning the script off and on again. Could you make sure that the paragraph deletion only applies to the main work body?

§
发表于:2019-04-06

Hey, just FYI, I managed to fix the comment bug on my own.

You just have to define this variable first

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

and then use it to define the paragraph variable

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

§
发表于:2020-12-06

The bookmarks and button to view comments are visible now but not the button to submit my own comment. Is there a way to fix this?

发表回复

登录以发表回复。