mirror of
https://github.com/aljazceru/BitcoinAndLightningLayerSpecs.github.io.git
synced 2025-12-17 05:54:22 +01:00
Added Lynx styles, thanks Jay
This commit is contained in:
8
lynx.js
Normal file
8
lynx.js
Normal 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)
|
||||
})
|
||||
Reference in New Issue
Block a user