mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-16 06:18:35 +02:00
Add an index of examples to the README (#216)
This commit is contained in:
154
README.md
154
README.md
@@ -57,6 +57,160 @@ There are a couple ways to try out the example extensions in this repository.
|
||||
additional development features such as
|
||||
[automatic reloading](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Getting_started_with_web-ext#Automatic_extension_reloading).
|
||||
|
||||
## Index of examples
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/annotate-page">annotate-page</a></dt>
|
||||
<dd>Sidebar demo.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/apply-css">apply-css</a></dt>
|
||||
<dd>Inserts CSS into a web page.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/beastify">beastify</a></dt>
|
||||
<dd>Adds a browser action with a popup and injects a script into a web page.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/bookmark-it">bookmark-it</a></dt>
|
||||
<dd>Adds and removes bookmarks.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/borderify">borderify</a></dt>
|
||||
<dd>Injects scripts into pages that match a URL pattern.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/chill-out">chill-out</a></dt>
|
||||
<dd>Page action demo, plus some features of <code>alarms</code> and <code>tabs</code>.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/commands">commands</a></dt>
|
||||
<dd>Defines keyboard shortcuts.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/context-menu-copy-link-with-types">context-menu-copy-link-with-types</a></dt>
|
||||
<dd>Advanced clipboard interaction, including copy to clipboard from a background page.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/context-menu-demo">context-menu-demo</a></dt>
|
||||
<dd>Adds items to the context menu.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/contextual-identities">contextual-identities</a></dt>
|
||||
<dd>Contextual identities (containers) demo.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/cookie-bg-picker">cookie-bg-picker</a></dt>
|
||||
<dd>Demo using cookies, browser actions with popups, and content scripts.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/embedded-webextension-bootstrapped">embedded-webextension-bootstrapped</a></dt>
|
||||
<dd>An embedded WebExtension in a bootstrapped Firefox add-on.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/embedded-webextension-sdk">embedded-webextension-sdk</a></dt>
|
||||
<dd>An embedded WebExtension in an Add-on SDK Firefox add-on.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/emoji-substitution">emoji-substitution</a></dt>
|
||||
<dd>Injects content scripts into web pages matching a given URL pattern.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/eslint-example">eslint-example</a></dt>
|
||||
<dd>How to configure a WebExtension with eslint.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/favourite-colour">favourite-colour</a></dt>
|
||||
<dd>Demo of storage and options(settings) pages.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/firefox-code-search">firefox-code-search</a></dt>
|
||||
<dd>Customizes the behavior of the browser's address bar.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/forget-it">forget-it</a></dt>
|
||||
<dd>Clears stored browsing data.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/google-userinfo">google-userinfo</a></dt>
|
||||
<dd>Authenticates the user with Google.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/history-deleter">history-deleter</a></dt>
|
||||
<dd>Clears browsing history entries by domain.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/latest-download">latest-download</a></dt>
|
||||
<dd>Displays the most recently downloaded item.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/list-cookies">list-cookies</a></dt>
|
||||
<dd>Lists all cookies in the active tab.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/mocha-client-tests">mocha-client-tests</a></dt>
|
||||
<dd>Tests the add-on using Mocha.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/native-messaging">native-messaging</a></dt>
|
||||
<dd>Exchanges messages between the add-on and a Python program installed on the user's computer.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/navigation-stats">navigation-stats</a></dt>
|
||||
<dd>Collects and displays statistics for sites the user navigates to.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/notify-link-clicks-i18n">notify-link-clicks-i18n</a></dt>
|
||||
<dd>Displays localized notifications when the user clicks on links.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/open-my-page-button">open-my-page-button</a></dt>
|
||||
<dd>Opens a page bundled with the add-on, when the user clicks a toolbar button.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/page-to-extension-messaging">page-to-extension-messaging</a></dt>
|
||||
<dd>Exchanges messages between a web page and the add-on.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/permissions">permissions</a></dt>
|
||||
<dd>Demo showing how to ask the user for additional permissions at runtime.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/quicknote">quicknote</a></dt>
|
||||
<dd>Note-taking add-on: shows how to store data, and how to use browser actions and popups.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/react-es6-popup">react-es6-popup</a></dt>
|
||||
<dd>How to use React and ES6 in an add-on.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/selection-to-clipboard">selection-to-clipboard</a></dt>
|
||||
<dd>Basic clipboard example: copying to the clipboard in a content script.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/stored-credentials">stored-credentials</a></dt>
|
||||
<dd>Performs HTTP basic authentication using a stored username and password.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/tabs-tabs-tabs">tabs-tabs-tabs</a></dt>
|
||||
<dd>Demo of various <code>tabs</code> functions: open, close, move, etc.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/top-sites">top-sites</a></dt>
|
||||
<dd>Replaces the "new tab" page with links to pages that the user often visits.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/user-agent-rewriter">user-agent-rewriter</a></dt>
|
||||
<dd>Intercepts and modifies HTTP requests.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/webpack-modules">webpack-modules</a></dt>
|
||||
<dd>Uses webpack to package npm modules for use in an add-on.</dd>
|
||||
</dl>
|
||||
|
||||
<dl><dt><a href="https://github.com/mdn/webextensions-examples/tree/master/window-manipulator">window-manipulator</a></dt>
|
||||
<dd>Demo of various <code>windows</code> functions: create, close, resize, etc.</dd>
|
||||
</dl>
|
||||
|
||||
## Learn more
|
||||
|
||||
To learn more about developing WebExtensions, see the
|
||||
|
||||
Reference in New Issue
Block a user