Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add downloads samples #934

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open

Add downloads samples #934

wants to merge 25 commits into from

Conversation

daidr
Copy link
Contributor

@daidr daidr commented May 31, 2023

No description provided.

@daidr daidr marked this pull request as ready for review June 5, 2023 11:17
@daidr
Copy link
Contributor Author

daidr commented Jun 5, 2023

The special thing is that eval was used before download_filename_controller to support writing js to modify the name of the downloaded file, but this cannot be used in MV3.

Copy link
Member

@oliverdunk oliverdunk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a few initial thoughts - thanks for your patience on this one!

Copy link
Contributor

@jpmedley jpmedley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There isn't inherently anything wrong with what you wrote. The issue is that we need consistency for most of the changes I requested. It's no reasonable to expect a guest contributor to know that.

api-samples/downloads/download_links/README.md Outdated Show resolved Hide resolved
api-samples/downloads/downloads_overwrite/README.md Outdated Show resolved Hide resolved
api-samples/downloads/downloads_overwrite/README.md Outdated Show resolved Hide resolved
api-samples/downloads/downloads_overwrite/manifest.json Outdated Show resolved Hide resolved
@jpmedley
Copy link
Contributor

READMEs and Descriptions: LGTM

Copy link
Contributor

@jpmedley jpmedley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I stumbled on a typo when I was looking at where you replaced messages.json text with manifest.json text. I think I made the typo in one of my suggestions. Sorry about that.

@John-hivo
Copy link

Could you add the example for download open. I could not using it currently

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants