Skip to content
  • 0 Votes
    1 Posts
    4 Views
    bucketchallengeB
    Following the whole discussion about the #Washington #post I would like to bring up the #s3 bucket https://wp-stat.s3.amazonaws.com/ The folder pagestore contains #PDF files from 2015 until today with their #newspaper. run "aws s3 sync --no-sign-request s3://wp-stat/pagestore/ ." to download your personal #backup!I wanted to point out the irony of beeing #owned by #AWS and beeing #pwned the same time!
  • 0 Votes
    8 Posts
    81 Views
    BørgeF
    @Luuni Thanks, I did try. (It's c+s+v in Linux too) But no, that doesn't work, which I think makes sense, actually.
  • 🆕 blog!

    World llm pdf python
    12
    0 Votes
    12 Posts
    125 Views
    Terence EdenE
    @recantha it was a pre-print review copy. Totally legit for them to watermark it - but made it unreadable.
  • Pdf Files

    Unsolved Technical Support pdf
    1
    0 Votes
    1 Posts
    2k Views
    Kadir Ay 0K
    We have written the following JavaScript code to allow students to preview PDF files uploaded to our forum. Our goal is to enable them to view lecture notes directly on the forum while preventing them from downloading the files. However, since the PDFs are embedded within an iframe, we haven't been able to completely block the "Save As" option. Even though previewing works fine, students can still download the PDF files, especially on mobile devices where the "Save to Files" option appears. We need a solution that ensures PDFs can be previewed but not downloaded on both desktop and mobile devices. How can we achieve this? $(document).ready(function () { function processPDFs() { console.log("PDF önizleme işleniyor..."); $('a[href$=".pdf"]').each(function () { let link = $(this).attr('href'); if (!$(this).next('.pdf-container').length) { if (isMobileDevice()) { // 📱 **Mobil cihazlarda sadece PDF linkini göster, önizleme yok** $(this).show(); } else { // 💻 **Masaüstünde PDF'yi önizle** $(this).hide(); // PDF linkini gizle let container = $('<div class="pdf-container" style="width:100%; max-width:900px; height:700px; position: relative; margin-top:10px; border: 1px solid #ccc; overflow: hidden;"></div>'); let pdfObject = $('<object style="width:100%; height:100%;" type="application/pdf" sandbox="allow-scripts allow-same-origin" oncontextmenu="return false;"></object>'); let fullscreenBtn = $('<button class="fullscreen-toggle" style="position:absolute; top:10px; right:10px; background:#000; color:#fff; border:none; padding:5px 10px; cursor:pointer; z-index:10;">🔍 Tam Ekran</button>'); pdfObject.attr('data', link + "#toolbar=0"); fullscreenBtn.on('click', function () { toggleFullscreen(container[0]); }); container.append(pdfObject).append(fullscreenBtn); $(this).after(container); } } }); $('.file a').each(function () { let fileLink = $(this).attr('href'); if (fileLink.endsWith('.pdf') && !$(this).next('.pdf-container').length) { if (isMobileDevice()) { // 📱 **Mobilde sadece PDF linki göster** $(this).show(); } else { // 💻 **Masaüstünde PDF'yi önizle** $(this).hide(); let container = $('<div class="pdf-container" style="width:100%; max-width:900px; height:700px; position: relative; margin-top:10px; border: 1px solid #ccc; overflow: hidden;"></div>'); let pdfObject = $('<object style="width:100%; height:100%;" type="application/pdf" sandbox="allow-scripts allow-same-origin" oncontextmenu="return false;"></object>'); let fullscreenBtn = $('<button class="fullscreen-toggle" style="position:absolute; top:10px; right:10px; background:#000; color:#fff; border:none; padding:5px 10px; cursor:pointer; z-index:10;">🔍 Tam Ekran</button>'); pdfObject.attr('data', fileLink + "#toolbar=0"); fullscreenBtn.on('click', function () { toggleFullscreen(container[0]); }); container.append(pdfObject).append(fullscreenBtn); $(this).after(container); } } }); } // 📌 **Mobil Cihaz Algılama** function isMobileDevice() { return /Mobi|Android|iPhone|iPad|iPod/i.test(navigator.userAgent); } // 📌 Tam Ekran Aç/Kapat Fonksiyonu function toggleFullscreen(element) { if (!document.fullscreenElement && !document.mozFullScreenElement && !document.webkitFullscreenElement && !document.msFullscreenElement) { if (element.requestFullscreen) { element.requestFullscreen(); } else if (element.mozRequestFullScreen) { element.mozRequestFullScreen(); } else if (element.webkitRequestFullscreen) { element.webkitRequestFullscreen(); } else if (element.msRequestFullscreen) { element.msRequestFullscreen(); } } else { if (document.exitFullscreen) { document.exitFullscreen(); } else if (document.mozCancelFullScreen) { document.mozCancelFullScreen(); } else if (document.webkitExitFullscreen) { document.webkitExitFullscreen(); } else if (document.msExitFullscreen) { document.msExitFullscreen(); } } } // 📌 ESC ile Tam Ekrandan Çıkınca Butonu Güncelle $(document).on("fullscreenchange mozfullscreenchange webkitfullscreenchange msfullscreenchange", function () { $(".fullscreen-toggle").text(document.fullscreenElement ? "↩ Tam Ekrandan Çık" : "🔍 Tam Ekran"); }); // İlk yükleme processPDFs(); // Sayfa değişimlerinde tekrar çalıştır (NodeBB SPA yapısına uygun) $(window).on('action:ajaxify.end', function () { processPDFs(); }); console.log("PDF izleme sistemi güncellendi: Mobilde sadece link gösteriliyor, masaüstünde önizleme aktif."); });
  • 0 Votes
    7 Posts
    4k Views
    T
    Ok thank you very much! I just love that this is possible with nodebb and all the contributers!
  • PDF attachments and Photo adding?

    Technical Support pdf attachments
    4
    1 Votes
    4 Posts
    3k Views
    educatorE
    @jarey The amount of good replies I get in this nodebb is great. Thank you. So, I am going with nodebb. Having a positive energy that people will help us in the long run

Looks like your connection to NodeBB Community was lost, please wait while we try to reconnect.