您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
贴吧wap版,无法回帖
// ==UserScript== // @name 贴吧wap版 // @namespace http://tampermonkey.net/ // @version 2024-10-29 // @description 贴吧wap版,无法回帖 // @author You // @match http://tieba.baidu.com/mo/* // @match https://tieba.baidu.com/mo/* // @require http://libs.baidu.com/jquery/2.0.0/jquery.min.js // @grant GM_addStyle // @grant GM_xmlhttpRequest // @grant GM_setValue // @grant GM_getValue // ==/UserScript== function viewport() { if (document.querySelector('meta[name="viewport"]')) { return; } const el = document.createElement("meta"); el.name = "viewport"; el.content = "width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"; document.head.append(el); } (function() { 'use strict'; viewport(); var mycss1 = ` body { font-size: 16px!important; line-height: auto!important; margin: 1px; } .i{line-break: anywhere;} img{width:auto;} `; GM_addStyle(mycss1); $('.i a').attr('target', '_blank'); $('a').each(function() { if ($(this).text() === "图") { // 获取图片的 URL var imgUrl = $(this).attr('href'); // 创建 img 标签 var imgTag = $('<img>').attr('src', imgUrl).css({}); // 可调整大小 // 用 img 标签替换 a 标签内容 $(this).html(imgTag); } }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址