Commit Graph

361 Commits

Author SHA1 Message Date
Luca Greco
7b6b03a72c Add an indexedDB file storage example: image-reference-collector (#224)
* new example: image-reference-collector (indexedDB file storage demo)

* fix: added missing deps, updated all npm dependencies and webpack config to v.2

* chore: Renamed the example to store-collected-images

* chore: Removed from utils/image-store any direct call to the UI code

* move example built using webpack into its own subdir

* tweak browser action title

* added plain webextension example (without webpack build step)

* added README.md file to plain webextension example

* small changed based on the review comments

* fixed typo in store-collected-images example (webpack-based version)

* Remove React from the store-collected-images (plain webextension version)

* Fix eslint errors on store-collected-images example (both versions)

* Fix some typos in the README files
2017-07-19 15:06:46 -07:00
Andrew Truong
119ee4cb6c webextension -> extension (#250)
naming convention update.
2017-07-17 15:30:48 -07:00
Andy McKay
6dd128a385 Merge pull request #244 from yfdyh000/travisCI
Add ESLint & Travis CI
2017-07-14 09:50:02 -07:00
YFdyh000
a30ed8c079 more fields into package.json 2017-07-09 22:55:13 +08:00
YFdyh000
65bafd8734 Add travis-ci build status badge 2017-07-09 22:53:21 +08:00
YFdyh000
8aa34e9ecf Add .travis.yml 2017-07-09 06:29:53 +08:00
YFdyh000
4af2a8a028 more .eslintrc.json and fixes 2017-07-09 06:12:28 +08:00
YFdyh000
a547c672e7 run eslint --fix . 2017-07-09 05:57:35 +08:00
YFdyh000
cb01687314 "permissions" project uses async function, it is ES8 (Fx52 and above) 2017-07-09 05:55:16 +08:00
YFdyh000
52941770f4 Add node_modules to .gitignore 2017-07-09 05:55:16 +08:00
YFdyh000
b22d038f33 Ignore some folders to prevent some errors 2017-07-09 05:55:15 +08:00
YFdyh000
0a745348f3 Fixes for ESLint 2017-07-09 05:55:13 +08:00
YFdyh000
af3e105a41 Add ESLint for this project 2017-07-09 05:55:08 +08:00
wbamberg
5916a3de93 Use a single manifest file for Firefox and Chrome (#236) 2017-06-23 15:05:58 -07:00
wbamberg
a71783a97d Add a search engine example (#235) 2017-06-23 13:54:56 -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