您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
przywraca stary widok dla peppera
当前为
// ==UserScript== // @name pepper.pl kafelki // @namespace http://pepper.pl/ // @version 0.17 // @description przywraca stary widok dla peppera // @author me__ // @license MIT // @match https://www.pepper.pl/* // @exclude https://www.pepper.pl/dyskusji* // @exclude https://www.pepper.pl/grupa // @exclude https://www.pepper.pl/kupony* // @exclude https://www.pepper.pl/profile* // @exclude https://www.pepper.pl/submission* // @grant none // ==/UserScript== (function() { 'use strict'; addGlobalStyle(`@media (max-width: 1023px){article.thread,div.js-banner,a.cept-event-banner,.discussionHorizontalWidget,section.thread {width:32.9%;margin:.2%;overflow:hidden;float:left;height:500px;zoom:0.8;padding:5px;}.listLayout-side{width:100%;margin:5px} } @media (min-width: 1024px){article.thread,div.js-banner,a.cept-event-banner,section.thread {width:24.3%;margin:0 .2% .4% .2%;overflow:hidden;float:left;height:500px;zoom:0.8;padding:5px;}.listLayout-side{width:24%;}.listLayout-main{width:80%;margin-top:.57143em} .listLayout-mainItem {margin-bottom:.57143em}} @media (min-width: 1600px){article.thread,div.js-banner,a.cept-event-banner,section.thread {width:19.5%;}.listLayout-side{width:20%;}.listLayout-main{width:80%;} .page2-center {max-width:100%}} @media (min-width: 2000px){article.thread,div.js-banner,a.cept-event-banner,section.thread {width:16%;}.listLayout-side{width:14.5%;} .listLayout-main{width:85.5%} } @media (min-width: 2400px){article.thread,div.js-banner,a.cept-event-banner,section.thread{width:12%;}.listLayout-side{width:12.0%;} .listLayout-main{width:88.0%} } .thread-title--list {font-size:.9rem!important;line-height:1.2rem !important} .vote-temp {font-size:.9rem !important; } .hide--toW3{font-size:.9rem}'); div.threadGrid-title + div {margin-top:0px !important;} .cept-description-container{overflow:auto;text-overflow: ellipsis;} .footerMeta-infoSlot {position:relative !important;} .listLayout{max-width:100%;} .threadGrid-headerMeta {grid-column-start:1 !important;grid-column-end:1 !important;grid-row:1 !important} .threadGrid-title {grid-column-start:1 !important;grid-column-end:1 !important;grid-row:3 !important} .threadGrid-body {grid-column-start:1 !important;grid-column-end:1 !important;grid-row:4 !important;overflow:hidden;} .threadGrid-body:hover {overflow:auto;} .threadGrid-footerMeta {grid-column-start:1 !important;grid-column-end:1 !important;grid-row:5 !important} .threadGrid-image {grid-column-start:1 !important;grid-column-end:1 !important;grid-row:2 !important;max-height:100%;} .thread-listImgCell,img.thread-image{max-height:100%;max-width:100%;object-fit:cover;margin:0 auto;} .imgFrame{height:200px;padding-top:0px;} .threadGrid{grid-template-columns:100% auto;grid-template-rows:auto auto auto 1fr auto;height:100%;padding:0} article.cept-thread-item + div {display:none;} .footerMeta-infoSlot{width:50%;text-overflow:ellipsis;overflow:hidden;} .footerMeta-actionSlot{width:50%;display:flex;flex-wrap:nowrap;justify-content:end} .threadGrid-footerMeta .footerMeta{justify-content:space-between;flex-wrap:wrap;} .threadGrid-footerMeta .user{overflow:visible} .footerMeta .cept-comment-link {padding-left:.3rem !important;padding-right:.3rem !important} .footerMeta span:nth-child(3){width:100%;padding-left:0px !important;padding-top:.3rem !important;}`); })(); function addGlobalStyle(css) { var head, style; head = document.getElementsByTagName('head')[0]; if (!head) { return; } style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css; head.appendChild(style); }