Free Rice simple grey theme - by Pushka.tv

Free Rice website - remove social links and header logo, make theme grey not green - http://pushka.com/coding-donation

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

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

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name        Free Rice simple grey theme - by Pushka.tv
// @namespace   english
// @description Free Rice website - remove social links and header logo, make theme grey not green  - http://pushka.com/coding-donation
// @include     http*://*freerice.com*
// @version     1.30
// @run-at document-end
// @grant       GM_addStyle
// ==/UserScript==


// Main - CSS hides two classes - video add box, and call to action box under it. - also social media

 
var style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = '/*free ricefont size 1px bigger, no background, remove green theme ~ pushka.tv \n -> /*\\n*@/ *//*\n*//*\n*/body {  background: #E2E2E2;  font-size: 13px;}#page {  background: none;}/*\n*//*\n*/#logo{display: none;}#logo a{  width: 150px;  height: 30px;  display: table;  position: relative;}/*\n*/#primary a {  color: #444444;}/*\n*/.block-users {  background: #FFFFFF  !important;  color: #242424  !important;}/*\n*/ /*\n*/.block-user-friends .block-table .table-td .name a.fr_user_link, a.fr_user_link, .frog_group_title a, .table-td .col-item-1 a ,.block-user-block .userinfo a{  color: #0D7CB5;}/*\n*/.block-subjects .item-list ul li a {  text-decoration: underline;  color: #1A6DBE;}/*\n*/.block-subjects .item-list ul li a:hover{  text-decoration: none;  color: #0E5396;font-weight: inherit;}/*\n*//*\n*/#primary {  color: #696969;  background: #C3C3C3;}/*\n*/#navbar ul {  background: #C7C7C7;}/*\n*/#primary a:hover, #primary a.active, #primary li.active a, #primary li.hover-li a {  background: #626262;  color: #FFFFFF;}/*\n*/#header-inner{height: 28px;}/*\n*/#logo-title {  height: 20px;  display: inline-block;}/*\n*//*\n*//*\n*/#primary ul ul {  background: #565656;}/*\n*/#primary li li {   border-bottom: 1px solid #ccc;}/*\n*/#primary li li a {  color: #ECECEC !important;  background: none !important;}/*\n*/#primary li li a:hover,#primary li li:hover {  color: #565656 !important;  background-color:#fff !important;background:#fff !important;}/*\n*/#primary li li {  background: none;  border-right: none;}/*\n*//*\n*//*\n*//*body light bg*//*\n*/.container_12 .grid_12{background: #CFCFCF !important;  color: #2D2D2D !important;}/*\n*/.block-users {  padding: 10px;  background: #CFCFCF !important;  color: #2D2D2D !important; background-color: #fff;}/*\n*/.block-users a, .container_12 .block-users a{text-decoration: underline;color:#1C7AC8; }/*\n*//*\n*//*headers dark bg*//*\n*/.block-right h4 ,.block-vocab .block-title,.block-vocab .block-bottom,.block-freerice-bottom #block-views-faq_recent_block-block_1 h2.title,.block-freerice-bottom .block-title,.block-freerice-bottom .block-title,.block-vocab .block-title,.block-faq .block-q{ color: #E2E2E2  !important ;  background-color: #3C3C3C  !important ;}/*\n*/.container_12 h2 {  color: #E2E2E2;  background: #3C3C3C url(/sites/default/themes/freerice/images/sprite.gif) no-repeat -2000px -2000px;margin: 0;}/*\n*/.container_12 div.block-right-top h2, .container_12 div.block-right-bottom-region h2 {  background: #3C3C3C;}/*\n*/.block-loginform {  background: #E0E0E0 url(/sites/default/themes/freerice/images/bg_login_page_2.png) no-repeat 10px 90%;}/*\n*/.block-user-friends .block-t span.members {  background: #3C3C3C url(/sites/default/themes/freerice/images/ico_members_list.gif) no-repeat 12px 7px;}/*\n*/.container_12 h2.home-group {  background: #5D740D url(/sites/default/themes/freerice/images/ico_groupe_home.gif) no-repeat 12px 7px;}/*\n*/.block-user-friends .block-t span.statistic {  background: #3C3C3C url(/sites/default/themes/freerice/images/ico_statistic.gif) no-repeat 12px 7px;}/*\n*/.container_12 h2.home-group {  background: #3C3C3C url(/sites/default/themes/freerice/images/ico_groupe_home.gif) no-repeat 12px 7px;}/*\n*/.container_12 h2.total {  background: #3C3C3C url(/sites/default/themes/freerice/images/ico_total.gif) no-repeat 12px 7px;}/*\n*/.container_12 h2.about {  background: #3C3C3C url(/sites/default/themes/freerice/images/ico_about.gif) no-repeat 12px 7px;}/*\n*/.block-user-friends .block-t span.list-groups {  background: #3C3C3C url(/sites/default/themes/freerice/images/ico_groupe_list.gif) no-repeat 12px 7px;}/*\n*/.block-user-friends .block-t span.rankings {  background: #3C3C3C url(/sites/default/themes/freerice/images/bg_rankings_title.gif) no-repeat 12px 7px;}/*\n*//*\n*//*\n*//*\n*//*\n*/.block-loginform .block-submit input,input.form-submit,.block-user-friends .block-table .table-td .button a span, .curent-button a span ,.frog_form_play_join .frog_form_play_join_button input.form-submit,.social-skip-button,.container_12 .block-about-bottom .block-this-button .item-list ul li a{  background: #565656;  color: #E8E8E8;}/*\n*/.frog_form_play_join .frog_form_play_join_button .block-button-inner {  float: none;  background: none;  color: #FFFFFF;}/*\n*/.block-about-bottom {  background: #C7C7C7;  border-top: 10px solid #FFFFFF;}/*\n*//*\n*/.block-user-total .block-table-statistic .table-td .total td.col-first {  background-color: #DDDDDD;}/*\n*/.block-user-total {  border-bottom: none;  background: none;  padding-bottom: 2px;}/*\n*/.container_12 .block-about-bottom h4 {  color: #000000;  padding: 0px 0px 20px 0px;}/*\n*//*\n*/.block-groupelist-table .block-table .table-td td.col-item-1, .block-groupelist-table .block-table .table-td td.col-item-4, .block-groupelist-table .block-table .table-td td.col-item-6 { background-color: #ECECEC;}/*\n*/.block-groupelist-table .block-table .table-td td.col-item-2, .block-groupelist-table .block-table .table-td td.col-last {  background-color: #D0D0D0;}/*\n*/.block-groupelist-table .block-table .table-td td.col-first, .block-groupelist-table .block-table .table-td td.col-item-3, .block-groupelist-table .block-table .table-td td.col-item-5 {  background-color: #DFDFDF;}/*\n*/.container_12 .block-user-friends .block-table .table-th a, .block-user-friends .block-table .table-th a, .block-user-friends .block-table .table-th td a {  color: #F2F2F2;}/*\n*/.block-user-tabs .block-tabs li a {  color: #000000;    background: #B6B6B6;  border: 1px solid #414141;}/*\n*/.block-user-tabs .block-tabs li a:hover, .block-user-tabs .block-tabs li a.active, .block-user-tabs .block-tabs li.active a {  background-position: 0 -29px;  border-color: #000000;  color: #FFFFFF;  background-color: #767676;}/*\n*/.block-pager .item-list {  background: #E8E8E8;}/*\n*/.block-pager .item-list ul.pager li a {  display: block;  float: left;  height: 18px;  line-height: 18px;/*\n*/  padding: 0px 6px 0px 7px;  text-decoration: none;  color: #ECECEC;}/*\n*/.block-pager .item-list ul.pager li {  margin: 0 0 0 5px;  background: #7C7C7C;}/*\n*/.block-pager .item-list ul.pager {  background: none;}/*\n*//*\n*/.block-pager .item-list ul.pager li.pager-current {  color: #187CB0;  background: #ccc;}/*\n*/.block-pager .item-list ul.pager li:hover{  color: #4FB5EA;  background: #525252;  background-image:none;}/*\n*/.container_12 .block-riceitems .item-list {  color: #EFEFEF;}/*\n*/.home #content-area {  background: #fff;}/*\n*/.container_12 .block-riceitems .item-list ul {  background-color: #9D9D9D;}/*\n*/.block-profileform {  background: #E5E5E5;}/*\n*/.block-description {  background: #EAEAEA;}/*\n*//*\n*//*\n*//*\n*//*forum box*//*\n*/.block-user-friends .block-t span {  border-top: 1px solid #444444;  background: #4F4F4F;}/*\n*/.block-user-friends .block-t {  background: #2C2C2C;  border-top: 1px solid #424242;  border-bottom: 1px solid #3C3C3C;  color: #E8E8E8;}/*\n*/.block-user-friends .block-table .table-th {    border-top: 1px solid #474747;  background: #575757;   color: #B6B6B6;  overflow: hidden;}/*\n*/.block-user-friends .block-table .table-th td{background: none;}/*\n*/.block-user-friends {  border-bottom: 1px solid #000000;}/*\n*/.block-user-friends .block-table-groups .table-td td.col-first, .block-user-friends .block-table-groups .table-td td.col-item-3, .block-user-friends .block-table-groups .table-td td.col-item-5 {  background-color: #E4E4E4;}/*\n*/.block-user-friends .block-table-groups .table-td td.col-item-2, .block-user-friends .block-table-groups .table-td td.col-item-4 {  background-color: #CDCDCD;}/*\n*/.block-user-friends .block-table-groups .table-td td.col-item-5 {  background-color: #D8D8D8;}/*\n*/.block-user-friends .block-table .table-td table table td {  background: #E5E5E5;  border: 1px solid #B6B6B6;}/*\n*/.block-user-friends .block-table-groups .table-td td.col-last {  background-color: #BDBDBD;}/*\n*/.block-user-friends .block-table {  border-left: 1px solid #2C2C2C;  border-right: 1px solid #272727;}/*\n*/.block-table-groups td.col-item-2 a {  color: #0E7FC5;}/*\n*/ .block-user-friends .block-table .table-td .button a, .curent-button a {  background: none;  color: #FFFFFF !important;}/*\n*/.block-user-friends .block-table .table-td {  border-top: 1px solid #A1A1A1;  background: #DBDBDB  ;  color: #232323;}/*\n*//*\n*//*\n*//*\n*//*scrollbar*//*\n*/.block-table .jScrollPaneTrack {  background: #AEC3DB;  border-right: 1px solid #0A75C2;  border-left: 1px solid #0D63AB;}/*\n*/.block-table .jScrollPaneDrag {  background: url("http://i.imgur.com/XeE85ZT.gif") no-repeat 0 0;}/*\n*/.block-table .jScrollArrowUp {  background: url("http://i.imgur.com/fsLhzpN.gif") no-repeat 0 0;}/*\n*/.block-table .jScrollArrowDown {  background: url("http://i.imgur.com/d6wIyoR.gif") no-repeat 0 0;}/*\n*/.block-user-friends{position: relative;left:-5px }/*\n*//*\n*/#content-area {  background: #FFF;}/*\n*/#content-area .grid_9 {  background-color: #E2E2E2; }/*\n*/#content-area .grid_3 {  background-color: #E2E2E2;}/*\n*/div.custom-dropdown span {  background: #fff url(http://i.imgur.com/d6wIyoR.gif) no-repeat right top !important;}/*\n*//*\n*//*\n*//*\n*//*user table*//*\n*/.block-user-friends .block-table .table-td td {  padding: 10px 9px 15px 10px;  background: none;/*\n*/  background-color: #4C4C4C;  border-right: 1px solid #6E6E6E;}/*\n*/.block-user-friends .block-table .table-td td.col-first {  background-color: #D8D8D8;}/*\n*/.block-user-friends .block-table .table-td td {  background-color: #E5E5E5;  border-right: 1px solid #989898;  border-bottom: 3px solid #949393;}/*\n*/.block-user-friends .block-table .table-td td.col-last {  background-color: #CFCFCF;}/*\n*/.block-bottom-viewall {  background: #BEBEBE;  color: #373737;  }/*\n*/.block-user-friends .block-table .table-td {  border-top: 1px solid #252525;  background: #E8E8E8;  color: #232323;}/*\n*/.block-user-friends {  border-bottom: 1px solid #414141;}/*\n*/.block-user-friends .block-table-statistic .table-td td.col-first {  background-color: #DBDBDB;}/*\n*/.block-user-friends .block-table-statistic .table-td td.col-last {  background-color: #C3C3C3;}/*\n*/.block-groupsettings {  background: #C7C7C7;}/*\n*/.block-user-friends .block-table-statistic .table-td td {background-image: none;  border-bottom: 1px solid #939393;}/*\n*/ /*\n*//*\n*//*Playing screen*//*\n*/.block-vocab {  background-color: #FFF;}/*\n*/.container_12 .grid_5,div.bottom-block-translated div.block-item-fighting {  background-color: #F4F4F4;}/*\n*//*\n*/.block-vocab .block-top {  background: #BBBBBB;}/*\n*/.block-vocab .block-top table td {  color: #FFFFFF;}/*\n*/span.loader-question{background:url("http://i.imgur.com/vHjYsEV.gif") no-repeat scroll 0pt 0pt transparent;}/*\n*//*\n*/.block-free-rice p {  color: #6F6F6F;}/*\n*//*\n*/.block-free-rice .block-rice-item {    background: #F2C395; width: 150px;  height: 150px;  margin: 0 auto;}/*\n*/.block-free-rice .block-rice-item img {  padding: 30px;  margin: 0;  width: 100px;  height: auto;}/*\n*//*\n*/.vocab #content-area {  background: none;}/*\n*/.block-vocab .block-title a {  color: #FFFFFF;  }/*\n*/.block-vocab .block-bottom a {  color: #FFFFFF; }/*\n*//*\n*//*playing footer*//*\n*/.block-freerice-bottom #block-views-faq_recent_block-block_1 {  background: #DFDFDF;}/*\n*/.block-item-fighting .item-list li {  border-bottom: 2px solid #848484;}/*\n*/.block-item-activetes .item-list li {  border-bottom: 1px solid #343434;}/*\n*/.block-item-activetes .item-list li.even {  background: #E4E4E4;}/*\n*/.block-item-activetes {  color: #232323;  background: #F4F4F4;}/*\n*//*\n*//*footer*//*\n*/#footer,#footer a,#footer ,#footer a:hover,#footer a:active,#footer a:visited {  color: #595959;}/*\n*//*\n*/#site-slogan,#block-fShare,#block-tweet{display: none;}/*\n*//*\n*/';
document.getElementsByTagName('head')[0].appendChild(style);