欢迎来到 HiMCBBS 论坛~

想在这里休息会么?和我们共度美好时光吧~

加入QQ群:879016948 获得最新公告,并与群友们一起聊天吹水!

注册 登录
22331144

软件资源 【油猴脚本】论坛大师・Discuz!修改版 不支持非discuz论坛

22331144

成员
注册
2024-03-10
帖子
88
金粒
金粒887粒
钻石
钻石0颗
嗨币
嗨币0个
  • 主题 作者
  • #1
论坛大师・Discuz!修改版
论坛大师(简体中文)・Discuz! 界面美化、移除广告、功能增强……

基于mxdh的论坛大师・Discuz!修改版的维护和优化。
当前最新版本:1.4.3

安装:
第一步:安装Tampermonkey(油猴扩展)
谷歌浏览器,点这里:
https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo
火狐浏览器,点这里:
https://addons.mozilla.org/firefox/addon/tampermonkey/
Microsoft Edge,点这里:
https://microsoftedge.microsoft.com/addons/detail/篡改猴/iikmkjmpaadaobahmlepeloendndfphd
Safari(MacOS),点这里:
https://www.tampermonkey.net/?browser=safari
Safari(iOS),点这里:
https://apps.apple.com/app/id1591620171

建议安装完成后重启浏览器

第二步:安装论坛大师・Discuz!(油猴脚本)
Main、Full: GitHub
Main: GreasyFork (推荐)
Full: GreasyFork (推荐)
Main、Full只需要安装其中一个
进不去网站请把主域名替换为https://www.greasyfork.us.kg/zh-CN

功能简介(原版)
  • 界面美化
  • 移除广告
  • 功能增强
  • 每日签到(一键完成站点任务)(需要论坛开启相应功能)
  • 主动探测在线状态
  • 解除回帖字数限制并强制显示
  • Ctrl+Enter或Alt+S可快速回帖
  • 点击主楼回复跳至页面底部

场景模式
标准模式:完整功能(系统默认)
家庭模式:屏蔽自定义头像(恢复论坛默认头像)
办公模式:屏蔽自定义头像(恢复论坛默认头像、缩小头像、简化头像下方信息、移除用户自定义帖子背景图片、隐藏论坛用户签名)

说明:
1. 此项目基于mxdh的论坛大师・Discuz!修改版Main论坛大师・Discuz!修改版Full维护和优化。
2. 此项目基于hostname的论坛大师・Discuz! 界面美化、移除广告、功能增强、回帖强显……,遵照GPL-3.0开放源代码。


当前版本全局配置:
代码:
扩展 折叠 复制
     // Global Settings · Start
    const GLOBAL_CONFIG = {

        // Posts' sortord: 'unlocked', 'lastpost', 'threadcreate'(author dateline)
        // 主题帖排序方式: 'unlocked, 'lastpost', 'threadcreate'(author dateline)
        // 主題帖排序方式: 'unlocked, 'lastpost', 'threadcreate'(author dateline)
        thread_sortord: 'unlocked',

        // Lock the skin style: true/false
        // 固定皮肤样式: true/false
        // 固定皮膚樣式: true/false
        lock_skin: false,

        // Clean posts' format: true/false
        // 清除帖子格式: true/false
        // 清除帖子格式: true/false
        clean_post: false,

        // Display the users' online status: 'None', 'Standard', 'Advanced'
        // 显示用户的在线状态: 'None', 'Standard', 'Advanced'
        // 顯示用戶的在線狀態: 'None', 'Standard', 'Advanced'
        detection_mode: 'Advanced',

        // 小圆点(Small Dot): 'mode1'
        // Emoji or 文本(Text): 'mode2'
        standard_mode_detection_display_style: 'mode1',
        advanced_mode_detection_display_style: 'mode2',

        // Text Beautification: true/false
        // 文本美化: true/false
        // 文字美化: true/false
        text_beautification: true,

        // Code Beautification: true/false
        // 代码美化:true/false
        // 程式碼美化:true/false
        code_beautification: true,

        // Block Baidu_tongji code: true/false
        // 屏蔽百度统计: true/false
        // 屏蔽百度統計: true/false
        block_baidu_hm: true,

        // Turn the avatar to high definition (Apply big size avatar): true/false
        // 头像转为高清晰度: true/false
        // 頭像轉為高清晰度: true/false
        big_size_avatar: false,

        // Picture Optimization (Overwrite the thumb picture into big size picture): true/false
        // 图片优化(将预览图覆盖为大图): true/false
        // 圖片優化(將預覽圖覆蓋為大圖): true/false
        picture_optimization: false,

        // Theme beautification: true/false
        // 主题美化: true/false
        // 主題美化: true/false
        theme_beautification: false,

        // Scene Mode: 'Standard', 'Family', 'Office'
        // 场景模式: 'Standard', 'Family', 'Office'
        // 場景模式: 'Standard', 'Family', 'Office'
        scene_mode: 'Standard',

        // Automatically refresh after modifying settings on webpage: true/false,
        // 在网页上修改设置后自动刷新: true/false,
        // 在網頁上修改設置後自動刷新: true/false,
        auto_reload: true,

        // Display Eomji: true/false
        // 显示Emoji: true/false
        // 顯示Emoji: true/false
        display_emoji: true,

    }
    // Global Settings · End


    // Message Edit Settings · Start
    const Message_Edit_CONFIG = {

        // Bypass the word limit of reply: true/false
        // 回帖字数限制绕过: true/false
        // 回帖字數限制繞過: true/false
        word_count_limit_bypass: true,

        // Add a tail automatically at the end of the reply: true/false; Tail content: Text
        // 回帖小尾巴: true/false;回帖小尾巴内容: Text
        // 回帖小尾巴: true/false;回帖小尾巴內容: Text
        reply_tail: false,
        reply_tail_content: '  喵~',

        // Add a prefix automatically at the end of the reply: true/false; Prefix content: Text
        // 回帖小前缀: true/false;回帖小前缀内容: Text
        // 回帖小前綴: true/false;回帖小前綴内容: Text
        reply_prefix: false,
        reply_prefix_content: '',

        // Enable in the private messages post: true/false
        // 在私信中启用: true/false
        // 在私信中啟用: true/false
        private_messages_Enable: false,

        // Enable in the comment messages post: true/false
        // 在点评中启用: true/false
        // 在點評中啟用: true/false
        comment_messages_Enable: false,

    }
    // Message Edit Settings · End
true代表开启,false代表关闭
场景模式:
Standard:标准
Family:家庭
Office:办公
探测在线状态:
None:不显示
Standard:普通
Advanced:高级
 
22331144

还可以输入20字数。
后退
顶部