19B4's Nu-Kinja Script

Works on Deadspin, io9, Gizmodo, Jalopnik, Jezebel, Kotaku, Lifehacker, The Root

目前為 2017-04-28 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name          19B4's Nu-Kinja Script
// @version       2017.04.29
// @namespace     19B4-KS
// @description	  Works on Deadspin, io9, Gizmodo, Jalopnik, Jezebel, Kotaku, Lifehacker, The Root
// @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://*.fusion.net/*
// @include       http://fusion.net/*
// @include       https://fusion.net/*
// @run-at        document-start
// @grant					 none
// ==/UserScript==
(function() {var css = [
"head, body {",
"font-size: 10pt !important;",
"font-family: KhmerUI, Helvetica !important;",
"}",
"",
"/* 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;",
"}",
"",
".scribe-html {",
"display: block !important;",
"font-family: KhmerUI;",
"}",
"",
".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;",
	"max-height: 300px;",
	"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;",
"}",
".featured-items {",
    "width: 20%;",
    "right: 0px !important;",
    "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);
	}
}
}
)();