Matsuuu / web-component-devtools

Web Component DevTools is a Browser Extension enhancing the development experience of Web Component developers
https://matsuuu.github.io/web-component-devtools/
MIT License
127 stars 3 forks source link

[BUG]: About the file:/// protocol #70

Open ssnangua opened 6 months ago

ssnangua commented 6 months ago

Is this extension valid for the file:/// protocol? I opened a .html page directly (without the local server), but the extension doesn't detect anything. Thanks.

Matsuuu commented 6 months ago

Heya,

Actually.. I'm not sure. I've not tried out that use case and therefore can't really say for sure.

If a web extension is able to access file:// urls, it should be okay, but I have a lurking feeling that it might be disabled due to security issues.

I'll get back to you on this later

ssnangua commented 6 months ago

Thanks for your reply.

Add my use case, I use it in NW.js, with local server it works fine. Snipaste_2024-01-17_11-22-21

But without the local server, it doesn't detect anything. Snipaste_2024-01-17_11-21-55

Same result in browser. Snipaste_2024-01-17_11-36-00

Vue.js devtools also works well in this case, so I'm a little confused. Snipaste_2024-01-17_11-24-09