Added Lynx styles, thanks Jay

This commit is contained in:
gr0kchain
2022-06-17 13:57:59 +02:00
parent cc01b3772a
commit faa19930f2
3 changed files with 105 additions and 0 deletions

8
lynx.js Normal file
View File

@@ -0,0 +1,8 @@
addEventListener("load", function(){
Array.prototype.forEach.call(document.querySelectorAll("h1"), function(h1){
h1.innerHTML = "<span>" + h1.innerHTML + "</span>"
})
var title = document.createElement("title")
title.innerHTML = document.title
document.body.insertBefore(title, document.body.firstChild)
})