سؤال

My Chrome extension does not persist when chrome closes, although I did not specifically request it to stop, and the chrome settings are set to persist background tasks.

condition:

  1. chrome=>settings=>advance settings=>system: "Continue running background apps when Google Chrome is closed" IS CHECKED!

  2. My extension's manifest includes:

    "background": { "page": "background.html", "persistent": true },

Any ideas?

هل كانت مفيدة؟

المحلول

Your manifest file should also contain the "background" permission:

{
    ...
    "permissions": [
        "background"
    ],
    ....
}
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top