server ver

This commit is contained in:
w0bm
2022-06-20 16:45:36 +00:00
parent addc1309c1
commit 0a6492baa2
5 changed files with 28 additions and 9 deletions

View File

@@ -17,6 +17,9 @@ return [
'catbox.moe' => [
'/^files\.catbox\.moe$/'
],
'tenor.com' => [
'/^c\.tenor\.com$/'
],
'pr0gramm.com' => [
'/^img\.pr0gramm\.com$/'
],
@@ -24,7 +27,8 @@ return [
'/^files\.nogf\.club$/',
'/^f0ck\.space$/',
'/^nogf\.club$/',
'/^f0ck\.it$/'
'/^f0ck\.it$/',
'/^tenor\.com$/',
]
],
'allowedImageFileExtensions' => [

View File

@@ -4186,4 +4186,10 @@ pre {
vertical-align: sub;
color: gray;
font-family: vcr;
}
}
.copyright {
position: fixed;
bottom: 0;
opacity: 0.2;
}

View File

@@ -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>");

View File

@@ -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;
}

View File

@@ -175,9 +175,9 @@
<div class="modal-footer">
<a href="/privacy">Privacy</a> | <a href="/contact">Contact</a> | <a href="/irc">IRC</a>
</div>
</div>
<div hidden class="testthumbnailslol">
</div>
<div class="copyright">
The w0bm.com Logo is copyrighted and owned by w0bm.com
</div>
</div>
@endif