Xuezhou Dai a98b3cdb56 Add new sample: no-cookies rule manager (#986)
* init

* Add README

* Add popup

* Fix regex typo

* Remove console

* Update README

* Set manager.html as the options page

* Remove activeTab permission

* Update code

* Set ruleItem as a constant

* Use `existingRules` instead of `_rules`

* Wrapper input elements with label

* Fix viewRuleButton

* Move to functional-sample

* Update README.md

Co-authored-by: Joe Medley <jmedley@google.com>

* Update README.md

Co-authored-by: Joe Medley <jmedley@google.com>

* Update README.md

Co-authored-by: Joe Medley <jmedley@google.com>

* Update README.md

Co-authored-by: Joe Medley <jmedley@google.com>

* Update README.md

Co-authored-by: Joe Medley <jmedley@google.com>

* Update functional-samples/sample.dnr-rule-manager/README.md

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

* Remove setSaveButtonDisabled

* Update description

* Remove document.write

* Remove nested function

* Update functional-samples/sample.dnr-rule-manager/manifest.json

---------

Co-authored-by: Joe Medley <jmedley@google.com>
Co-authored-by: Oliver Dunk <oliver@oliverdunk.com>
2023-08-22 13:01:12 +01:00
2023-02-22 13:25:39 +01:00
2023-08-21 11:34:27 +01:00
2023-05-12 10:58:20 +01:00
2023-03-20 19:36:40 +01:00
2023-02-22 13:25:39 +01:00
2023-05-01 11:29:59 -04:00
2023-05-01 11:29:59 -04:00
2023-02-22 13:25:39 +01:00

Chrome Extensions samples

Official samples for Chrome Extensions and the Chrome Apps platform. Note that Chrome Apps are deprecated. Learn more on the Chromium blog.

For more information on extensions, see Chrome Developers.

Note: Samples for Manifest V3 are still being prepared. In the mean time, consider referring to _archive/mv2/.

Samples

The directory structure is as follows:

To experiment with these samples, please clone this repo and use 'Load Unpacked Extension'. Read more on Development Basics.

Sample Calls
Hello Extensions
tutorial.hello-world
Page Redder
sample.page-redder
My Bookmarks
sample.bookmarks
Chromium Milestones
sample.milestones
Cookie Clearer
api-samples/cookies/cookie-clearer
Omnibox - New Tab Search
api-samples/omnibox/new-tab-search
Web Accessible Resources
api-samples/web-accessible-resources

Contributing

Please see the CONTRIBUTING file for information on contributing to the chrome-extensions-samples project.

License

chrome-extensions-samples are authored by Google and are licensed under the Apache License, Version 2.0.

Description
No description provided
Readme Apache-2.0 74 MiB
Languages
JavaScript 85.1%
HTML 8.3%
CSS 4.2%
C++ 1%
Perl 0.4%
Other 0.9%