marionette.inspector icon indicating copy to clipboard operation
marionette.inspector copied to clipboard

Inspector should handle local file URLs

Open ianmstew opened this issue 9 years ago • 4 comments

Currently, the Inspector will not start given a local file URL. Ember Inspector does work locally; so should the Inspector.

ianmstew avatar Dec 06 '14 16:12 ianmstew

Just going to say it, I have no idea how to do this :)

jasonLaster avatar Jan 02 '15 20:01 jasonLaster

Could be the content script that doesn't load in that specific url, although file:// is whitelisted, you can set the allowed urls in the content_scripts "matches" property in the manifest.json file:

https://github.com/marionettejs/marionette.inspector/blob/master/extension/manifest.json#L24

If you want the ultimate "run it everywhere" solution, use

  "content_scripts": [
    {
      "matches": ["<all_urls>"],
      "match_about_blank": true,
      "all_frames": true
     /* ... */
    }

Maluen avatar Jan 02 '15 21:01 Maluen

In the meantime, I suggest documenting this limitation in the README. I just wasted some time trying to get Inspector to work before finding this issue.

marfire avatar Aug 17 '15 09:08 marfire

@marfire try out Manuels fix

jasonLaster avatar Aug 18 '15 00:08 jasonLaster