Created
April 15, 2017 04:08
-
-
Save tsuyoshicho/3c6c287394f164c31af53a591caefd29 to your computer and use it in GitHub Desktop.
2017-04-15 テスト版 Mastodon 鱒丼君 masudon-kun 確認版ファイル
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Mastodon 鱒丼君 masudon-kun | |
| // @namespace http://userstyles.org | |
| // @description 鱒丼でオフパオしようぜ! | |
| // @author 生駒菜々(やっきゅん) | |
| // @homepage https://userstyles.org/styles/141271 | |
| // @include http://mastodon.network/* | |
| // @include https://mastodon.network/* | |
| // @include http://*.mastodon.network/* | |
| // @include https://*.mastodon.network/* | |
| // @include http://mastodon.xyz/* | |
| // @include https://mastodon.xyz/* | |
| // @include http://*.mastodon.xyz/* | |
| // @include https://*.mastodon.xyz/* | |
| // @include http://niu.moe/* | |
| // @include https://niu.moe/* | |
| // @include http://*.niu.moe/* | |
| // @include https://*.niu.moe/* | |
| // @include http://mstdn.jp/* | |
| // @include https://mstdn.jp/* | |
| // @include http://*.mstdn.jp/* | |
| // @include https://*.mstdn.jp/* | |
| // @include http://mastodon.cloud/* | |
| // @include https://mastodon.cloud/* | |
| // @include http://*.mastodon.cloud/* | |
| // @include https://*.mastodon.cloud/* | |
| // @include http://mstdn.maud.io/* | |
| // @include https://mstdn.maud.io/* | |
| // @include http://*.mstdn.maud.io/* | |
| // @include https://*.mstdn.maud.io/* | |
| // @include http://kirakiratter.com/* | |
| // @include https://kirakiratter.com/* | |
| // @include http://*.kirakiratter.com/* | |
| // @include https://*.kirakiratter.com/* | |
| // @include http://pawoo.net/* | |
| // @include https://pawoo.net/* | |
| // @include http://*.pawoo.net/* | |
| // @include https://*.pawoo.net/* | |
| // @include http://mstdn.club/* | |
| // @include https://mstdn.club/* | |
| // @include http://*.mstdn.club/* | |
| // @include https://*.mstdn.club/* | |
| // @include http://mstdn.jp/* | |
| // @include https://mstdn.jp/* | |
| // @include http://*.mstdn.jp/* | |
| // @include https://*.mstdn.jp/* | |
| // @include http://mstdn.maud.io/* | |
| // @include https://mstdn.maud.io/* | |
| // @include http://*.mstdn.maud.io/* | |
| // @include https://*.mstdn.maud.io/* | |
| // @include http://kirakiratter.com/* | |
| // @include https://kirakiratter.com/* | |
| // @include http://*.kirakiratter.com/* | |
| // @include https://*.kirakiratter.com/* | |
| // @include http://pawoo.net/* | |
| // @include https://pawoo.net/* | |
| // @include http://*.pawoo.net/* | |
| // @include https://*.pawoo.net/* | |
| // @include http://mstdn.club/* | |
| // @include https://mstdn.club/* | |
| // @include http://*.mstdn.club/* | |
| // @include https://*.mstdn.club/* | |
| // @include http://mastodon.cloud/* | |
| // @include https://mastodon.cloud/* | |
| // @include http://*.mastodon.cloud/* | |
| // @include https://*.mastodon.cloud/* | |
| // @run-at document-start | |
| // @version 0.20170415000039 | |
| // ==/UserScript== | |
| (function() {var css = ""; | |
| if (false || (document.domain == "mstdn.jp" || document.domain.substring(document.domain.indexOf(".mstdn.jp") + 1) == "mstdn.jp") || (document.domain == "mastodon.cloud" || document.domain.substring(document.domain.indexOf(".mastodon.cloud") + 1) == "mastodon.cloud") || (document.domain == "mstdn.maud.io" || document.domain.substring(document.domain.indexOf(".mstdn.maud.io") + 1) == "mstdn.maud.io") || (document.domain == "kirakiratter.com" || document.domain.substring(document.domain.indexOf(".kirakiratter.com") + 1) == "kirakiratter.com") || (document.domain == "pawoo.net" || document.domain.substring(document.domain.indexOf(".pawoo.net") + 1) == "pawoo.net") || (document.domain == "mstdn.club" || document.domain.substring(document.domain.indexOf(".mstdn.club") + 1) == "mstdn.club") || (document.domain == "mastodon.network" || document.domain.substring(document.domain.indexOf(".mastodon.network") + 1) == "mastodon.network") || (document.domain == "mastodon.xyz" || document.domain.substring(document.domain.indexOf(".mastodon.xyz") + 1) == "mastodon.xyz") || (document.domain == "niu.moe" || document.domain.substring(document.domain.indexOf(".niu.moe") + 1) == "niu.moe")) | |
| css += [ | |
| ".ui {", | |
| " background-color: #444B5D;", | |
| "}", | |
| ".scrollable *:not(.fa) {", | |
| " background-color: #F5F5FF;", | |
| " color: #222222;", | |
| "}", | |
| ".account__header div *,", | |
| ".account__header span,", | |
| ".account__header__content,", | |
| ".account__header .fa {", | |
| " background: rgba(0, 0, 0, 0) !important;", | |
| "}", | |
| ".account__header>div {", | |
| " background: rgba(245, 245, 255, 0.7)!important;", | |
| "}", | |
| "a.mention.hashtag,", | |
| "a.mention.hashtag>span,", | |
| "span.ellipsis {", | |
| " color: #2b90d9 !important;", | |
| "}", | |
| "@media (min-width:1030px) {}", | |
| "@media (max-width:1020px) {}" | |
| ].join("\n"); | |
| if (false || (document.domain == "mstdn.jp" || document.domain.substring(document.domain.indexOf(".mstdn.jp") + 1) == "mstdn.jp") || (document.domain == "mstdn.maud.io" || document.domain.substring(document.domain.indexOf(".mstdn.maud.io") + 1) == "mstdn.maud.io") || (document.domain == "kirakiratter.com" || document.domain.substring(document.domain.indexOf(".kirakiratter.com") + 1) == "kirakiratter.com") || (document.domain == "pawoo.net" || document.domain.substring(document.domain.indexOf(".pawoo.net") + 1) == "pawoo.net") || (document.domain == "mstdn.club" || document.domain.substring(document.domain.indexOf(".mstdn.club") + 1) == "mstdn.club") || (document.domain == "mastodon.network" || document.domain.substring(document.domain.indexOf(".mastodon.network") + 1) == "mastodon.network") || (document.domain == "mastodon.xyz" || document.domain.substring(document.domain.indexOf(".mastodon.xyz") + 1) == "mastodon.xyz") || (document.domain == "niu.moe" || document.domain.substring(document.domain.indexOf(".niu.moe") + 1) == "niu.moe")) | |
| css += [ | |
| "@media (min-width:1030px) {", | |
| " .drawer, .column {", | |
| " width: 25%;", | |
| " flex: 0 0 auto;", | |
| " }", | |
| "}" | |
| ].join("\n"); | |
| if (false || (document.domain == "mastodon.cloud" || document.domain.substring(document.domain.indexOf(".mastodon.cloud") + 1) == "mastodon.cloud")) | |
| css += [ | |
| "@media (min-width:1030px) {", | |
| " .drawer, .column {", | |
| " width: 25%;", | |
| " flex: 0 0 auto;", | |
| " }", | |
| "}" | |
| ].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); | |
| } | |
| } | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment