Greasy Fork

ao3 remove extra line breaks

change multiple break tags into one and collapse empty paragraphs

目前为 2016-05-17 提交的版本。查看 最新版本

作者
scriptfairy
评分
0 0 0
版本
0.4
创建于
2016-05-17
更新于
2016-05-17
大小
581 字节
许可证
暂无
适用于

Experimental. Collapses multiple break tags into one and collapses all empty paragraphs.

Note: Collapsing all empty paragraphs might lead to formatting problems. Consider, for example, if an author chooses to format a series of tweets like this:

wint @dril

Removing the battery from my phone until the time line becomes less toxic.

 

wint @dril

i do not delete my posts. deleting my posts would be akin to razing Abraham Lincolns famous log cabin, just because the trolls are mad at it

The script would end up rendering them this way:

wint @dril

Removing the battery from my phone until the time line becomes less toxic.

wint @dril

i do not delete my posts. deleting my posts would be akin to razing Abraham Lincolns famous log cabin, just because the trolls are mad at it

So for Chrome users, the script will only run manually; that is, on a fic where you want to run the script, you have to right-click the page and click on "ao3 remove extra line breaks" option under Tampermonkey to run the script. For Firefox users, this option is not available (sorry), so the script will run automatically on all fics. Disable the script and reload if you think you're seeing a formatting problem introduced by the script.