Greasy Fork is available in English.

百度贴吧 - 移除图片折叠

移除图片折叠

// ==UserScript==
// @name         百度贴吧 - 移除图片折叠
// @version      0.1.0
// @description  移除图片折叠
// @author       pana
// @namespace    https://greasyfork.org/zh-CN/users/193133-pana
// @license      GNU General Public License v3.0 or later
// @match        *://tieba.baidu.com/p/*
// @grant        none
// @noframes
// ==/UserScript==
(function () {
  'use strict';
  window.onload = () => {
    document.querySelectorAll('.replace_tip').forEach(ele => {
      ele.style.display = 'none';
      const parent = ele.parentElement;
      parent && (parent.style.height = 'auto');
      const content = ele.closest('.j_d_post_content');
      if (content) {
        const area = content.querySelector('.cnt_act_vote_area');
        area && (area.style.zIndex = '10');
      }
    });
  };
})();