Last active
July 15, 2020 04:44
-
-
Save coke12103/90cd04aeed71835099baf1a03827c0d2 to your computer and use it in GitHub Desktop.
v11 Style(v10-m544)
This file contains 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 v11 Style(v10-m544) | |
// @description v10-m544をv11っぽくするやつ | |
// @namespace coke12103 | |
// @include * | |
// @version 1.0.0 | |
// @match https://mk.iaia.moe/* | |
// @author coke12103 | |
// ==/UserScript== | |
var _css = ".note, .notification{\n box-shadow: none !important;\n border-bottom: solid var(--lineWidth) var(--faceDivider);\n}"; | |
(() => { | |
try{ | |
const blob = new Blob([_css], {type: "text/css"}); | |
const src = URL.createObjectURL(blob); | |
const style = Object.assign(document.createElement('link'),{ | |
id: 'misskey-v11-style', | |
rel: 'stylesheet', | |
href: src | |
}); | |
document.head.append(style); | |
}catch(e){ | |
console.warn('Misskey v11 style load failed!', e); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment