Oliver Dunk
08e8c96c5f
Add linter fixes for new AI samples ( #1484 )
2025-06-02 13:46:10 +02:00
Sebastian Benz
20d36c7780
Fixes to AI samples ( #1479 )
...
* Migrate to latest summarizer API
* fix temperature to be less creative
2025-05-23 17:29:23 +02:00
Sebastian Benz
a8aec773d8
add audio scribe sample ( #1475 )
...
* add audio scribe sample
* Fix wrong parameter name
* Cleanup and more robust audio scribe
* better manifest descriptions
* demo chat app clean up
2025-05-20 08:37:50 +02:00
Sebastian Benz
a42c4121cc
Add new AI samples and update existing to use new API shape ( #1474 )
...
* Add new AI samples and update existing to use new API shape
* address comments
2025-05-16 20:43:25 +02:00
Zaif Senpai
0a67271feb
Replaced clearbit API (deprecated) ( #1453 ) ( #1456 )
...
* Replaced clearbit API (deprecated) with Google's favicon snatcher
* Updated UI designs for optional_permissions examples of both mv2 and mv3
Using chrome's build in favicon provider for optional_permissions examples
* Run linter
---------
Co-authored-by: Oliver Dunk <oliverdunk@google.com >
2025-05-08 13:59:07 +01:00
Oliver Dunk
5113e3c266
Use Puppeteer LaunchOptions for loading extensions. ( #1466 )
...
This is supported in the latest release: https://github.com/puppeteer/puppeteer/releases/tag/puppeteer-core-v24.8.0
2025-05-07 11:08:10 +01:00
Oliver Dunk
9b88cf7e14
Address feedback on mole game tutorial code. ( #1462 )
2025-04-30 17:14:43 +01:00
Oliver Dunk
aab4aa91fd
Partial fixes for sample list generator ( #1464 )
...
* Partial fixes for sample list generator
A number of fixes for the sample list generator:
- Removes a comment from one of our manifest files, as we don't
currently support JSONC.
- Ignores the `node_modules` folder since we have recently added some AI
samples with a build step.
- Adds the `aiOriginTrial` API to the list of recognised APIs.
- Updates `extension-apis.json` with the latest data from the
`chrome-types` package.
Updating recognised extension APIs still requires access to a
non-existent storage bucket, so this does not fully fix the process.
* Fix linter issue
2025-04-30 17:14:32 +01:00
Thomas Steiner
8fe3174642
Update to new API shape
2025-04-22 06:52:37 -07:00
Thomas Steiner
66672f857a
Update to new API shape
2025-04-22 06:48:54 -07:00
ljjlee
b0f55f9d15
Disambiguate account/local folders sample bookmarks extension ( #1435 )
...
* Disambiguate account/local folders in the UI for sample bookmarks extension
* Code-review markups
* Fix lint issues
2025-04-03 11:05:22 +01:00
Oliver Dunk
6116518873
Add mole game tutorial ( #1433 )
...
LGTN
2025-04-02 18:10:45 +01:00
dependabot[bot]
8f97d22fdc
Bump cross-spawn in /functional-samples/tutorial.terminate-sw/puppeteer ( #1399 )
...
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn ) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md )
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6 )
---
updated-dependencies:
- dependency-name: cross-spawn
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-31 21:14:15 +01:00
dependabot[bot]
f475b140a4
Bump cross-spawn in /functional-samples/tutorial.puppeteer ( #1358 )
...
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn ) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md )
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6 )
---
updated-dependencies:
- dependency-name: cross-spawn
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-31 16:50:41 +00:00
Rishi Kumar Tiwari
40e9576a29
Added README Files For Tutorials ( #1371 )
...
* tutorials redme
* update 404 URLs
* tutorials redme
* readme files
* readme
* readme
* Update functional-samples/tutorial.getting-started/README.md
Co-authored-by: Oliver Dunk <oliver@oliverdunk.com >
* url change not required
* Update functional-samples/tutorial.tabs-manager/README.md
Co-authored-by: Oliver Dunk <oliver@oliverdunk.com >
* Update README.md
* Update functional-samples/tutorial.tabs-manager/README.md
Co-authored-by: Oliver Dunk <oliver@oliverdunk.com >
* Update functional-samples/tutorial.hello-world/README.md
Co-authored-by: Oliver Dunk <oliver@oliverdunk.com >
* Update functional-samples/tutorial.getting-started/README.md
Co-authored-by: Oliver Dunk <oliver@oliverdunk.com >
* Update functional-samples/tutorial.hello-world/README.md
Co-authored-by: Oliver Dunk <oliver@oliverdunk.com >
* Update functional-samples/tutorial.getting-started/README.md
Co-authored-by: Oliver Dunk <oliver@oliverdunk.com >
* Update functional-samples/tutorial.getting-started/README.md
Co-authored-by: Oliver Dunk <oliver@oliverdunk.com >
* Update functional-samples/tutorial.getting-started/README.md
Co-authored-by: Oliver Dunk <oliver@oliverdunk.com >
* foxed typo for tabGroups
* Fixed typo for tabGroups
---------
Co-authored-by: Oliver Dunk <oliver@oliverdunk.com >
2025-01-13 10:15:28 +00:00
Justin Lulejian
5064031481
Remove notification permission from push cookbook sample ( #1365 )
...
* Remove notification permission from push cookbook sample
As of [M132] this requirement is no longer necessary (unless the extension chooses to show a notification).
[M132]: https://chromiumdash.appspot.com/commit/ed68ac786e9a276ef2b627b7e21cf0d20cc6d798
* address review comments
* Add note about minimum Chrome version
---------
Co-authored-by: Oliver Dunk <oliverdunk@google.com >
2024-12-24 21:08:12 +00:00
Justin Lulejian
74bca08177
Run prettier on repository ( #1366 )
2024-12-03 10:50:45 +00:00
Oliver Dunk
74e1edfac3
Rename addSiteAccessRequest to addHostAccessRequest ( #1356 )
2024-11-26 14:29:59 +01:00
Oliver Dunk
6b4db6a6c0
Add permissions.addSiteAccessRequest() sample ( #1322 )
...
* Add permissions.addSiteAccessRequest() demo
Adds an example of using the permissions.addSiteAccessRequest() API to
request access to a checkout page. This matches the example used in our
upcoming blog post.
* Add banner to show that the extension has access.
2024-11-18 13:31:46 +00:00
Muhammad Mahad
4fb578eb1d
Rename privacy,txt to privacy.txt ( #1350 )
2024-11-18 09:47:37 +00:00
Sebastian Benz
ba5b96aba0
inc manifest version ( #1348 )
2024-11-12 15:35:27 +01:00
Sebastian Benz
2f056ff117
Update Geminin nano samples ( #1347 )
...
* Link to latest articles
* Add systemprompt to prompt sample to provide better guidance on simple
prompts such as 'hello'.
* Limit default topK to 3 (the default is currently set too high, this
will change).
* Fix setup instructions in the readmes.
2024-11-12 14:02:43 +01:00
Sebastian Benz
fc7c4b34f1
Summarizer sample: Format markdown output ( #1283 )
...
* Format markdown output
* updates & fixes
* Styles and config
* Some CSS love with open props
* Make summary configurable
* Update functional-samples/ai.gemini-on-device-summarization/sidepanel/index.js
Shorter and worker-compatible
Co-authored-by: Thomas Steiner <tomac@google.com >
* Update functional-samples/ai.gemini-on-device-summarization/manifest.json
Co-authored-by: Thomas Steiner <tomac@google.com >
---------
Co-authored-by: Thomas Steiner <tomac@google.com >
2024-11-09 13:14:30 +01:00
Sebastian Benz
69f946b35e
Improve prompt API sample ( #1344 )
...
* Improve prompt API sample
* Render response as markdown
* Fix initial maxK and temperature values
* Add privacy statement (for webstore submission)
* Regenerate key and trial token
* fix formatting errors
* Update functional-samples/ai.gemini-on-device/sidepanel/index.js
Update maxTemperature
Co-authored-by: Thomas Steiner <tomac@google.com >
* Update functional-samples/ai.gemini-on-device/sidepanel/index.js
Better string comparison
Co-authored-by: Thomas Steiner <tomac@google.com >
---------
Co-authored-by: Thomas Steiner <tomac@google.com >
2024-11-08 15:35:27 +01:00
patrick kettner
d2fd736ac0
Add an example that shows how to polyfill XHR in an extension ( #1343 )
...
* add an example that shows how to polyfill XHR in an extension
* updates from feedback
* update based on third party OSS requirements
* update readme links
2024-11-07 04:30:06 -05:00
Thomas Steiner
b939ca2db9
Change on-device example to use the origin trial API ( #1337 )
...
* Add scaffolding for Prompt API OT example
* Rewrite existing example to use the OT
* Add trial token and key
* Update error message, add `minimum_chrome_version`
* Fix feature detection
* Some README refinements
* Correct instructions
* OT refinement
2024-10-31 15:46:16 +01:00
Gitesh Mahadik
e5598ed5a5
Fix ai.assistant Session Creation Issue in ai.gemini-on-device ( #1330 )
...
* Updated: Session creation
* Updated: Session creation
* Updated: Session Creation
2024-10-23 22:24:32 +02:00
dependabot[bot]
51c16f6b7a
Bump rollup in /functional-samples/ai.gemini-in-the-cloud ( #1320 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 4.19.0 to 4.22.4.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v4.19.0...v4.22.4 )
---
updated-dependencies:
- dependency-name: rollup
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-15 12:26:27 +01:00
dependabot[bot]
f2ab830c64
Bump rollup in /functional-samples/ai.gemini-on-device-summarization ( #1292 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 4.18.1 to 4.22.4.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v4.18.1...v4.22.4 )
---
updated-dependencies:
- dependency-name: rollup
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-15 12:21:57 +01:00
Sebastian Benz
8dcd06dc20
Update web accessible resource samples to use dynamic URLs ( #1317 )
2024-10-08 15:47:52 +02:00
dependabot[bot]
edf97795a6
Bump micromatch in /functional-samples/tutorial.terminate-sw/puppeteer ( #1282 )
...
Bumps [micromatch](https://github.com/micromatch/micromatch ) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases )
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8 )
---
updated-dependencies:
- dependency-name: micromatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-17 10:35:58 +01:00
Sebastian Benz
18a4801660
Add on device summary sample ( #1263 )
...
* Add on device summary sample
* small tweaks and clean up
* more clean up
* Add link to blog post
* show correct error when ai is not supported in browser
* addressed comments
* fix path
2024-09-13 17:38:40 +02:00
dependabot[bot]
0a92c15491
Bump micromatch in /functional-samples/tutorial.puppeteer ( #1281 )
...
Bumps [micromatch](https://github.com/micromatch/micromatch ) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases )
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8 )
---
updated-dependencies:
- dependency-name: micromatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-11 10:17:36 +01:00
Paige Bailey
29f9fa0d71
Update README.md to clarify that this example isn't using Gemini Nano (on-device), it's using the Gemini APIs from AI Studio. ( #1277 )
2024-09-11 10:10:55 +01:00
Sebastian Benz
cbfd8823fa
Migrate to new prompt API ( #1264 )
...
...also add a check whether the browser supports the prompt API.
2024-08-28 12:14:45 +02:00
dependabot[bot]
09e9780a2d
Bump micromatch in /functional-samples/tutorial.terminate-sw/selenium ( #1269 )
...
Bumps [micromatch](https://github.com/micromatch/micromatch ) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases )
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8 )
---
updated-dependencies:
- dependency-name: micromatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-27 13:50:42 +01:00
amysteamdev
90249bc956
[New sample] Open Chrome API reference page (omnibox, alarms, messaging sample) ( #848 )
...
* First draft
* Rename folder
* Tweak comments
* Update index.html
* remove extra closing div
* Rename sw file
* Apply first round of @sebastianbenz suggestions
* Fix import
* Update popover
* Second tech review round
2024-08-21 13:53:13 +02:00
patrick kettner
f33eb56680
add link to youtube tutorial ( #1248 )
2024-08-01 13:29:53 +01:00
Oliver Dunk
dfde4c8578
Add custom cursor tutorial ( #1247 )
...
* Add custom cursor tutorial
* Add README
* Remove unneeded async keyword
2024-07-30 15:02:30 +01:00
Sebastian Benz
005f7caa65
add Gemini API sample ( #1240 )
...
* add Gemini API sample
* Simplify configuration and fix response formatting
* Update wording for gemini nano sample
2024-07-25 12:08:13 +02:00
Oliver Dunk
2dd50d5850
Update focus-mode tutorials ( #1241 )
...
Formatting fixes and also update the debugging tutorial which is used
in the DevTools Tips video on debugging Chrome Extensions.
2024-07-24 13:34:16 +01:00
Sebastian Benz
e1ad9ce8f0
Add gemini nano sample ( #1234 )
...
Add gemini nano sample
---------
Co-authored-by: Oliver Dunk <oliverdunk@google.com >
2024-07-22 17:44:44 +00:00
dependabot[bot]
1a02c6b5ae
Bump braces in /functional-samples/tutorial.puppeteer ( #1200 )
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-24 14:39:17 +01:00
dependabot[bot]
063a72f444
Bump ws and puppeteer ( #1195 )
...
Bumps [ws](https://github.com/websockets/ws ) to 8.17.1 and updates ancestor dependency [puppeteer](https://github.com/puppeteer/puppeteer ). These dependencies need to be updated together.
Updates `ws` from 8.16.0 to 8.17.1
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/8.16.0...8.17.1 )
Updates `puppeteer` from 22.1.0 to 22.11.2
- [Release notes](https://github.com/puppeteer/puppeteer/releases )
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json )
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v22.1.0...puppeteer-v22.11.2 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
- dependency-name: puppeteer
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-19 10:57:25 +01:00
dependabot[bot]
35b7ce40f7
Bump ws and puppeteer in /functional-samples/tutorial.puppeteer ( #1192 )
...
Bumps [ws](https://github.com/websockets/ws ) to 8.17.1 and updates ancestor dependency [puppeteer](https://github.com/puppeteer/puppeteer ). These dependencies need to be updated together.
Updates `ws` from 8.14.2 to 8.17.1
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/8.14.2...8.17.1 )
Updates `puppeteer` from 21.3.6 to 22.11.2
- [Release notes](https://github.com/puppeteer/puppeteer/releases )
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json )
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v21.3.6...puppeteer-v22.11.2 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
- dependency-name: puppeteer
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-19 10:49:50 +01:00
dependabot[bot]
94dd83dcf8
Bump braces in /functional-samples/tutorial.terminate-sw/selenium ( #1194 )
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-19 10:49:23 +01:00
dependabot[bot]
da8a9b194b
Bump ws in /functional-samples/tutorial.terminate-sw/selenium ( #1193 )
...
Bumps [ws](https://github.com/websockets/ws ) from 8.14.2 to 8.17.1.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/8.14.2...8.17.1 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-19 10:46:13 +01:00
dependabot[bot]
63ba33c633
Bump braces in /functional-samples/tutorial.terminate-sw/puppeteer ( #1191 )
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-17 14:56:51 +01:00
Oliver Dunk
77f3b8d807
Fix images in READMEs ( #1178 )
...
These were being loaded from a CDN from our old hosting
infrastructure for developer.chrome.com. This is no longer live,
and we shouldn't have been using external images anyway, so move
all of the images to the repo.
Fixes #1171
2024-06-06 14:28:26 +02:00
mahitoburrito
c04f62a33d
Added README for tutorial.reading_time in functional_samples ( #1138 )
...
* Added readme for tutorial.reading-time
* Added README.md for tutorial.readingtime
* Added README.md for tutorial.readingtime
* Added README.md for tutorial.readingtime
* Delete functional-samples/tutorial.reading-time/images/README.md
* Update README.md
2024-05-08 13:05:33 +01:00