Commit Graph

382 Commits

Author SHA1 Message Date
Will Bamberg
b831706284 Merge remote-tracking branch 'origin/master' into export-helpers
* origin/master: (149 commits)
  Add some icons (#285)
  add in simple http-response example (#281)
  convert chrome. to browser. Issue #165 #166 (#262)
  Update examples.json for contextMenus->menus change (#282)
  Update context-menu-demo (#272)
  change shortcut to Ctrl+Shift+U for commands example (#264)
  Update `proxy-blocker` extension to be compatible with firefox 56+ (#260)
  Update eslint and .travis.yml (#259)
  add in titlePreface (#256)
  Hellosct1 webext (#237)
  Remove 'highlight', as Firefox does not support it (#252)
  Reflect bookmark state in icon title to make it accessible to screen readers (#255)
  Adding listing/descriptions for the imagify and themes examples. (#253)
  Selfify example (#251)
  New theme examples (#248)
  Example: embedded webextension overlay (#249)
  Add an indexedDB file storage example: image-reference-collector (#224)
  webextension -> extension (#250)
  more fields into package.json
  Add travis-ci build status badge
  ...
2017-10-10 12:20:26 -07:00
Will Bamberg
292c0c7df0 Fix content_scripts 'matches' property 2017-10-10 12:14:30 -07:00
Will Bamberg
36f5187235 Updated for review comments 2017-10-10 11:59:15 -07:00
wbamberg
29345544c9 Add some icons (#285) 2017-09-15 13:45:26 -07:00
Andy McKay
378df04feb add in simple http-response example (#281)
* add in simple http-response example

* move to 57.0a1
2017-09-15 13:15:30 -07:00
Maxim Zalata
f369ddc642 convert chrome. to browser. Issue #165 #166 (#262)
* convert chrome. to browser. Issue #165

* fix browser-polyfill

* convert chrome.* to browser.* (#166)

* convert chrome.* to browser.*

* change chrome to browser

* change the callback-style to promise-style

* change the callback-style to promise-style
2017-09-11 15:23:41 -07:00
wbamberg
8daa8b29c2 Update examples.json for contextMenus->menus change (#282) 2017-09-08 16:12:19 -07:00
wbamberg
179836d794 Update context-menu-demo (#272)
* Update context-menu-demo

* Some cleanup, and note from cross-browser compat
2017-09-08 16:07:36 -07:00
Maxim Zalata
d7bf874833 change shortcut to Ctrl+Shift+U for commands example (#264) 2017-08-17 15:16:33 -07:00
Phil Rukin
980168290f Update proxy-blocker extension to be compatible with firefox 56+ (#260)
* Update `proxy-blocker` extension to be compatible with firefox 56+

* Change `DIRECT 1234` to `DIRECT` see bug https://bugzilla.mozilla.org/show_bug.cgi?id=1355198
2017-08-11 05:48:55 -07:00
YFdyh000
050b5fa9d0 Update eslint and .travis.yml (#259)
* simplify .travis.yml

* Fixes error and warning from eslint

15:32  error  Unnecessary escape character: \?  no-useless-escape
2017-08-11 00:30:28 -07:00
Andy McKay
750870481e add in titlePreface (#256) 2017-08-02 00:20:28 -07:00
hellosct1
b488b5b905 Hellosct1 webext (#237)
* README.md

1st commit

* New demo with devtools and the webextensions

* evolution script example

* Remove commented out code, to see if it triggers a Travis build

* Updated README; added more descriptive labels for buttons

* Added some comments

* update evolution

* correction

* correction next

* correction next

* update script for jquery

* update part jquery in the devtools

* Remove jQuery check from handleResult
2017-07-27 15:11:16 -07:00
wbamberg
f4e470509a Remove 'highlight', as Firefox does not support it (#252) 2017-07-26 13:47:32 -07:00
Josiah Ulfers
c44687d64e Reflect bookmark state in icon title to make it accessible to screen readers (#255) 2017-07-24 17:55:52 -07:00
rebloor
f40d1785e2 Adding listing/descriptions for the imagify and themes examples. (#253)
There are a couple of queries about the item for themes:

* I was unclear whether to delete the javascript_apis key or use an empty list - I've used an empty list.
* The macros suggests it would be safe to use HTML formatting in the description, so I have done so to create the list of themes (rather than split them out individually)
2017-07-21 09:47:10 -07:00
rebloor
716ace2d41 Selfify example (#251)
* Selfify example for how to access files article

* Restored selfify.js and updated choose_file.js as suggested by Luca

* Updated comments

* Updates for feedback from Will

* Updates from the second round of feedback

* removed activetab from manifest, removed document.body.appendChild(info);, renamed the content script (selfify > content), renamed the listener (selfify > injectImage) and moved example to imagify folder.

* Correctly renamed folder and update manifest.json
2017-07-20 14:54:33 -07:00
rebloor
8351d9923e New theme examples (#248) 2017-07-20 14:52:32 -07:00
Luca Greco
a7ec907b88 Example: embedded webextension overlay (#249)
* Simple Legacy Overlay Addon with an Embedded WebExtension.

* fix: fixed eslint errors on embedded-webextension-overlay example
2017-07-19 15:10:26 -07:00
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