Safe CORS par 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.
Disponible sur Firefox pour AndroidâąDisponible sur Firefox pour Androidâą
MĂ©tadonnĂ©es de lâextension
Ă propos de cette extension
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
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
Noté 0 par 1 personne
Autorisations et données
Autorisations nécessaires :
- Accéder aux onglets du navigateur
- Accéder à vos données pour tous les sites web
Collecte de données :
- Le dĂ©veloppeur indique que cette extension nâa pas besoin de collecter de donnĂ©es.
Plus dâinformations
- Liens du module
- Version
- 1.0.0
- Taille
- 28,18Â Ko
- DerniĂšre mise Ă jour
- il y a 9 jours (14 mars 2026)
- Catégories associées
- Licence
- Licence MIT
- Historique des versions
- Ajouter Ă la collection