Nir Tzezana
Nir Tzezana

Reputation: 2342

Chrome extension won't work on HTTPS urls

The chrome extension I developed works on every domain besides HTTPS ones.
I've tried setting matches like this: "matches": ["http://*/*","https://*/*"].
But it still doesn't work.

This is my manifest.json:

{
    "manifest_version": 2,
    "name": "My App",
    "version": "0.01",
    "background": {
        "persistent":true,
        "page":"background.html"
    },
    "content_scripts": [{
        "matches": ["http://*/*","https://*/*"],
        "js": ["app.js"],
        "js": ["jquery.min.js"]
        }
    ],
    "permissions": [
        "tabs",
        "http://*/*"
    ]
}

Upvotes: 0

Views: 69

Answers (1)

Nir Tzezana
Nir Tzezana

Reputation: 2342

Well, this is awkward.
Just had to change permissions from:

"permissions": [
    "tabs",
    "http://*/*"
]  

To:

"permissions": [
    "tabs",
    "http://*/*",
    "https://*/*"
]

Upvotes: 1

Related Questions