sveltejs / svelte-devtools

A browser extension to inspect Svelte application by extending your browser devtools capabilities
https://chromewebstore.google.com/detail/svelte-devtools/kfidecgcdjjfpeckbblhmfkhmlgecoff
MIT License
1.42k stars 78 forks source link

Extension was taken down from Chrome Web Store and I know how to reinstate it #126

Closed bershanskiy closed 10 months ago

bershanskiy commented 1 year ago

Describe the bug The official extension listing on Chrome Web Store is not available.

To Reproduce Steps to reproduce the behavior:

  1. Go to project README.md
  2. Click on "Chrome addon page" in the document
  3. Observe "404. That’s an error."

Expected behavior Extension page is visible and extension can be installed.

Environment

Additional context I can prepare a series of PRs which will be small and trivial to review, but will address all remaining issues with MV3 compatibility allowing extension to be published again. I tried to merge a few of these changes back in 2021, but by then extension development was winding down and

Specifically:

  1. Get rid of chrome.tabs.executeScript({code: ....}) since code is a known XSS sink and causes issues during review (used here). This is the likely reason for the take-down, but store listing owner would need to look into the store console to make sure.
  2. Get rid of installation warning about "changing all the content" on every page (remove tabs and <all_urls> permissions, that is make extension entirely "permission-less").
  3. (optional) Get rid of global background state which requires background persistence for the entire duration of debugging session.

After extension reinstatement/publication under a different extension id, I can also add support for debugging sub-frames (something not really supported now).

Maltaesh commented 11 months ago

@Rich-Harris can You help with some info, about this?