Skip to content

Failed to load URL: chrome-extension://<ID>/index.html with error: ERR_BLOCKED_BY_RESPONSE #162

@josegabrielc

Description

@josegabrielc

I tried a repository to bypass Electron, but it didn't work.

Whether I used the electron-chrome-web-store repository or customSession.loadExtension, I got the same error:

(node:25788) electron: Failed to load URL: chrome-extension://<ID>/index.html with error: ERR_BLOCKED_BY_RESPONSE

Manifest.json (Obtained on %AppData%). I am not the creator of the extension or have access to the source code!

{ "action": { "default_icon": { "128": "logo192.png", "16": "logo192.png", "48": "logo192.png" } }, "background": { "service_worker": "background.js" }, "content_scripts": [ { "all_frames": true, "css": ["styles.css"], "js": ["static/js/content.js"], "matches": ["https://web.whatsapp.com/*"] } ], "description": "Gerencie os pedidos do seu negócio direto dentro do WhatsApp Web e tenha um bot sempre à disposição para responder os clientes.", "icons": { "128": "logo192.png", "16": "logo192.png", "48": "logo192.png" }, "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0Vu1S32wUuYHmNyXROFo+qsyK4MldkUCwqQT0inhQ4DYU0C3Egb7QwIpk2gTGVC+c0W/v8nTLiOfKGJD7V/vjwAooOoheeriexsm91jpmF4UQeM72Wv+YzpWt56jPAHwawkG/YVVITDsEeemQh1G7/et146o2/jO9Jw5y1jRIYDdNTp7eN4PUIgq7bm0JYxcm+PzalB4qbjrjipvbkUGvBXeAnq9ak9HtY0QxfzHJYMigH5P+JHCbRSgBV2KUKRzPp5v8tLumT5oVAtrPugaDyIoo2S8bgGfiU+xXznvRn97HNWHxWZ/iEM4rZ7aC6aBAvqdnb34ORoE5GDy0SMNZwIDAQAB", "manifest_version": 3, "name": "Cardapinho", "permissions": ["storage"], "update_url": "https://clients2.google.com/service/update2/crx", "version": "2.2.39", "web_accessible_resources": [ { "matches": ["https://web.whatsapp.com/*"], "resources": ["index.html", "static/js/helperScript.js", "logo192.png", "alert-audio.mp3"] } ], "host_permissions": ["https://web.whatsapp.com/*"] }

Dev tools warnings is clean, only this error appears in the electron development terminal.

I don't know what else to do; my application relies heavily on this extension. If anyone has experienced this issue and can help me, I would be very grateful. If you don't know how to help, is there any way to debug and better understand what error is happening?

Image

The extension loads, but the inner content does not. This white part in the image is the extension without loading.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions