developer.chrome.com icon indicating copy to clipboard operation
developer.chrome.com copied to clipboard

Documentation: Chrome extensions tutorial missing downloads

Open conan opened this issue 5 years ago • 8 comments

Describe the bug Downloads that support the tutorial are missing, for example

the popup.html file is linked to this URL which does not exist: https://developer.chrome.com/docs/extensions/mv3/getstarted/examples/tutorials/get_started/popup.html

the images folder containing icons is linked to this URL which does not exist: https://developer.chrome.com/docs/extensions/mv3/getstarted/examples/tutorials/get_started/images.zip

To Reproduce Steps to reproduce the behavior:

  1. Go to https://developer.chrome.com/docs/extensions/mv3/getstarted/
  2. Click on 'Download the images folder here' link - the "here" is the link
  3. See 404 error

Expected behavior Files should be available for download

Screenshots

image

image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Chrome
  • Version 87.0.4280.88 (Official Build) (64-bit)

Additional context Looks like this is related to the move to manifest v3 for extensions - the example code no longer works as the manifest version has been increased but the manifest entries have not been updated to stay compatible (e.g. "scripts" being replaced with "service_worker")

conan avatar Dec 27 '20 13:12 conan

i'im getting the same error

leesw1347 avatar Dec 27 '20 16:12 leesw1347

https://github.com/GoogleChrome/chrome-extensions-samples/tree/master/tutorials/get_started

drwho85 avatar Dec 28 '20 02:12 drwho85

https://github.com/GoogleChrome/chrome-extensions-samples/tree/master/tutorials/get_started

so nice

leesw1347 avatar Dec 28 '20 08:12 leesw1347

https://github.com/GoogleChrome/chrome-extensions-samples/tree/master/tutorials/get_started

Actually it's the old MV2...

Are the MV3 out? Are they not? They deployed an half-done release... pretty odd!

riccardomessineo avatar Dec 28 '20 10:12 riccardomessineo

I assume they're just not done transitioning over to v3. You can replace the "mv3" in the url's to "mv2" and get the old stuff. That should work for a while. https://developer.chrome.com/docs/extensions/mv2/getstarted/.

drwho85 avatar Dec 28 '20 13:12 drwho85

I'm new to extension development, and the current tutorial (being split between V2 and V3 with many of the links broken) is nearly unusable. Hopefully once the transition is complete, there will be a regression over the tutorial as a whole.

lukewis avatar Dec 28 '20 23:12 lukewis

In addition to missing downloads some scripts in the documentation contain errors, both about basic programming as well as version of manifest.

this is an axample: https://developer.chrome.com/docs/extensions/mv3/getstarted/#logic

in the samples repository there is the correct code: https://github.com/GoogleChrome/chrome-extensions-samples/blob/master/tutorials/get_started_complete/popup.js

marco-meini avatar Dec 30 '20 09:12 marco-meini

Closing this issue as I believe this was fixed in PR #317 and further refined in subsequent changes. If you encounter any issues with the MV3 getting started guide please file a new issue.

dotproto avatar Mar 15 '21 21:03 dotproto