// ==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 // @downloadURL https://update.greasyfork.icu/scripts/508332/%E5%BC%BA%E5%88%B6%E5%B1%95%E5%BC%80Lofter%E5%8D%9A%E6%96%87%E9%87%8C%E7%9A%84%E6%89%80%E6%9C%89%E6%A0%87%E7%AD%BE.user.js // @updateURL https://update.greasyfork.icu/scripts/508332/%E5%BC%BA%E5%88%B6%E5%B1%95%E5%BC%80Lofter%E5%8D%9A%E6%96%87%E9%87%8C%E7%9A%84%E6%89%80%E6%9C%89%E6%A0%87%E7%AD%BE.meta.js // ==/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); })();