Greasy Fork

强制展开Lofter博文里的所有标签

强制展开默认折叠的所有标签

// ==UserScript==
// @name         强制展开Lofter博文里的所有标签
// @namespace    http://lofter.com
// @version      1.01
// @description  强制展开默认折叠的所有标签
// @author       boni
// @match        https://www.lofter.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=lofter.com
// @grant        none
// @license      GPL-3.0-only
// @description:zh 强制展开默认折叠的所有标签
// @description:en Force show all tags
// ==/UserScript==

(function() {
    'use strict';

    var css = `
    .w-opt {
     height:100% !important;
    }
      .w-opt .opta {
            width: 100% !important;
            height:100% !important;
      }

    .w-opt .optb {
        position:relative;
        float:right;
    }
    `;

    var style = document.createElement('style');
    style.type = 'text/css';
    style.appendChild(document.createTextNode(css));
    document.head.appendChild(style);

})();