Webbläsartillägg för Firefox
  • Tillägg
  • Teman
    • för Firefox
    • Ordlistor & språkpaket
    • Andra webbläsarplatser
    • Tillägg för Android
Logga in
Förhandsvisning av Safe CORS

Safe CORS av Cemal Koc

Per-tab CORS bypass controlled from your page scripts. No toolbar button, no popup — just dispatch a CustomEvent from your code to enable or disable CORS for the current tab. Session-only, nothing is persisted.

Tillgänglig på Firefox för Android™Tillgänglig på Firefox för Android™
0 (0 recensioner)0 (0 recensioner)
13 användare13 användare
Hämta Firefox och få tillägget
Hämta fil
Scan the QR code to open this extension in Firefox for Android

Metadata för tillägg

Om detta tillägg
Safe CORS lets developers bypass CORS restrictions on a per-tab basis, controlled entirely from page scripts.
Unlike traditional CORS extensions that use a toolbar toggle to disable CORS globally, Safe CORS is activated programmatically from your own code — making it ideal for local development and testing.
HOW TO USE
Open your browser console (F12) and run:
// Enable CORS bypass for this tab
document.dispatchEvent(new CustomEvent('CORS_DISABLE_TOGGLE', { detail: { enabled: true } }))
// Disable CORS bypass for this tab
document.dispatchEvent(new CustomEvent('CORS_DISABLE_TOGGLE', { detail: { enabled: false } }))
Or add a helper to your development page:
function setCors(enabled) {
document.dispatchEvent(new CustomEvent('CORS_DISABLE_TOGGLE', { detail: { enabled } }))
}
if (location.hostname === 'localhost') {
setCors(true)
}
WHY "SAFE"?
• Per-tab only — other tabs are unaffected
• Session-only — close the tab or restart the browser and it's gone
• Page-initiated — no accidental global CORS bypass
• No data collection — the extension collects nothing
Betyg 0 av 0 recensenter
Logga in för att betygsätta detta tillägg
Det finns inga betyg än

Stjärnklassificering sparad

5
0
4
0
3
0
2
0
1
0
Inga recensioner ännu
Behörigheter och data

Nödvändiga behörigheter:

  • Åtkomst till webbläsarens flikar
  • Åtkomst till dina data för alla webbplatser

Datainsamling:

  • Utvecklaren säger att detta tillägg inte kräver datainsamling.
Läs mer
Mer information
Länkar för tillägg
  • E-post för support
  • Kopiera tilläggs-ID
Version
1.0.0
Storlek
28,18 kB
Senast uppdaterad
för 4 månader sedan (14 mar 2026)
Relaterade kategorier
  • Webbutveckling
Licens
MIT-licens
Versionshistorik
  • Se alla versioner
Lägg till i samling
Rapportera detta tillägg
Gå till Mozillas hemsida

Tillägg

  • Om
  • Firefox tilläggsblogg
  • Verkstad för tillägg
  • Utvecklarcenter
  • Utvecklarpolicyer
  • Community-blogg
  • Forum
  • Rapportera en bugg
  • Recensionsriktlinjer

Ladda ner

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

De senaste versionerna

  • Nightly
  • Beta

Firefox för företag

  • Enterprise

Gemenskap

  • Connect
  • Contribute
  • Developer

Följ

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Sekretess
  • Kakor
  • Juridisk information

Om inte annat anges är innehållet på denna webbplats licensierat under Creative Commons Attribution Share-Alike Licens v3.0 eller någon senare version. Android är ett varumärke som tillhör Google LLC.