commit
dc3ad2a59a
@ -0,0 +1,9 @@
|
|||||||
|
/* ==UserStyle==
|
||||||
|
@name ニコニコ動画
|
||||||
|
@description 動画右の広告を隠し
|
||||||
|
@match https://www.nicovideo.jp/*
|
||||||
|
==/UserStyle== */
|
||||||
|
|
||||||
|
.NicoSpotAdContainer {
|
||||||
|
display: none;
|
||||||
|
}
|
@ -0,0 +1,156 @@
|
|||||||
|
/* ==UserStyle==
|
||||||
|
@name Discord
|
||||||
|
@description Makes Discord be pink when in light theme
|
||||||
|
@match https://discord.com/*
|
||||||
|
==/UserStyle== */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Makes Discord be pink when in light theme, dark
|
||||||
|
* theme is mostly completely unaffected except for
|
||||||
|
* hiding the, gift Nitro button, voice channels,
|
||||||
|
* and the channel invite buttons and showing full
|
||||||
|
* user bios, all of which are in the first
|
||||||
|
* three CSS rules.
|
||||||
|
*
|
||||||
|
* Works in Safari and with BeautifulDiscord.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Hide voice channels, channel invites, and the thing when hovering a message */
|
||||||
|
a[aria-label~="(ボイスチャンネル)"] {
|
||||||
|
visibility: hidden!important;
|
||||||
|
}
|
||||||
|
[aria-label=ギフトを贈る], [aria-label=招待を作成] {
|
||||||
|
display: none!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Show full bios */
|
||||||
|
.clamped-IwJfxR {
|
||||||
|
display: block!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* All of the variable colors as of making this, not all are changed */
|
||||||
|
.theme-light {
|
||||||
|
--header-primary: #1a1515!important;
|
||||||
|
--header-secondary: #604f4f!important;
|
||||||
|
--text-normal: #493535!important;
|
||||||
|
--text-muted: #836969!important;
|
||||||
|
--text-link: #a82562!important;
|
||||||
|
--channels-default: #241919!important;
|
||||||
|
--interactive-normal: #604f4f!important;
|
||||||
|
--interactive-hover: #382e2e!important;
|
||||||
|
--interactive-active: #070606!important;
|
||||||
|
--interactive-muted: #dbb7b7!important;
|
||||||
|
--background-primary: #fff5f5!important;
|
||||||
|
--background-secondary: #ffeeee!important;
|
||||||
|
--background-secondary-alt: #f7dcdc!important;
|
||||||
|
--background-tertiary: #ffe2e2!important;
|
||||||
|
--background-accent: #b2d9ea!important;
|
||||||
|
--background-floating: rgb(255, 231, 231)!important;
|
||||||
|
--background-mobile-primary: #f9f8f8!important;
|
||||||
|
--background-mobile-secondary: #fff!important;
|
||||||
|
--background-modifier-hover: #ffdcdc!important;
|
||||||
|
--background-modifier-active: #f1caca!important;
|
||||||
|
--background-modifier-selected: #fad2d2!important;
|
||||||
|
--background-modifier-accent: rgba(7, 6, 6, 0.08)!important;
|
||||||
|
--background-mentioned: rgba(250,166,26,0.1)!important;
|
||||||
|
--background-mentioned-hover: rgba(250,166,26,0.2)!important;
|
||||||
|
--background-message-hover: transparent!important;
|
||||||
|
--background-help-warning: rgba(250,166,26,0.1)!important;
|
||||||
|
--background-help-info: rgba(224, 0, 0, 0.1)!important;
|
||||||
|
--scrollbar-thin-thumb: rgba(92, 79, 79, 0.3)!important;
|
||||||
|
--scrollbar-thin-track: transparent!important;
|
||||||
|
--scrollbar-auto-thumb: rgb(230, 167, 167)!important;
|
||||||
|
--scrollbar-auto-track: #fdd0d0!important;
|
||||||
|
--scrollbar-auto-scrollbar-color-thumb: #e8e3e3!important;
|
||||||
|
--scrollbar-auto-scrollbar-color-track: #f5f2f2!important;
|
||||||
|
--elevation-stroke: 0 0 0 1px rgba(7, 6, 6, 0.08)!important;
|
||||||
|
--elevation-low: 0 1px 0 rgba(7, 6, 6, 0.1),0 1.5px 0 rgba(7, 6, 6, 0.025),0 2px 0 rgba(7, 6, 6, 0.025)!important;
|
||||||
|
--elevation-medium: 0 4px 4px rgba(0,0,0,0.08)!important;
|
||||||
|
--elevation-high: 0 8px 16px rgba(0,0,0,0.16)!important;
|
||||||
|
--logo-primary: #7289da!important;
|
||||||
|
--focus-primary: #00b0f4!important;
|
||||||
|
--radio-group-dot-foreground: #4e5d94!important;
|
||||||
|
--guild-header-text-shadow: 0 1px 1px hsla(0,0%,100%,0.4)!important;
|
||||||
|
--channeltextarea-background: #ffe3e3!important;
|
||||||
|
--activity-card-background: #f0f!important;
|
||||||
|
--textbox-markdown-syntax: #6a7480!important;
|
||||||
|
--deprecated-card-bg: #fddada!important;
|
||||||
|
--deprecated-card-editable-bg: #fddada!important;
|
||||||
|
--deprecated-store-bg: #f0f!important;
|
||||||
|
--deprecated-quickswitcher-input-background: rgb(252, 224, 224)!important;
|
||||||
|
--deprecated-quickswitcher-input-placeholder: rgba(92, 79, 79, 0.3)!important;
|
||||||
|
--deprecated-text-input-bg: rgba(92, 79, 79, 0.02)!important;
|
||||||
|
--deprecated-text-input-border: rgba(92, 79, 79, 0.3)!important;
|
||||||
|
--deprecated-text-input-border-hover: #beb9b9!important;
|
||||||
|
--deprecated-text-input-border-disabled: #dedcdc!important;
|
||||||
|
--deprecated-text-input-prefix: #beb9b9!important;
|
||||||
|
--font-display: inherit;
|
||||||
|
/* --font-japanese: Whitney,Hiragino Sans,"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,Osaka,"MS PGothic","Helvetica Neue",Helvetica,Arial,sans-serif,nintendo_NTLG-DB_001; */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Force the background in a few hardcoded places */
|
||||||
|
.theme-light .uploadModal-2ifh8j,
|
||||||
|
.theme-light .root-1gCeng.small-3iVZYw,
|
||||||
|
.theme-light .container-1D34oG,
|
||||||
|
.theme-light .reactors-Blmlhw {
|
||||||
|
background-color: var(--background-primary)!important;
|
||||||
|
}
|
||||||
|
.theme-light .body-3iLsc4,
|
||||||
|
.theme-light .footer-1fjuF6,
|
||||||
|
.theme-light .footer-3mqk7D,
|
||||||
|
.theme-light .footer-2gL1pp,
|
||||||
|
.theme-light .container-1If-HZ .scroller-1-nKid {
|
||||||
|
background-color: var(--background-secondary)!important;
|
||||||
|
}
|
||||||
|
.theme-light .headerNormal-T_seeN {
|
||||||
|
background-color: var(--background-tertiary)!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Make unread channels bold */
|
||||||
|
.theme-light .modeUnread-1qO3K1 .name-23GUGE {
|
||||||
|
font-weight: 600!important;
|
||||||
|
color: #000!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Make secondary and tertiary columns have a stripey bg */
|
||||||
|
.theme-light .guilds-1SWlCJ .scroller-1Bvpku,
|
||||||
|
.theme-light .scroller-RmtA4e.thin-1ybCId,
|
||||||
|
.theme-light .members-1998pB,
|
||||||
|
.theme-light .members-1998pB .content-3YMskv,
|
||||||
|
.theme-light .macButtons-2MuSAC {
|
||||||
|
background-image: url("https://media.discordapp.net/attachments/614278143527878658/824924138505633812/diagonal_2.png")!important;
|
||||||
|
background-attachment: fixed!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Rename the "ライト" theme to "ピンク" */
|
||||||
|
main.contentColumn-2hrIYH > div > div > div:nth-of-type(2) > div[role=radiogroup] > div.item-26Dhrx[role=radio]:nth-of-type(2) > .radioBar-bMNUI- > .info-3LOr12 > .size16-1P40sf {
|
||||||
|
visibility: hidden!important;
|
||||||
|
}
|
||||||
|
main.contentColumn-2hrIYH > div > div > div:nth-of-type(2) > div[role=radiogroup] > div.item-26Dhrx[role=radio]:nth-of-type(2) > .radioBar-bMNUI- > .info-3LOr12 > .size16-1P40sf::before {
|
||||||
|
visibility: visible!important;
|
||||||
|
content: "ピンク"!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Use 4 space tabs */
|
||||||
|
code.codeView-1JPDeA, span.codeLine-14BKbG {
|
||||||
|
tab-size: 4!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Put || around spoilers */
|
||||||
|
span.spoilerText-3p6IlD::before, span.spoilerText-3p6IlD::after {
|
||||||
|
content: "||";
|
||||||
|
color: #777;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Change timestamps from background to <> */
|
||||||
|
span.timestamp-1Dd_pn {
|
||||||
|
background-color: unset;
|
||||||
|
}
|
||||||
|
span.timestamp-1Dd_pn::before {
|
||||||
|
content: "<";
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
span.timestamp-1Dd_pn::after{
|
||||||
|
content: ">";
|
||||||
|
color: #999;
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
/* ==UserStyle==
|
||||||
|
@name GBAtemp
|
||||||
|
@match https://gbatemp.net/*
|
||||||
|
==/UserStyle== */
|
||||||
|
|
||||||
|
div.pw-tag.pw-in-article, .pw-tag {
|
||||||
|
display: none!important;
|
||||||
|
}
|
@ -0,0 +1,28 @@
|
|||||||
|
// ==UserScript==
|
||||||
|
// @name GBAtemp
|
||||||
|
// @description スクリプトをキル
|
||||||
|
// @match https://gbatemp.net/*
|
||||||
|
// @run-at document-start
|
||||||
|
// @weight 999
|
||||||
|
// ==/UserScript==
|
||||||
|
|
||||||
|
// document.write("hello");
|
||||||
|
|
||||||
|
const observer = new MutationObserver(mutations => {
|
||||||
|
mutations.forEach(({ addedNodes }) => {
|
||||||
|
addedNodes.forEach(node => {
|
||||||
|
if(node.nodeType === 1 && (node.tagName === "SCRIPT" || node.tagName === "IFRAME")) {
|
||||||
|
// if(needsToBeBlacklisted(node.src, node.type)) {
|
||||||
|
node.type = "javascript/blocked";
|
||||||
|
node.remove();
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
})
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
// Starts the monitoring
|
||||||
|
observer.observe(document.documentElement, {
|
||||||
|
childList: true,
|
||||||
|
subtree: true
|
||||||
|
})
|
@ -0,0 +1,24 @@
|
|||||||
|
This is free and unencumbered software released into the public domain.
|
||||||
|
|
||||||
|
Anyone is free to copy, modify, publish, use, compile, sell, or
|
||||||
|
distribute this software, either in source code form or as a compiled
|
||||||
|
binary, for any purpose, commercial or non-commercial, and by any
|
||||||
|
means.
|
||||||
|
|
||||||
|
In jurisdictions that recognize copyright laws, the author or authors
|
||||||
|
of this software dedicate any and all copyright interest in the
|
||||||
|
software to the public domain. We make this dedication for the benefit
|
||||||
|
of the public at large and to the detriment of our heirs and
|
||||||
|
successors. We intend this dedication to be an overt act of
|
||||||
|
relinquishment in perpetuity of all present and future rights to this
|
||||||
|
software under copyright law.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
|
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||||
|
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||||
|
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||||
|
OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
For more information, please refer to <http://unlicense.org/>
|
@ -0,0 +1,7 @@
|
|||||||
|
// ==UserScript==
|
||||||
|
// @name Miniflux - Enclosure
|
||||||
|
// @description エントリーのエンクロージャーを自動開く
|
||||||
|
// @match https://*/*/entry/*
|
||||||
|
// ==/UserScript==
|
||||||
|
for(e of document.getElementsByClassName("entry-enclosures"))
|
||||||
|
e.open = true;
|
@ -0,0 +1,25 @@
|
|||||||
|
// ==UserScript==
|
||||||
|
// @name Miniflux - External links
|
||||||
|
// @description 「全ての外部リンクをコピー」ボタンを追加
|
||||||
|
// @match https://*/unread
|
||||||
|
// @match https://*/feed/*/entries*
|
||||||
|
// ==/UserScript==
|
||||||
|
|
||||||
|
const clip = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-clipboard" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><desc>Download more icon variants from https://tabler-icons.io/i/clipboard</desc><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M9 5h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2h-2"></path><rect x="9" y="3" width="6" height="4" rx="2"></rect></svg>';
|
||||||
|
const check = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-clipboard-check" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><desc>Download more icon variants from https://tabler-icons.io/i/clipboard-check</desc><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M9 5h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2h-2"></path><rect x="9" y="3" width="6" height="4" rx="2"></rect><path d="M9 14l2 2l4 -4"></path></svg>';
|
||||||
|
|
||||||
|
let a = document.createElement("a");
|
||||||
|
a.href = "#";
|
||||||
|
a.innerHTML = clip + "全ての外部リンクをコピー";
|
||||||
|
a.addEventListener("click", () => {
|
||||||
|
let links = Array.from(document.querySelectorAll(".item-meta-icons > li:nth-of-type(3) > a")).map(r => r.href);
|
||||||
|
navigator.clipboard.writeText(links.join("\n"));
|
||||||
|
li.removeChild(a);
|
||||||
|
let em = document.createElement("em");
|
||||||
|
li.appendChild(em);
|
||||||
|
em.innerHTML = check + "コピーしました";
|
||||||
|
});
|
||||||
|
|
||||||
|
let li = document.createElement("li");
|
||||||
|
li.appendChild(a);
|
||||||
|
document.querySelector("section.page-header ul").appendChild(li);
|
@ -0,0 +1,3 @@
|
|||||||
|
# ユーザースクリプト
|
||||||
|
|
||||||
|
様々なユーザースクリプトファイル。これはSafariの[Userscripts](https://github.com/quoid/userscripts)プラグインで使用が、他のブラウザーにもおそらく機能する。
|
@ -0,0 +1,14 @@
|
|||||||
|
/* ==UserStyle==
|
||||||
|
@name Scribble Hub
|
||||||
|
@description カバーを中央する
|
||||||
|
@match https://www.scribblehub.com/*
|
||||||
|
==/UserStyle== */
|
||||||
|
|
||||||
|
.fic_image {
|
||||||
|
height: 230px;
|
||||||
|
display: table-cell;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
.fic_image img {
|
||||||
|
height: auto!important;
|
||||||
|
}
|
@ -0,0 +1,12 @@
|
|||||||
|
/* ==UserStyle==
|
||||||
|
@name melonDS
|
||||||
|
@description ライトモード
|
||||||
|
@match https://melonds.kuribo64.net/*
|
||||||
|
==/UserStyle== */
|
||||||
|
|
||||||
|
table.ptable td.c1.padded,
|
||||||
|
table.ptable td.entrycontents,
|
||||||
|
table.ptable td.commentcontents {
|
||||||
|
background-color: white;
|
||||||
|
color: #222;
|
||||||
|
}
|
Loading…
Reference in new issue