Offline Notepad View raw

Shared snapshot

    function removeFrame() {
        const phone = document.querySelector('.phone');
        phone.style.display = 'none';
    }

    function exportLinks() {
        const link = document.getElementById('linkInput').value;
        if (link) {
            const element = document.createElement('a');
            element.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(link));
            element.setAttribute('download', 'links.txt');
            element.style.display = 'none';
            document.body.appendChild(element);
            element.click();
            document.body.removeChild(element);
        } else {
            alert('Please enter a link.');
        }
    }

    function scrollLeft() {
        alert("Scrolling left functionality is not implemented.");
    }

    function scrollRight() {
        alert("Scrolling right functionality is not implemented.");
    }
</script>