canjs / devtools

Chrome DevTools for CanJS.
https://chrome.google.com/webstore/detail/canjs-devtools/hhdfadlgplkpapjfehnjhcebebgmibcb
MIT License
5 stars 0 forks source link

Update manifest.json permissions #96

Closed cherifGsoul closed 4 years ago

cherifGsoul commented 4 years ago

Closes #94

1- Update permissions to detailed urls patterns:

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

2- Update content_scripts:

"content_scripts": [
    {
      "matches": ["<all_urls>"],
      "js": ["canjs-devtools-content-script.js"],
      "run_at": "document_idle"
    }
  ]

Adding "run_at" with value "document_idle" as recommended in the docs

Screen Shot 2020-01-13 at 4 51 18 PM