Crille / DarkFail Link modifier

// ==UserScript==
// @name        DarkFail Link modifier
// @description Makes links clickable on DarkFail's link list
// @author      Crille
// @copyright   2019, Crille (https://openuserjs.org/users/Crille)
// @include     http://darkfailllnkf4vf.onion/*
// @include     https://dark.fail/*
// @version     1
// @license     MIT
// @grant       none
// @run-at      document-idle
// ==/UserScript==

document.querySelectorAll('code').forEach(code => {
	let url = code.innerHTML.trim()
	code.innerHTML = `<a href="${url}" title="Open link in new tab" target="_blank">${url}</a>`
})