Commit Graph

29 Commits

Author SHA1 Message Date
IanStanion-google
ebea82d8a3 Update manifest.json 2023-05-22 08:38:26 -04:00
IanStanion-google
15c444cccd Update service-worker.js 2023-05-22 08:37:41 -04:00
IanStanion-google
2b1397315d Update api-samples/webRequest/http-auth/http-auth.md
Co-authored-by: Joe Medley <jmedley@google.com>
2023-05-19 13:47:23 -04:00
IanStanion-google
6cf4c7b75f Update api-samples/webRequest/http-auth/http-auth.md
Co-authored-by: Joe Medley <jmedley@google.com>
2023-05-19 12:49:13 -04:00
IanStanion-google
9dba96c354 Update manifest.json 2023-05-19 08:06:57 -04:00
IanStanion-google
5277a99892 Corrected readme 2023-05-19 08:05:00 -04:00
IanStanion-google
6dd7dd3716 Added readme and corrected code 2023-05-19 07:49:05 -04:00
IanStanion-google
b7472a1a77 Update api-samples/webRequest/http-auth/manifest.json
Co-authored-by: Oliver Dunk <oliverdunk@google.com>
2023-05-19 07:05:32 -04:00
IanStanion-google
5af85b490c Update api-samples/webRequest/http-auth/service-worker.js
Co-authored-by: Oliver Dunk <oliverdunk@google.com>
2023-05-19 07:05:23 -04:00
IanStanion-google
e1fc00ee21 Changed folder organization 2023-05-19 06:52:15 -04:00
IanStanion-google
acc14014a9 Update service-worker.js 2023-05-16 15:47:48 -04:00
IanStanion-google
e25bf237d5 Update manifest.json 2023-05-15 09:42:11 -04:00
IanStanion-google
8053df2b29 Changed background to service worker 2023-05-15 09:40:31 -04:00
IanStanion-google
b7288caf3f Update background.js 2023-05-15 09:39:29 -04:00
IanStanion-google
fe6795bb1d Update background.js 2023-05-15 09:37:51 -04:00
IanStanion-google
c9dde8b668 Update manifest.json 2023-05-15 09:12:08 -04:00
IanStanion-google
2289c741dd Update api-samples/webRequest/manifest.json
Co-authored-by: amysteamdev <37001393+AmySteam@users.noreply.github.com>
2023-05-15 09:11:38 -04:00
IanStanion-google
5ccb092c9a Update background.js 2023-05-15 09:11:20 -04:00
IanStanion-google
4b0a3de64b webRequest onAuthRequired sample 2023-05-04 12:24:27 -04:00
Joe Medley
7f9f5b8482 Change passive to active voice in printer README. (#882)
* Change passive to active voice in printer README.

* Update api-samples/printing/README.md

Co-authored-by: Oliver Dunk <oliverdunk@google.com>

---------

Co-authored-by: Oliver Dunk <oliverdunk@google.com>
2023-04-13 07:06:23 -07:00
Joe Medley
d7f3d83a55 Printer (#858)
* Add printer status listener.

* Show printer status in popup.

* Fix Status display.

* Implement cancelJob().

* Correct script typos.

* Add important keyword to CSS.

* Refactor element pointers.

* Rewrite callbacks to promises.

* Fix CSS.

* Fix variable name.

* Move Print button to front of line.

* Restore old style of submitJob().

* Fix bugs.

* adding print job table along with cancel button (#847)

* adding print job table along with cancel button

* make cancel button hidden conditionally and scroll to buttom after print button is clicked

* Fix spelling.

* Update api-samples/printing/printers.js

* Add README file.

* Readme corrections.

* Update api-samples/printing/README.md

* Update api-samples/printing/README.md

* Update api-samples/printing/README.md

* Create an addCell() function.

* Fix position of addCell().

* Rearange popup layout.

* More rearranging.

* Add a warning about the print job table.

* Feedback from Patrick.

* Lint and update strings.

---------

Co-authored-by: rayxu-google <120415990+rayxu-google@users.noreply.github.com>
2023-04-05 13:35:58 -07:00
Sebastian Benz
d0dd2c3a9e Eslint: don't allow var (#856) 2023-03-20 19:36:40 +01:00
Sebastian Benz
ad857a253b eslint: validate script imports (#854)
Add https://github.com/import-js/eslint-plugin-import for validing
script imports (eslint will fail if imported file does not exist).

Also fixes prettier errors in api-samples.
2023-03-20 17:26:02 +01:00
Abhilekh Gautam
3091fb8d39 Update api sample for action (#838)
* add sample for catifier that replaces every jpg image on web by another cat image

* add readme for catifier

* add section for set/get  badge text color

* add usage of isEnabled,getBadgeTextColor and setBadgeTextColor

* capitalize  button text

* use single quote and update badge text to test

* use <all_urls> host_permission
2023-03-09 16:08:28 +00:00
Oliver Dunk
45d8850c1a Add declarativeNetRequest API samples. (#839)
* Add declarativeNetRequest API samples.

Adds a number of samples for the declarativeNetRequest API.
2023-03-03 15:53:50 +00:00
Oliver Dunk
cf2df4f073 Add API sample for chrome.scripting API. (#830)
* Add API sample for chrome.scripting API.

* Run formatter.

* Address feedback.

* Update licence headers.

* Invert tab colours.
2023-02-23 13:51:12 +00:00
Sebastian Benz
dc2174377a Add prettier and eslint (#831)
* Ignores archived samples
* Uses eslint/recommended rules
* Runs prettier and eslint (including --fix) pre-commit via husky
* Adds new npm scripts: 'lint', 'lint:fix' and 'prettier'
* Does not lint inline js code
* Fix all prettier and eslint errors
* Add custom prettier rules
* Apply custom prettier rules
* Update readme to explain how to setup the repo
* addressed comments
2023-02-22 13:25:39 +01:00
rayxu-google
299f2134cb Migrate chrome.printing api sample from v2 to v3 manifest (#829)
* migrate chrome.printing api sample from v2 to v3 manifest

* Restore MV2 printing sample.

---------

Co-authored-by: Oliver Dunk <oliverdunk@google.com>
2023-02-16 10:39:52 +00:00
Oliver Dunk
5bf419b385 Reorganize directory structure (#825)
* Remove docs folder.

This was a redirect from a GitHub pages site that does not appear
to be in use.

* Rename api folder to api-samples.

* Move examples to functional-samples folder.

* Move cookbook sample to functional-samples.

* Move tutorials to functional-samples folder.

* Move mv2 and apps folders to _archive.

* Rename tools folder to .repo.

* Move reference folder to functional-samples.

* Update README.

Update README with new relative links for reorg.

* Update README.md

Co-authored-by: amysteamdev <37001393+AmySteam@users.noreply.github.com>

---------

Co-authored-by: amysteamdev <37001393+AmySteam@users.noreply.github.com>
2023-02-03 10:58:04 -06:00