// ==UserScript==
// @name The Best Mobile01
// @namespace http://userstyles.org
// @description 還給大家真正的 Mobile01:讓使用者享受無廣告、無干擾的瀏覽環境。
// @author Tronic Lin
// @homepage https://userstyles.org/styles/196482
// @include http://mobile01.com/*
// @include https://mobile01.com/*
// @include http://*.mobile01.com/*
// @include https://*.mobile01.com/*
// @include http://www.5i01.cn/*
// @include https://www.5i01.cn/*
// @include http://*.www.5i01.cn/*
// @include https://*.www.5i01.cn/*
// @run-at document-start
// @version 1.1
// ==/UserScript==
(function() {var css = [
"/* ========== Remove Google AD ============ ",
" 這一段的語法會拖慢效能",
" 若執行效率差,請自行刪除這區塊 */",
".ad-adblock,",
".l-content__main>#next_page_2~.u-gapNextV--lg .l-pagination,",
"div[id^=\"div-gpt-ad-\"] {",
" display: none !important",
"}",
"",
"/* ========== Remove Fucking Ads ============ */",
".l-content__main .u-gapNextV--lg:nth-of-type(1)",
"{",
" ",
"}",
"",
".u-gapNextV--lg:nth-of-type(2),",
".u-gapNextV--lg:nth-of-type(9)",
"{}",
"",
".u-gapNextV--lg:nth-of-type(5)",
"{",
" ",
"}",
"",
".u-gapNextV--lg:nth-of-type(6){",
" display: none;",
"}",
"",
".u-gapNextV--lg:nth-of-type(3),",
".u-gapNextV--lg:nth-of-type(4)",
"{",
"}",
"",
".u-height250,",
".u-height120,",
".u-gapTop--lg",
"{",
" display: none;",
"}",
"",
"#Crt-1437355 {",
" display: none;",
"}",
"",
"#div-gpt-ad-1563255979550-0 {",
" display: none;",
"}",
"",
"#google_image_div,",
"#div-gpt-ad-1564559506807-0,",
"#_popIn_recommend_side,",
"#_popIn_onlyRecommend_side,",
"#Crt-810663",
"#Crt-1437355",
"{",
" display: none !important;",
"}",
"",
"#_popIn_recommend_side, #_popIn_onlyRecommend_side, #dablewidget_Gokmprlv, #dablewidget_G7ZnmZ7W{",
" display: none !important;",
"}",
"",
".GoogleActiveViewElement{",
" display: none;",
"}",
"",
".ad_fixed{",
" display: none;",
"}",
"",
".ad_left_bottom {",
" display: none !important;",
"}",
"",
"#dablewidget_QXeJaVoe,",
"#pb",
"{",
" display: none;",
"}",
"",
"/* Market Page - Card Swiper */",
".l-cardSwiper{",
" display: none;",
"}",
"",
"/* Article Page - Pop In Ads */",
"#_popIn_recommend, #_popIn_onlyRecommend {",
" display: none;",
"}",
"",
"/* ========== Font Size ============ */",
".l-header__group,",
".c-group__link,",
".c-searchBox.is-active .c-searchBox__input,",
".l-header__tools,",
".sf-menu a,",
".sf-menu ul li a,",
".l-articleCardDesc,",
".l-selectedList,",
".o-selectItemTitle,",
".c-breadCrumb li a,",
".c-selectItem__title,",
".l-jumpList li a, ",
".l-jumpList li span,",
".l-articlePage__publish blockquote",
"{",
" font-size: 1.1rem;",
"}",
"",
".c-link--gn",
"{",
" font-size: 1rem;",
"}",
"",
".u-username",
"{",
" font-size: 0.8rem;",
"}",
"",
".c-secondaryTabNav__wrap {",
" font-size: .75em;",
"}",
"",
"/* ========== Dark Mode ============ */",
"",
"/* General Attributes */",
"body, ",
"html ",
"{",
" background-color: #000 !important;",
" color: #fff !important;",
"}",
"",
"/* Links */",
"a {",
" color: #fff !important;",
" background-color: transparent !important;",
"}",
"",
"a:hover{",
" color: #30a651 !important;",
" text-decoration: none !important;",
"}",
"",
".c-btn--primary:hover{",
" color: white !important;",
"}",
"",
"/* Header Tools */",
".l-header__main {",
" background-color: #000 !important;",
" border-top: 3px solid #30a651;",
" border-bottom: 1px solid #2f3336 !important;",
"}",
"",
".l-header__group {",
" border-right: 1px solid #2f3336 !important;",
"}",
"",
".c-group__options {",
" background-color: #14181a !important;",
"}",
"",
".c-textbox, .c-textbox:focus {",
" color: #d9d9d9 !important;",
"}",
"",
".c-textbox {",
" background-color: #000 !important;",
" border: 1px solid #2f3336 !important;",
" color: #d9d9d9 !important;",
"}",
"",
".c-searchBox.is-active .c-searchBox__search {",
" background-color: #000 !important;",
" height: 36px !important;",
"}",
"",
".l-headerTools__login {",
" border-left: 1px solid #2f3336 !important;",
"}",
"",
"/* Header Menu */",
".l-menu {",
" background-color: #14181a !important;",
"}",
"",
".l-header__nav:after {",
" border-bottom: 1px solid #2f3336 !important;",
"}",
"",
".sf-menu li {",
" background-color: #14181a !important;",
"}",
"",
".sf-menu li {",
" background: #14181a;",
"}",
"",
".sf-menu ul {",
" box-shadow: 2px 2px 6px rgba(255,255,255,.2) !important;",
"}",
"",
".sf-menu > li > ul > li, .sf-menu ul ul li {",
" border-top: 1px solid #2f3336 !important;",
"}",
"",
".sf-menu ul li {",
" background: #14181a !important;",
"}",
"",
".sf-menu a {",
" border-left: 0px solid #fff;",
" border-top: 0px solid #dFeEFF;",
" border-top: 0px solid rgba(255,255,255,.5);",
" padding: .75em 1em;",
" text-decoration: none;",
" zoom: 1;",
"}",
"",
"/* Main Content */",
"main.l-main {",
" background-color: #000 !important;",
"}",
"",
".l-content__main {",
" border-right: 1px solid #2f3336 !important;",
"}",
"",
".content-side {",
" background-color: #000 !important;",
"}",
"",
".c-articleCard__thumbnail,",
".c-articleCard__desc",
"{",
" background-color: #14181a !important;",
"}",
"",
".l-selectedList li {",
" border-bottom: 1px solid #2f3336 !important;",
"}",
"",
"/* Footer */",
".l-footer,",
".l-footer__copyright",
"{",
" background-color: #000 !important;",
"}",
"",
".l-footer__links {",
" background-color: #14181a !important;",
" border-bottom: 1px solid #2f3336 !important;",
" border-top: 1px solid #2f3336 !important;",
"}",
"",
".l-footer__copyright .list > span > a > img {",
" filter: brightness(0.8);",
"}",
"",
"img[src$=\"footer-rss.svg\"] {",
" filter: brightness(0.9) !important;",
"}",
"",
"/* Page Content */",
".c-filter {",
" background-color: #14181a !important;",
"}",
"",
".l-listTable__tr {",
" border-bottom: 1px solid #2f3336 !important;",
"}",
"",
".l-listTable__thead .l-listTable__tr {",
" border-top: 1px solid #2f3336;",
"}",
"",
".l-listTable__thead {",
" background-color: #13181A !important;",
"}",
"",
".l-listTable__tbody {",
" background-color: #000 !important;",
"}",
"",
".o-fNotes {",
" color: gray !important;",
"}",
"",
".l-listTable__tr {",
" border-bottom: 1px solid #2f3336 !important;",
"}",
"",
".c-pagination {",
" border: 1px solid #2f3336 !important;",
"}",
"",
".c-pagination--prev,",
".c-pagination--next {",
" border: 0 !important;",
"}",
"",
".l-pagination .is-active a {",
" background-color: #17bf63 !important;",
" border: 1px solid #17bf63 !important;",
" color: #fff !important;",
"}",
"",
".c-btn--primary {",
" background: #30A651 !important;",
" color: white !important;",
"}",
"",
"/* Reply Message */",
".c-textEditor__toolBar {",
" border-color: #2f3336 !important;",
"}",
"",
".c-dropdown__select>li>span {",
" background: #000 !important;",
" border: 1px solid #000 !important;",
" color: #d9d9d9 !important;",
"}",
"",
".c-dropdown__select ul li.selected, .c-dropdown__select ul li:hover {",
" background-color: rgb(23, 191, 99) !important;",
" color: rgb(217, 217, 217) !important;",
"}",
"",
".c-dropdown__select ul li {",
" background-color: rgb(47, 51, 54) !important;",
" color: rgb(217, 217, 217) !important;",
"}",
"",
".c-textarea {",
" background-color: #000 !important;",
" border: 1px solid #2f3336 !important;",
" color: #d9d9d9 !important;",
"}",
"",
".l-helpLink {",
" background-color: #14181a !important;",
"}",
"",
".c-iconLink--gn {",
" color: #17bf63 !important;",
"}",
"",
"hr {",
" border-top: 0px solid rgb(47, 51, 54) !important;",
"}",
"",
".c-defaultBlock__desc, .o-fSubMini, .o-fNotes, .o-formDesc {",
" color: rgb(217, 217, 217) !important;",
"}",
"",
".c-link--gn {",
" color: rgb(23, 191, 99) !important;",
"}",
"",
".c-link--gn:hover",
"{",
" color: white !important;",
"}",
"",
".l-toolBar__item {",
" border-right: 0px solid #ECECEC;",
"}",
"",
".l-introduction__pick .c-btn--secondary {",
" background: transparent !important;",
"}",
"",
".l-introduction__pick .c-btn--secondary {",
" padding: 0;",
"}",
"",
".l-form__content .l-actions {",
" padding-left: 0;",
"}",
"",
"/* Article */",
".l-articlePage__publish blockquote {",
" border-left: 3px solid #d9d9d9 !important;",
" color: #d9d9d9 !important;",
" filter: brightness(0.8) !important;",
"}",
"",
".l-articlePage {",
" border-bottom: 1px solid #2f3336 !important;",
"}",
"",
".l-publish__content {",
" border-top: 1px solid #2f3336;",
"}",
"",
".o-fSubMini:hover {",
" color: #30a651 !important;",
"}",
"",
".c-authorCard {",
" position: relative;",
" width: 260px;",
" border: 1px solid #2f3336;",
" background-color: #000;",
"}",
"",
".c-authorCard__btnGroup {",
" border-top: 1px solid #2f3336;",
"}",
"",
".c-authorCardBtn__item + .c-authorCardBtn__item {",
" border-left: 1px solid #2f3336;",
"}",
"",
"article a {",
" color: #30a651 !important;",
"}",
"",
"article a:hover {",
" color: #fff !important;",
"}",
"",
"/* Control Panel */",
".c-textStatistics {",
" border: 0px solid #2f3336 !important;",
"}",
"",
".l-personalPanel {",
" background-color: #14181a !important;",
"}",
"",
".c-panel__item {",
" background-color: #14181a !important;",
" border: 1px solid #2f3336 !important;",
"}",
"",
".l-searchCard {",
" border-bottom: 1px solid #2f3336 !important;",
"}",
"",
".l-listTable__tr {",
" border-bottom: 1px solid #2f3336 ",
"}",
"",
".l-promptBlock {",
" background-color: #14181a !important;",
"}",
"",
".l-listTable__tbody .l-listTable__tr:hover {",
" background-color: rgba(213, 220, 230, 0);",
" background: linear-gradient(0deg,",
" rgba(60, 60, 80, 0) 0,",
" rgba(113, 120, 130, .0) 3%,",
" rgba(213, 220, 230, .0) 8%,",
" rgba(213, 220, 230, .0) 92%,",
" rgba(113, 120, 130, .0) 97%,",
" rgba(60, 60, 80, .0) 100%);",
"}",
"",
"/* Sign In Content */",
".l-signInPage__content {",
" border: 0px solid #2f3336 !important;",
"}",
"",
".l-formRow__title {",
" color: white;",
"}",
"",
"/* Fixed Bottom */",
".fixedbottom .dialog {",
" background-color: #000 !important;",
"}",
"",
".c-btn--secondary {",
" background: #30a651 !important;",
" border: 0px solid #30A651 !important;",
" color: #fff !important;",
"}",
"",
"/* Market Page */",
".fancybox-content {",
" background: #2f3336 !important;",
"}",
"",
".fancybox-caption {",
" background: linear-gradient(0deg,rgba(0,0,0,.85) 0,rgba(0,0,0,.3) 50%,rgba(0,0,0,.15) 65%,rgba(0,0,0,.075) 75.5%,rgba(0,0,0,.037) 82.85%,rgba(0,0,0,.019) 88%,transparent);",
" color: #eee;",
" font-size: 1rem;",
"}",
"",
"/* ========== General ============ */",
"",
"/* Html and Body*/",
"html,",
"body,",
".l-container,",
".l-header,",
".l-main,",
".l-footer,",
".signInPage",
"{",
" min-width: 1250px;",
" font-size: 1.1rem;",
"}",
"",
".l-footer__copyright {",
" width: 1160px !important;",
"}",
"",
".background-side,",
".l-footer .l-wrap",
"{",
" width: 1250px !important;",
" margin: 0 auto !important;",
"}",
"",
".l-header__main .l-wrap,",
".l-menu .l-wrap,",
".l-content,",
".background-side .l-wrap",
"{",
" width: 1250px !important;",
"}",
"",
"main.l-main {",
" min-height: 100vh !important;",
"}",
"",
"/* Header Group */",
".l-header__left {",
" margin-left: 0.3em;",
"}",
"",
".l-header__tools {",
" margin-right: 0.8em;",
"}",
"",
".c-group__link:hover{",
" color: #30a651;",
" background-color: transparent !important;",
"}",
"",
".c-group__title>span:before {",
" margin-left: -0.5rem;",
"}",
"",
".c-group.is-active .c-group__title:after {",
" margin-left: 0.25rem;",
"}",
"",
".c-group__title:after {",
" margin-left: 0.25rem;",
"}",
"",
".c-group__link:hover{",
" color: #30a651;",
" background-color: transparent !important;",
"}",
"",
".c-menuLv1__name{",
" padding: 0;",
"}",
"",
".sf-menu a {",
" color: #333;",
" padding: .5em .415em;",
"}",
" ",
"",
".sf-menu a:hover {",
" color: #30A651;",
"}",
"",
".sf-menu ul {",
" min-width: 10em;",
"}",
"",
"/* Main Content */",
".l-content__main {",
" width: 850px;",
" margin: 0;",
" padding-right: .5em;",
"}",
"",
".l-emCardGroup__main ",
"{",
" width: 67.75% !important;",
"}",
"",
".l-emCardGroup__attached ",
"{",
" width: auto;",
" padding-left: 0rem;",
"}",
" ",
".l-emCardGroup__attachedTop",
"{",
" margin-bottom: 0.5rem;",
" width: 100%;",
"}",
" ",
".l-emCardGroup__attachedBottom",
"{",
" width: 100%;",
" margin-top: 0rem;",
"}",
"",
".c-mainCard ",
"{",
" width: auto !important;",
"}",
"",
".c-mainCard--sm {",
" width: auto !important;",
"}",
"",
".l-emCardGroup__main .c-mainCard,",
".c-mainCard__thumbnail{",
" width: auto;",
" height: 410px;",
"}",
"",
".l-emCardGroup__attached .c-mainCard--sm,",
".c-mainCard--sm .c-mainCard__thumbnail{",
" height: 200px;",
"}",
"",
".c-articleCard img ",
"{",
" width: 100%;",
" height: auto;",
"}",
"",
".l-tab__container {",
" padding-top: .2em;",
"}",
"",
"/*.l-tab__container .l-cols .l-cols__4 {",
" width: 42.5%;",
" padding-top: 0.5em;",
"}",
"",
".l-tab__container .l-cols .l-cols__8 {",
" width: calc(100% - 47%);",
" margin-left: 7rem !important;",
" margin-right: 0em !important;",
"}*/",
"",
".l-cols__4 {",
" padding-top: 0.7em;",
"}",
"",
".l-cols__8 {",
" padding-left: 2.25em;",
"}",
"",
".l-selectedThumb {",
" width: 325px;",
" height: 250px;",
" background-size: cover;",
"}",
"",
".l-tab__container .l-cols .l-cols__8 .l-selectedList .c-selectItem {",
" padding: .6em 0;",
"}",
"",
".u-gapBottom--max {",
" margin-bottom: 0;",
"}",
"",
".l-selectedList + .l-selectedMore {",
" padding-right: 0.5rem;",
"}",
"",
".l-heading__fixed {",
" padding-right: 0.5rem !important;",
"}",
"",
"/* Page Content */",
".l-hotCardGroup li {",
" width: calc((100% - 12mm)/5);",
" padding: 0;",
" margin: 0 0 0 2mm",
"}",
"",
".c-dropdown--sort .c-dropdown__select > li > span{",
" padding: 0 15px 0 15px;",
"}",
"",
".l-pagination {",
" padding: 0.5rem 1rem;",
"}",
"",
".c-breadCrumb {",
" padding: 0 0 0 1rem;",
"}",
"",
".l-heading__fixed {",
" padding-right: 1rem;",
"}",
"",
".l-tabulate__nav + .l-tabulate__content {",
" margin-top: 0.5rem;",
" padding: 0 1rem;",
"}",
"",
"/* Side Content */",
".l-content__side {",
" padding-left: 0.8em;",
" padding-right: 0.1em;",
"}",
"",
".l-tab__container.is-active .l-selectedList .c-selectItem{",
" padding: 0.4em 0;",
"}",
"",
"/* Footer */",
".l-footerLinks .c-link{",
" padding: 0;",
"}",
"",
".l-footerLinks>li{",
" margin: 0 0.85em;",
"}",
"",
"ul.l-footerLinks > li.footer-icon {",
" margin-left: 15px;",
"}",
"",
"/* Market Page */",
".l-memberIntro {",
" background-color: #000 !important;",
"}",
"",
".c-authorBlock {",
" border: 1px solid #2f3336 !important;",
"}",
"",
".c-link--gn{",
" color: white !important;",
"}",
"",
".c-link--gn:hover{",
" color: #30a651 !important;",
"}",
"",
"/* ========== Market Page ============ */",
".l-cols__4 {",
" width: 33.33333% !important;",
"}",
"",
".l-thumbGallery--noGray .l-thumbGallery__item.is-active{",
" margin-left: 1.7rem;",
"}",
"",
".u-gapTop--md {",
" margin-left: 1.7rem;",
"}",
"",
"/* ========== Special Event Page ============ */",
".l-cols__8 {",
" width: 66.66667%;",
"}",
"",
"/* ========== Sign In Page ============ */",
".l-signInPage__content ",
"{",
" padding: 30px 17rem;",
" border: 1px solid #ECECEC;",
" font-size: 1.2rem;",
"}",
"",
".l-heading__title {",
" padding-left: 1rem;",
"}",
"",
".l-formRow,",
".l-formRow + .l-formRow,",
".l-actions > .c-btn",
"{",
" font-size: 1.2rem;",
"}",
"",
".l-actions {",
" margin: 1rem;",
" padding-left: 24.5rem;",
"}",
"",
"/* ========== Control Panel Page ============ */",
".l-interact {",
" padding-left: 0rem;",
"}",
"",
".l-excerpt__title + .l-excerpt__desc,",
".l-navigation__item:last-child,",
".l-navigation__item:first-child{",
" padding-left: 0.5em;",
" padding-right: 0.5em;",
"}",
"",
".l-toolBar__item:last-child {",
" padding-top: 0.2em;",
"}",
"",
".l-searchCard {",
" position: relative;",
" padding: 0 !important;",
" margin: 2mm 0mm 5mm;",
" /*background-color: rgba(130, 130, 180, .1);",
" border: 1px solid #fff;*/",
" overflow: hidden;",
"}",
"",
".l-thumbDesc {",
" display: table;",
" table-layout: fixed;",
" width: 100%;",
"}",
"",
".l-searchCard__content .l-thumbDesc__pic--lg {",
" padding: 0;",
" /*background-color: #a1a1a1;*/",
" width: 120px;",
" height: auto;",
" /*border-right: 1px solid #eee;*/",
" z-index: 1;",
"}",
"",
".l-thumbDesc__excerpt {",
" padding: 1mm 4mm;",
"}",
"",
".l-excerpt__title+.l-excerpt__desc {",
" color: #ccc;",
" margin-top: 1mm;",
" height: auto;",
" line-height: 1.4em;",
" -webkit-line-clamp: 3;",
" padding: 1em 0;",
"}",
"",
".l-excerpt__desc+.l-excerpt__nav {",
" margin-top: 2.5em;",
"}",
"",
".l-excerpt__title+.l-excerpt__desc .c-link {",
" position: relative;",
" display: block;",
" float: right;",
" margin-right: 1mm;",
" opacity: .8;",
"}",
"",
".l-searchCard__content .l-excerpt__nav .l-navigation:nth-of-type(1) {",
" position: absolute;",
" top: 3px;",
" right: 5mm;",
"}",
"",
".l-searchCard .l-navigation, .l-searchCard .l-navigation__item {",
" display: inline-block;",
" width: auto;",
" padding: 0;",
"}",
"",
".c-link, .l-jumpList li .c-link {",
" padding: 2mm 2mm;",
" white-space: nowrap;",
" text-overflow: ellipsis;",
" overflow: hidden;",
"}",
"",
".l-searchCard__content .l-excerpt__nav .l-navigation:nth-of-type(2) {",
" position: absolute;",
" right: 4px;",
" bottom: 0;",
" line-height: 1.1em;",
" z-index: 2;",
"}",
"",
".l-navigation {",
" margin-bottom: 4mm;",
"}",
"",
".l-toolBar {",
" display: -webkit-box;",
" display: -webkit-flex;",
" display: -ms-flexbox;",
" display: flex;",
" -webkit-box-pack: start;",
" -webkit-justify-content: flex-start;",
" -ms-flex-pack: start;",
" justify-content: flex-start;",
" -webkit-box-align: center;",
" -webkit-align-items: center;",
" -ms-flex-align: center;",
" align-items: center;",
" margin: 0;",
" padding: 0;",
" list-style-type: none;",
"}",
"",
".l-toolBar__item {",
" line-height: 1.2;",
" padding: 0 2mm 0 1mm;",
" border-right: 1px solid #fff;",
"}",
"",
".o-fNotes {",
" margin: 0 1mm;",
"}",
"",
"/* ========== Article Page ============ */",
"article {",
" font-size: 1.2rem;",
" padding: 0 0.5rem;",
"}",
"",
".l-docking,",
".l-docking.is-docking{",
" display: none;",
"}",
"",
".c-btn {",
" padding: 8px;",
"}",
"",
".l-navigation {",
" margin-top: 0;",
"}",
"",
".l-navigation__item {",
" padding: 10px 20px;",
"}",
"",
".c-popUp__content .l-actions{",
" padding-left: 0rem;",
"}",
"",
".c-popUp__content .u-gapTop--md{",
" margin-left: 0;",
"}"
].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);
}
}
})();