stamp_からはじまるカスタム絵文字をスタンプ風にでかくする
参考 https://gist.github.com/mimikun/344f653e8a53f2a30a1ac38ffbc533c4 https://ukadon.shillest.net/@ponapalt/105981123289930759
stamp_からはじまるカスタム絵文字をスタンプ風にでかくする
参考 https://gist.github.com/mimikun/344f653e8a53f2a30a1ac38ffbc533c4 https://ukadon.shillest.net/@ponapalt/105981123289930759
// ==UserScript== | |
// @name CSSスタンプ機能 | |
// @version 0.0.1 | |
// @description CSSスタンプ機能 | |
// @author Sue Karasugawa | |
// @match https://fedibird.com/web* | |
// @grant GM_addStyle | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
window.addEventListener("load", function() { | |
Init(); | |
}); | |
function Init(){ | |
var css = ` | |
.detailed-status .status__content p .emojione[alt^=":stamp_"], | |
p .emojione[alt^=":stamp_"], | |
.notification__message .emojione[alt^=":stamp_"] | |
{ | |
width: 120px !important; | |
height: 120px !important; | |
vertical-align: bottom !important; | |
} | |
`; | |
GM_addStyle(css) | |
} | |
})(); |