Custom Styles Kaskus

custom tampilan kaskus + buka thread di tab baru

当前为 2015-01-29 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name            Custom Styles Kaskus
// @description     custom tampilan kaskus + buka thread di tab baru
// @author          ndi
// @version         0.2
// @compatible      Greasemonkey
// @require         http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js
// @grant           GM_addStyle
// @include         *.kaskus.co.id/*
// @exclude         *.kaskus.co.id
// @exclude         *.kaskus.co.id/
// @exclude         *.kaskus.co.id/forum
// @exclude         *.kaskus.co.id/fjb
// @exclude         *infokost.kaskus.co.id/
// @exclude         *.kaskus.co.id/group
// @namespace https://greasyfork.org/users/8670
// ==/UserScript==

$(function(){
GM_addStyle(''
+'body{background:#e3e3e3}'
+'.navbar{background:#eee;border-bottom:1px solid #fff}'
+'.related-thread, .sidebar-wrap,.ads-lb-wrap{display:none;}'
+'.main-content{width:100%}'
+'.container{width:1100px !important}'
+'.user-control-stick{width:1100px}'
+'.post-entry td.icon{width:50px}'
+'.postlist .entry{padding:20px;background:#f3f3f3}'
);
$('.listing-table .post-title a').attr('target','_blank')//open thread new tab
//end
})();