server ver
This commit is contained in:
@@ -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' => [
|
||||
|
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;
|
||||
}
|
@@ -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
|
||||
|
Reference in New Issue
Block a user