Erster Stand

This commit is contained in:
x
2025-09-18 11:13:45 +02:00
parent 74dc2fd62f
commit 835df023da
407 changed files with 97 additions and 10751 deletions

View File

@@ -121,7 +121,7 @@ if(videoElem !== null) {
if($.browser.mobile) {
let src_split = document.querySelector("video > source:first-child").src.split("/");
src_split = src_split[src_split.length - 1];
videoElem.setAttribute("poster", "//w0bm.com/thumbs/" + src_split.replace(".webm", ".gif"));
videoElem.setAttribute("poster", "/thumbs/" + src_split.replace(".webm", ".gif"));
}
var player = videojs(videoElem, {
controls: true,
@@ -1430,9 +1430,9 @@ if(infoboxContent)
//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>");
if( /Android|webOS|iPhone|iPad|Mac|Macintosh|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
window.location.href = "https://w0bm.com/api/user/layout?layout=5";
}
// if( /Android|webOS|iPhone|iPad|Mac|Macintosh|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
// window.location.href = "/api/user/layout?layout=5";
// }
/* $('#collapseEmojis').on('click', function (event) {
let panelCollapse = $(this).closest('.panel').find('.collapseEmojis');