WeSearch

190 Countries, Zero API Calls: Shipping Static Data in a Chrome Extension

·3 min read · 0 reactions · 0 comments · 15 views
#chrome#javascript#webdev#data#travel
190 Countries, Zero API Calls: Shipping Static Data in a Chrome Extension
⚡ TL;DR · AI summary

A new Chrome extension called EntryCheck provides visa requirements for over 190 countries without relying on external APIs. It uses a static dataset bundled within the extension, allowing for instant lookups and eliminating potential network issues. This approach prioritizes speed and simplicity, making it ideal for travelers checking visa information quickly.

Key facts
Original article
DEV.to (Top)
Read full at DEV.to (Top) →
Opening excerpt (first ~120 words) tap to expand

try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3680827) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } SHOTA Posted on May 23 190 Countries, Zero API Calls: Shipping Static Data in a Chrome Extension #chrome #javascript #webdev #data Most Chrome extensions that need data fall into one of two patterns: they call an external API, or they store a small amount of user-specific data locally. EntryCheck does neither.

Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from DEV.to (Top)