1 Song, most popular: Sampai Nanti, latest addition: Sampai Nanti
Didn't find a chords from Slowly Project you were looking for? Be the first to add it to the site.

Publish tabs

News not available
About
No info available
Website
Website not available
Not signed in yet? Click here to sign in



Master. Play. Share.

Share the tabs you’ve mastered and inspire others to follow your lead!

Publish Tab Now

Master. Play. Share.

Share the tabs you’ve mastered and inspire others to follow your lead!

Publish Tab Now
All Artists:
All Artists: # A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
shareButtonIds.forEach(id => { const btn = document.getElementById(id); if (!btn) return; // Get chord ID from data attribute const chordId = Number(btn.dataset.chordId || 0); const versionId = Number(btn.dataset.versionId || 0); btn.addEventListener('click', async () => { console.log("Share button clicked, chordId=", chordId); // 👈 add here const shareData = { title: pageTitle, text: pageTitle, url: pageUrl }; // Optional image support if (navigator.canShare && navigator.canShare({ files: [] }) && pageImage) { try { const response = await fetch(pageImage); const blob = await response.blob(); const file = new File([blob], 'image.jpg', { type: blob.type }); if (navigator.canShare({ files: [file] })) { shareData.files = [file]; } } catch (err) { console.warn('Image fetch failed for sharing:', err); } } /* if (navigator.canShare && pageImage) { try { const response = await fetch(pageImage, { mode: 'cors' }); const blob = await response.blob(); const file = new File([blob], 'image.jpg', { type: 'image/jpeg' }); if (navigator.canShare({ files: [file] })) { shareData.files = [file]; } } catch (err) { console.warn('Image fetch failed for sharing:', err); } } */ if (navigator.share) { try { await navigator.share(shareData); if (chordId) { console.log("Calling shareChord with chordId=", chordId); shareChord(chordId, versionId); } } catch (err) { console.warn("Share canceled or failed:", err); } } else { if (chordId && navigator.clipboard && navigator.clipboard.writeText) { try { await navigator.clipboard.writeText(pageUrl); shareChord(chordId, versionId); return; } catch (err) { console.warn('Unable to copy share link:', err); } } if (shareFallback) { shareFallback.style.display = 'flex'; btn.style.display = 'none'; } } }); }); // Function to record share in backend function shareChord(chordId, versionId) { fetch(`/index/share/${chordId}`, { method: "POST", credentials: "include", body: new URLSearchParams({version_id: String(versionId)}) }) .then(res => res.json()) .then(data => { if (data.success) { alert(data.message); } }) .catch(err => console.error("Error recording share:", err)); } });