`; } // Load more articles function loadMoreArticles() { if (isLoading || !hasMore) return; isLoading = true; loadingIndicator.classList.remove('hidden'); const formData = new FormData(); formData.append('action', 'cb_load_more_category'); formData.append('category_slug', categorySlug); formData.append('offset', currentOffset); fetch('https://cryptobriefing.com/wp-admin/admin-ajax.php', { method: 'POST', body: formData }) .then(response => response.json()) .then(data => { loadingIndicator.classList.add('hidden'); isLoading = false; if (data.success && data.articles && data.articles.length > 0) { data.articles.forEach((article, index) => { const isLast = index === data.articles.length - 1 && !data.has_more; const articleHTML = createArticleHTML(article, isLast); timelineContainer.insertAdjacentHTML('beforeend', articleHTML); }); currentOffset = data.offset; hasMore = data.has_more; if (!hasMore) { endMessage.classList.remove('hidden'); } } else { hasMore = false; endMessage.classList.remove('hidden'); } }) .catch(error => { console.error('Error loading articles:', error); loadingIndicator.classList.add('hidden'); isLoading = false; }); } // Use scroll-based infinite scroll for better reliability function checkScroll() { if (isLoading || !hasMore) return; // Get the position of the timeline container bottom const timelineRect = timelineContainer.getBoundingClientRect(); const windowHeight = window.innerHeight; // Trigger when the bottom of the timeline is within 300px of the viewport bottom if (timelineRect.bottom

Web3

Latest

Tether invests in LayerZero Labs to power real-world stablecoin use cases

Tether invests in LayerZero Labs to power real-world stablecoin use cases

LayerZero rumored to launch its own Zero blockchain, token plunges 15%

LayerZero rumored to launch its own Zero blockchain, token plunges 15%

MegaETH mainnet debuts with Rabbithole portal for apps, swaps, and ecosystem navigation

MegaETH mainnet debuts with Rabbithole portal for apps, swaps, and ecosystem navigation

Farcaster founder joins Stripe-backed Tempo stablecoin project

Farcaster founder joins Stripe-backed Tempo stablecoin project

Russia’s largest lender Sberbank to debut crypto-backed loans following pilot

Russia’s largest lender Sberbank to debut crypto-backed loans following pilot

Circle partners with Polymarket to enhance prediction market settlement

Circle partners with Polymarket to enhance prediction market settlement

Cronos teams up with Fireblocks to build secure global trading infrastructure

Cronos teams up with Fireblocks to build secure global trading infrastructure

Fold launches unified app to integrate Bitcoin rewards with daily spending

Fold launches unified app to integrate Bitcoin rewards with daily spending

Goldman-backed TRM Labs closes $70 million series C at $1 billion valuation

Goldman-backed TRM Labs closes $70 million series C at $1 billion valuation

Sony’s VC arm invests $13 million more in web3 infrastructure firm Startale

Sony’s VC arm invests $13 million more in web3 infrastructure firm Startale