🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

百度贴吧-更宽

在宽版的基础上变得更宽

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

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

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

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

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

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

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

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

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

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

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

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

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

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

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

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

/* ==UserStyle==
@name        百度贴吧-更宽
@description 在宽版的基础上变得更宽
@version     0.1.1
@namespace   AN drew
@license     MIT
@advanced text indexIncrease "帖子列表-宽度增量" "300"
@advanced text postIncrease "帖子内容-宽度增量" "500"
==/UserStyle== */



@-moz-document domain("tieba.baidu.com") {
:root{
    --imgWidth:810px;
    --indexWidth:980px;
    --postWidth:979px;
    --successLeft:334px;
    --indexIncrease: /*[[indexIncrease]]*/;
    --postIncrease: /*[[postIncrease]]*/;
}
}

@-moz-document url-prefix("https://tieba.baidu.com/f") {
.head_main .head_middle, .head_main .head_content{width:calc(var(--indexWidth) + var(--indexIncrease) * 1px + 2px)}
.content, .foot{width:calc(var(--indexWidth) + var(--indexIncrease) * 1px)}
.frs_content_footer_pagelet{width:calc(var(--indexWidth) + var(--indexIncrease) * 1px)}
.tb_rich_poster_container{width:calc(var(--indexWidth) + var(--indexIncrease) * 1px)}
.tbui_aside_float_bar{left:calc((0.5015 * var(--indexIncrease) + 953.14) * 1px) !important}
}

@-moz-document url-prefix("https://tieba.baidu.com/p/") {
.l_container{width:calc(var(--postWidth) + var(--postIncrease) * 1px + 1px)}
.content{width:calc(var(--postWidth) + var(--postIncrease) * 1px - 1px)}
.pb_bright_share{width:calc(var(--postWidth) + var(--postIncrease) * 1px - 1px)}
.tb_rich_poster_container{width:calc(var(--postWidth) + var(--postIncrease) * 1px - 1px)}
.pb_footer{width:calc(var(--postWidth) + var(--postIncrease) * 1px - 1px)}
.nav_wrap_add_border{width:calc(var(--postWidth) + var(--postIncrease) * 1px - 1px)}
.thread_theme_5{width:calc(var(--postWidth) + var(--postIncrease) * 1px - 1px)}
.pb_content{width:calc(var(--postWidth) + var(--postIncrease) * 1px)}
.left_section{width:calc(var(--postWidth) + var(--postIncrease) * 1px) !important}
.core_title_wrap_bright{width:calc(var(--postWidth) + var(--postIncrease) * 1px) !important}
.p_postlist{width:calc(var(--postWidth) + var(--postIncrease) * 1px) !important}
.l_post_bright{width:calc(var(--postWidth) + var(--postIncrease) * 1px) !important}
.l_post_bright .d_post_content_main{width:calc(var(--postWidth) + var(--postIncrease) * 1px - 153px) !important}
.l_post_bright .d_post_content_main .p_content{width:calc(var(--postWidth) + var(--postIncrease) * 1px - 173px) !important}
.p_content img.BDE_Image.origin{max-width:calc(var(--imgWidth) + var(--postIncrease) * 1px) !important}
.replace_div{max-width:calc(var(--imgWidth) + var(--postIncrease) * 1px) !important;
        width:calc(var(--imgWidth) + var(--postIncrease) * 1px) !important;}
.thread_theme_7{width:calc(var(--postWidth) + var(--postIncrease) * 1px - 1px) !important}
.tb_rich_poster .poster_success{left:calc(var(--successLeft) + var(--postIncrease) * 1px / 2) !important}
.tbui_aside_float_bar{left:calc((0.499 * var(--postIncrease) + 951.39) * 1px) !important}
}