您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Works on Deadspin, io9, Gizmodo, Jalopnik, Jezebel, Kotaku, Lifehacker, The Root, Splinter News, and the AV Club
当前为
// ==UserScript== // @name 19B4's Nu-Kinja Script // @version 2017.08.31 // @namespace 19B4-KS // @description Works on Deadspin, io9, Gizmodo, Jalopnik, Jezebel, Kotaku, Lifehacker, The Root, Splinter News, and the AV Club // @author Austin "lash" Williamson // @homepage http://19B4.kinja.com/ // @include http://gawker.com/* // @include https://gawker.com/* // @include http://*.gawker.com/* // @include https://*.gawker.com/* // @include http://jezebel.com/* // @include https://jezebel.com/* // @include http://*.jezebel.com/* // @include https://*.jezebel.com/* // @include http://jalopnik.com/* // @include https://jalopnik.com/* // @include http://*.jalopnik.com/* // @include https://*.jalopnik.com/* // @include http://kotaku.com/* // @include https://kotaku.com/* // @include http://*.kotaku.com/* // @include https://*.kotaku.com/* // @include http://io9.com/* // @include https://io9.com/* // @include http://*.io9.com/* // @include https://*.io9.com/* // @include http://gizmodo.kinja.com/* // @include https://gizmodo.kinja.com/* // @include http://*.gizmodo.kinja.com/* // @include https://*.gizmodo.kinja.com/* // @include http://gizmodo.com/* // @include https://gizmodo.com/* // @include http://*.gizmodo.com/* // @include https://*.gizmodo.com/* // @include http://lifehacker.com/* // @include https://lifehacker.com/* // @include http://*.lifehacker.com/* // @include https://*.lifehacker.com/* // @include http://deadspin.com/* // @include https://deadspin.com/* // @include http://*.deadspin.com/* // @include https://*.deadspin.com/* // @include http://kinja.com/* // @include https://kinja.com/* // @include http://*.kinja.com/* // @include https://*.kinja.com/* // @include https://*.theroot.com/* // @include http://theroot.com/* // @include http://*.theroot.com/* // @include https://theroot.com/* // @include https://splinternews.com/* // @include https://splinternews.com/ // @include https://*.splinternews.com/* // @include http://splinternews.com/* // @include http://splinternews.com/ // @include http://*.splinternews.com/* // @include https://avclub.com/* // @include https://*.avclub.com/* // @include http://avclub.com/* // @include http://*.avclub.com/* // @run-at document-start // @grant none // ==/UserScript== (function() {var css = [ "head, body {", "overflow-x:hidden;", "font-size: 10pt !important;", "font-family: KhmerUI, Helvetica !important;", "}", "", ".curation-main-container .curation__wrapper--whoomp .featured-items:hover {", "max-width: 800px;", "}", ".curation-main-container .curation__wrapper--whoomp .featured-items {", "max-width: 400px;", "}", "/* bug fixes */", ".js_related-module {", "width: 100% !important;", "float:left;", "clear: both !important;", "}", "figure.js_marquee-assetfigure {", "clear: both;", "width: auto;", "height: auto !important", "}", "", "h1, h2, h3, h4 {", "clear: both;", "}", "", ".editor .editor-inner blockquote, .post-content blockquote {", "float: left !important;", "clear: both;", "}", "/* Fix for transparent avatars */", ".userbutton .avatar {", "background-color: #fff;", "}", "", ".post-content {", "float:left !important;", "}", "", ".pe_newlayout .post .marquee-asset img {", "height: auto !important;", "width: 25% !important;", "clear: both;", "float: left;", "}", "", "", ".large-12, .medium-9, .medium-6 {", "width: 70% !important;", "float:left;", "}", "", ".playIcon, .video-thumb-play .play-icon {", "width: 74px;", "height: 74px;", "float: left;", "clear: both;", "top: 30px;", "left: 60px;", "}", "", ".windows .post-content dl, .windows .post-content ol, .windows .post-content p, .windows .post-content ul {", "font-weight: 500;", "width: 100% !important;", // "min-width: 600px !important;", "float: left;", "}", "", ".sidebar__content, .sharingfooter__wrapper, #sharingfooter {", "display: none;", "/* min-width: 100px !important; */", "}", "", ".sidebar-module trending-module--thumbs, sidebar-module trending-module--thumbs {", "display: none !important;", "}", "", ".main {", "width: 100% !important;", "margin-left: 15% !important;", "}", "", "", "", "", ".pe_newlayout .main__content {", "float: left !important;", "}", "", ".sidebar, #sidebar-module trending-module--thumbs, .sidebar-module trending-module--thumbs, .mezzanine {", "width:10% !important;", "position: fixed !important;", "display:none !important;", "left: 0px;", "// border: 0px !important;", "}", "", ".editor .editor-inner blockquote, .editor .editor-inner dl, .editor .editor-inner ol, .editor .editor-inner p, .editor .editor-inner ul, .post-content blockquote, .post-content dl, .post-content ol, .post-content p, .post-content ul {", "font-family: 'KhmerUI',Helvetica !important;", "font-size: 10pt !important;", "line-height: 20px !important;", "}", ".pe_newlayout .main {", "border-left: 0px !important;", "}", "", ".reply__sidebar {", "height:50px !important;", "width:50px !important;", "}", "", ".postlist__item .excerpt, .postlist__item .excerpt p {", "font-family: Helvetica !important;", "font-size: 16px;", "line-height: 1.2;", "width: 75% !important;", "padding-left: 15px !important;", "float: left !important;", "}", "", "div.excerpt.entry-summary p {", "width: 100% !important", "}", "", ".lazy-image img, .img-wrapper{", "max-width: 500px;", "min-height: 100px;", "padding-bottom: 5px !important;", "}", "", ".lazy-image img.lazyloaded {", "float: left !important;", "margin-left: 5%;", "}", "", ".asset marquee-asset js_marquee-assetfigure {", "float: left;", "padding-bottom: 0px !important;", "margin: 0px !important;", "width: 100% !important;", "max-width: 200px !important;", "}", "", "", ".postlist__item .asset {", "padding: 0px !important;", "float: left;", "width: auto !important;", "margin-right: 0px !important;", "min-width: 170px !important;", "}", "", "/* Make top bar content into sidebar */", ".featured-item, .featured-item-placeholder {", "position: relative;", "width: 100% !important;", "max-width:250px !important;", "border-top: 5px solid transparent;", "margin-bottom: 30px;", "}", "@media screen and (max-width: 1366px){", ".featured-items:hover {", "width: 20%;", "right: 0px !important;", "position: absolute !important;", "transition: 0.5s;", "}", "}", "", ".featured-items {", "width: 20%;", "right: -10% !important;", "transition: 1s;", "position: absolute !important;", "}", ".curation-main-container js_curation-main-container {", "width: 20% !important;", "max-width:150px !important;", "float: right;", "clear: both;", "height: 500px;", "position: absolute;", "display: none !important;", "right: 0px;", "}", "", ".curation-main-container js_curation-main-container:hover {", "display:inline !important;", "}", "", "/* end sidebar */", ".post-list--pe {", "margin-right: 10%;", "", "", "body, .notif-list li .msg-excerpt, .editor .editor-inner blockquote, .editor .editor-inner dl, .editor .editor-inner ol, .editor .editor-inner p, .editor .editor-inner ul, .post-content blockquote, .post-content dl, .post-content ol, .post-content p, .post-content ul {", "font-family: KhmerUI, Arial !important;", "}", "p {", "font-family: inherit;", "font-size: .938rem;", "font-weight: normal;", "margin-bottom: 1.25rem;", "text-rendering: optimizeLegibility;", "line-height: 22px !important;", "}", ].join("\n"); if (typeof GM_addStyle != "undefined") { GM_addStyle(css); } else if (typeof PRO_addStyle != "undefined") { PRO_addStyle(css); } else if (typeof addStyle != "undefined") { addStyle(css); } else { var node = document.createElement("style"); node.type = "text/css"; node.appendChild(document.createTextNode(css)); var heads = document.getElementsByTagName("head"); if (heads.length > 0) { heads[0].appendChild(node); } else { // no head yet, stick it whereever document.documentElement.appendChild(node); } } } )();