Last active
March 21, 2022 09:18
-
-
Save doraiso/2ebd89c9001edeaaac63f6fb67ed5e44 to your computer and use it in GitHub Desktop.
鬼滅の刃をキルミーベイベーにするTampermonkey
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 kimetsu2kmb | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1.4 | |
// @description 鬼滅の刃をキルミーベイベーにする | |
// @author doraiso | |
// @include http://* | |
// @include https://* | |
// @exclude https://twitter.com/* | |
// @grant none | |
// ==/UserScript== | |
// from https://twitter.com/2outni4/status/1320201611256344576 | |
// kimetsu2kmb.txt https://www.dropbox.com/s/883al7k7krt4j0y/kimetsu2kmb.txt?dl=0 | |
(function() { | |
'use strict'; | |
const KILLME = 'キルミー'; | |
const BABY = 'ベイベー'; | |
const KIMETU = 鬼滅;; | |
const YAIBA = の刃;; | |
const OUTTIME = 1000; | |
setTimeout( | |
document.body.innerHTML=document.body.innerHTML | |
.replace(KIMETU/g, KILLME_BABY) // キルミー | |
.replace(/YAIBA/g, BABY) // ベイベー!! | |
,OUTTIME) | |
;}) | |
(); |
exclude twitter(why can't run on twitter?)
タイトル修正
setTimeoutぶっこんでなんとかしてみた
定数のところなどちょっと直した
ワンライナーにしようかな
とりあえずこれで
アカウント作成に伴い更新
実際に動かしてないのだが分かる範囲でバグ直し
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fix bug