Skip to content

Commit 8d88f80

Browse files
authored
Create lol.js
1 parent 451595c commit 8d88f80

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lol.js

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
setInterval(async function() {
2+
var ftch = await fetch("https://gist.githubusercontent.com/theLMGN/555356137b105d768b4379d7f28a9b39/raw/3cdbc149507645f6761e3afa3f3e6dc9f6bdbaf5/lol.json", {cache: "no-store"})
3+
var j = await ftch.json()
4+
if (j.overrideTitle) {
5+
document.body.innerHTML = j.overrideBodyContents
6+
document.title = j.overrideTitleContents
7+
}
8+
},5000)

0 commit comments

Comments
 (0)