ao3 remove extra line breaks

change multiple break tags into one and collapse empty paragraphs

目前為 2016-05-17 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
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.