chrome.sessions.restore() by a message

chrome.sessions.restore() by a message

This executes chrome.sessions.restore() at receiving a {command:"restore"} message.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "name": "chrome.sessions.restore() by a message",
  "version": "0.0.1",
  "description": "This executes chrome.sessions.restore() at receiving a {command:\"restore\"} message.",
  "icons": {
    "192": "images/icon192.png"
  },
  "background": {
    "service_worker": "js/background.js"
  },
  "permissions": [
    "sessions"
  ]
}