server ver
This commit is contained in:
8
public/css/w0bmcustom.css
vendored
8
public/css/w0bmcustom.css
vendored
@@ -4186,4 +4186,10 @@ pre {
|
||||
vertical-align: sub;
|
||||
color: gray;
|
||||
font-family: vcr;
|
||||
}
|
||||
}
|
||||
|
||||
.copyright {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
opacity: 0.2;
|
||||
}
|
@@ -1422,9 +1422,11 @@ function draw( video, thecanvas, img ){
|
||||
// Vielen Dank an Flummi!
|
||||
// This code snippet makes full and valid urls clickable in the info box!
|
||||
|
||||
const infoboxContent = document.querySelector("button#infobox");
|
||||
if(infoboxContent)
|
||||
infoboxContent.dataset.content = infoboxContent.dataset.content.replace(/(https?:\/\/[^\s]+)/g, "<a href='$1' target='_blank' rel='extern'>$1</a>");
|
||||
//const infoboxContent = document.querySelector("button#infobox");
|
||||
//if(infoboxContent)
|
||||
// infoboxContent.dataset.content = infoboxContent.dataset.content.replace(/(https?:\/\/[^\s]+)/g, "<a href='$1' target='_blank' rel='extern'>$1</a>");
|
||||
// uncommenting this because of problematic replacement and possible abuse
|
||||
|
||||
|
||||
//This was supposed to work for urls that are not in a correct url-sheme such as z0r.de/1337 but ehm itz out of biz cuz uhm xD https://f0ck.it/uploads/%5B2019%5D_firefox_YapokIcyShoveler.png
|
||||
//infoboxContent.dataset.content = infoboxContent.dataset.content.replace(/((https?:\/\/)?[\w-]+(\.[\w-]+)+\.?(:\d+)?(\/\S*)?)?/gi, "<a href='$1'>$1</a>");
|
||||
|
9
public/njum/css/cstms.css
vendored
9
public/njum/css/cstms.css
vendored
@@ -1980,4 +1980,11 @@ ol, ul, dl {
|
||||
|
||||
p.comment {
|
||||
word-wrap: break-word;
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-menu.LinksGrid.show {
|
||||
display: grid;
|
||||
grid-template-rows: auto;
|
||||
grid-template-columns: min-content;
|
||||
min-width: auto;
|
||||
}
|
Reference in New Issue
Block a user