()
| 1399 | } |
| 1400 | // [Discuz! 论坛] 图片模式列表样式预处理 |
| 1401 | function waterfallStyle() { |
| 1402 | let waterfall_ = getCSS('#waterfall > li:first-child'); |
| 1403 | if (waterfall_ && waterfall_.style && waterfall_.style.width) { |
| 1404 | insStyle(`#waterfall {height: auto !important; width: 100% !important;} #waterfall > li {width: ${waterfall_.style.width} !important; float: left !important; position: inherit !important; left: auto !important; top: auto !important;}`); |
| 1405 | } else { |
| 1406 | waterfall_ = getAllCSS('#waterfall > dl'); |
| 1407 | if (waterfall_ && waterfall_.length > 5) { |
| 1408 | insStyle(`#waterfall > dl {display: unset !important;}`); |
| 1409 | } |
| 1410 | } |
| 1411 | } |
| 1412 | |
| 1413 | |
| 1414 | // [NexusMods] 获取下一页地址 |
no test coverage detected