<!-- -- Uploaded on : https://haxor.my.id/open/Random_Quran_Verse_-_Morsalin.html -- Official Web : https://prinsh.com -- script-deface-generator.prinsh.com --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Random Quran Verse Generator</title> <link href="https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400&display=swap" rel="stylesheet"> <style> body { font-family: 'Hind Siliguri', sans-serif; background-color: #121212; color: #ffffff; margin: 0; padding: 20px; } .container { max-width: 600px; margin: auto; text-align: center; } .box { background: #1e1e1e; padding: 20px; border-radius: 8px; box-shadow: 0 0 20px rgba(0, 123, 255, 0.5); margin-top: 20px; } h1 { margin-bottom: 20px; } .quote { font-size: 32px; margin: 20px 0; padding: 15px; background-color: #2a2a2a; border-radius: 8px; } .surah-info { font-size: 20px; margin: 10px 0; } audio { margin-top: 10px; } footer { margin-top: 20px; font-size: 14px; color: #ccc; text-align: center; } #footerLink { color: #007bff; cursor: pointer; } #footerLink:hover { text-decoration: underline; } </style> </head> <body> <div class="container"> <h1>Random Quran Verse Generator by Morsalin 🇧🇩</h1> <div class="box"> <div id="quote" class="quote"></div> <div id="surahInfo" class="surah-info"></div> <audio id="audioPlayer" controls style="display: none;"></audio> </div> </div> <footer> <div id="footerText">Made with ❤️ by <span id="footerLink">Md. Morsalin Islam 🇧🇩</span></div> </footer> <script> function fetchQuranVerse() { fetch("https://quran.morsalin-bro.workers.dev/") .then(response => response.json()) .then(data => { document.getElementById('quote').textContent = data.text; document.getElementById('surahInfo').textContent = `${data.surah_englishName} : ${data.ayah_number_in_surah}`; const audioPlayer = document.getElementById('audioPlayer'); audioPlayer.src = data.audio; audioPlayer.style.display = 'block'; audioPlayer.play(); }) .catch(error => { console.error('Error fetching the API:', error); }); } fetchQuranVerse(); document.getElementById('footerLink').addEventListener('click', function() { window.location.href = "https://t.me/MorsalinRobot"; }); </script> </body> </html>