Commit Graph

347 Commits

Author SHA1 Message Date
Andy McKay 3c35dff8d2 move from url_overrides to settings_overrides 2017-06-19 15:05:03 -07:00
Will Bamberg f744cd0022 Update examples.json 2017-06-15 11:48:46 -07:00
Andy McKay 07538307f4 add in a dynamic theme example (#230)
* add in a dynamic theme example

* update colour for when image is too small

* some fixups after stupid mistakes
2017-06-15 11:31:58 -07:00
Andy McKay db7a686f3c add in a theme switching example (#228)
* add in a theme switching example

* remove background script

* filter out non-themes
2017-06-12 13:37:56 -07:00
Rob Wu 3870a213bb Fix value check in page-to-extension-messaging example (#229)
Check the value of "event.data" before dereferencing it,
to avoid errors when void messages are sent using postMessage.

And remove the "event.data.direction" truthness check, because the
actual value is already tested at the next line.
2017-06-08 08:06:34 -07:00
wbamberg ea0f7f392a Simplify options styles (#226)
* Simplify options styles

* Set browser_style explicitly
2017-06-05 12:59:27 -07:00
Will Bamberg 149b555962 Add proxy to examples.json 2017-05-29 14:59:56 -07:00
wbamberg 4126904ecb Add proxy example (#225)
* Add proxy example

* Updated after review comments
2017-05-29 14:54:46 -07:00
Alexis Launay 42660a4f5c Add fr_FR translation to notify-link-clicks-i18n (#223) 2017-05-23 17:25:58 -07:00
wbamberg af38e5d3a2 Add an example of using 'command' in contextMenus (#221) 2017-05-19 16:47:48 -07:00
Onno Ekker 8ea3545b9d Fix typos in descriptions for examples.json (#219) 2017-05-15 09:48:21 -05:00
Martin Giger 8c61a66a80 Use webextensions env from eslint (#218) 2017-05-11 13:42:20 -05:00
wbamberg 191ea11311 Add examples of differen window types (#217) 2017-05-09 15:57:19 -07:00
wbamberg dead97bc38 Rewrite of bookmark-it, fixing issue 182 and some other problems (#186)
* Rewrite of bookmark-it, fixing issue 182 and some other problems

* Catch rejected promises

* Update with review comments, and some more fixes

* Revise fix to be much closer to original

* Remove extra semicolon
2017-05-09 14:23:19 -07:00
wbamberg c9d25cf776 Add an index of examples to the README (#216) 2017-05-08 13:26:38 -07:00
chrisdavidmills c34a47e097 Merge branch 'issue-197' 2017-05-03 12:19:32 +01:00
chrisdavidmills 6bf6914623 Merge branch 'master' into issue-197 2017-05-03 12:18:54 +01:00
kabir-plod cf7b2a6499 Fix headline formatting in mocha-client-tests README (#213) 2017-04-29 21:44:14 -07:00
Will Bamberg 62d95d240c Get document.html and document.body only when we need them 2017-04-28 11:08:34 -07:00
Will Bamberg 06cac5f7a6 Update on tab activate as well as update 2017-04-28 11:07:37 -07:00
Will Bamberg a43eb72e76 Fix for issue 197: make content script load using manifest key instead of executeScript 2017-04-28 10:08:03 -07:00
evolighting ae1c2176ea Fix native message examples with python3 (#157)
Provide a single .py that handles both Python 2.x and Python 3.x

* Fix python3

* Use one Python file to handle both Python 3.x and Python 2.x

* Actually add the new file this time

* Remove unnecessary parentheses
2017-04-27 13:22:07 -07:00
Andy McKay f7c8862703 show how to persist data between restarts (#209) 2017-04-27 09:19:49 -07:00
Andy McKay 48d7eb4479 an example using permissions (#204)
* an example using permissions

* fix up after suggestions from wbamberg
2017-04-24 17:55:53 -07:00
Andy McKay 8c575424ea lets use storage.sync and browser_style (#210) 2017-04-24 16:48:07 -07:00
Rob Wu 277ac935fa Add example with advanced clipboard manipulation (#207)
(tested with Firefox 52 and 54)
2017-04-24 14:09:19 -07:00
wbamberg 5dd59a4028 Example of the webRequest.onAuthRequired API (#206)
* Example of the webRequest.onAuthRequired API

* Update README, add applications.id to manifest
2017-04-14 13:34:05 -07:00
Martin Giger ec034f70a2 Updates to the webpacked example (#200)
* Notes on AMO reviews, update to webpack 2 and use better reset style for panel footer button

* Link to webpack-webext-plugin in live-dev section
2017-04-10 14:14:19 -07:00
wbamberg f749846e3a Add a keyboard shortcut to open the sidebar (#203) 2017-04-05 14:02:49 -07:00
Andy McKay 4d2bf35413 Merge pull request #201 from JonathanNakandala/url-fix-user-agent-rewriter
Changed URL to httpbin.org in the permissions
2017-03-29 08:53:15 -07:00
Jonathan Nakandala 6785c46c89 Changed URL to httpbin.org in the permissions
It looks like in a previous change the website used to demonstrate the
useragent rewriting was changed but the addon permission wasn't updated
so the demonstration didn't work.
2017-03-29 11:20:05 +01:00
wbamberg 0f846f5a71 Update README with better info on Firefox versions needed (#199) 2017-03-27 13:38:51 -07:00
Jean-Yves Perrier cfe7d0a129 Fix links in code of conduct (#198) 2017-03-22 10:31:26 -04:00
Will Bamberg ae6fc8e259 Better styles 2017-03-04 23:32:41 -08:00
wbamberg 0c5b1ec028 Added sidebar example (#192)
* Added sidebar example

* Remove blank line
2017-03-03 21:15:15 -08:00
Will Bamberg c7fb07a637 Updated examples.json 2017-02-21 16:30:14 -08:00
wbamberg 9c3f8e100e Forget it (#183)
* started browsingData example

* Added browsingData example

* Remove unwanted files

* Remove logging statements

* Added comments

* Simplify storage inititialization

* Fix review comments
2017-02-21 16:08:12 -08:00
wbamberg 8c947627be Added link to Browserify, fixed a typo and some minor language updates. (#187) 2017-02-20 16:02:47 -08:00
wbamberg 4474a6bd4b Added an example using the identity API (#180)
* Added an example using the identity API

* Updated with review comment fixes
2017-02-16 12:02:10 -08:00
Andy McKay 39cd28eb2b an example using contextualIdentities (#179) 2017-02-08 08:15:40 -08:00
Andy McKay 590dac4989 example of using topSites and chrome_url_override (#176)
* example of using topSites and chrome_url_override

* fixups suggested by @wbamberg
2017-01-30 17:16:54 -08:00
Andy McKay ed31c81945 add in prevent default (#173) 2017-01-03 12:10:23 -08:00
Andy McKay 49dda7eb10 add in some built versions (#162) 2016-12-19 11:54:15 -08:00
Andy McKay 31d069f38c make python pep 8 compliant (#159) 2016-12-16 17:42:36 -06:00
Matthew Wein f5e9fbdf35 Add Omnibox API example (#164)
* Add Omnibox API example

* Add an example for the omnibox api

* Resolved pull request comments and did some minor refactoring

* Resolved pull request comments and did some minor refactoring

* Fix error when handling default suggestion

* Fix error when handling default suggestion

* Require Firefox 52, update version to 1.0, and update match pattern to be more specific
2016-12-16 15:26:19 -08:00
Shubheksha Jalan 087c8a2f06 fixed manifest.json of context-menu-demo to make it comply with il8n (#163) 2016-12-13 06:36:52 -10:00
Kumar McMillan d12e2847a6 Example using React / ES6 (#155) 2016-12-13 05:54:23 -10:00
Andy McKay 62cd6d0a12 make user-agent check case insenstive (#161)
Looks & works fine, thanks @andymckay !
2016-12-12 14:32:39 -08:00
wbamberg dd22610f92 Add note about content scripts not working om the AMO site (#160)
Fix for https://github.com/mdn/webextensions-examples/issues/120.
2016-12-12 11:02:16 -08:00
wbamberg 24a86946fe Make URL argument absolute (#154) 2016-12-07 15:56:43 -10:00