Commit Graph

400 Commits

Author SHA1 Message Date
Will Bamberg
f50bc509f6 Use messaging instead of getBackgroundPage 2018-01-25 17:10:46 -08:00
Will Bamberg
6377f7952a Added an example for contentScripts.register 2017-12-12 09:02:11 -06:00
Andy McKay
8b5f320c1a add in navigation types (#305) 2017-12-08 09:53:33 -08:00
Andy
5a10260adf add in the word separately, fixes #276 2017-12-08 09:24:26 -08:00
Andy McKay
c2692937c8 Merge pull request #323 from mmarzantowicz/patch-1
Use for...in instead of for...of
2017-12-08 09:10:46 -08:00
Mateusz Marzantowicz
6e542bd6d0 Use for...in instead of for...of 2017-12-08 16:13:13 +01:00
Nikita
6122bf9c9d 138 line - typo: engnie -> engine (#320) 2017-12-04 08:02:11 -08:00
wbamberg
3fb6017d43 Update README.md 2017-11-14 18:51:37 -08:00
Tim Nguyen
b5242f8748 Add theme integrated sidebar example (#308) 2017-11-07 14:29:07 -08:00
Tim Nguyen
3e2d1833d7 Add per-window theme example: private browsing theme (#307) 2017-11-07 10:56:55 -08:00
Andy McKay
6bdef335df Check config on Windows (#292)
* add in a basic Windows config check script

* feedback from wbamberg
2017-11-01 13:38:50 -07:00
Andy McKay
0fad0c9a4c add in a runtime example (#304)
* add in a runtime example

* updated based on feedback
2017-11-01 13:36:36 -07:00
wbamberg
37cb9f7a84 Improve content script injection (#240)
* Improve content script injection

* Add an error handler for content script injection

* Use a guard variable in the content script, instead

* Fix comment

* Ensure tabID is unchanged; fix image styles

* Only inject script once; use CSS to hide page

* Display an error when the script can't be executed; document other limitations

* Log error on script execute failure
2017-11-01 11:25:34 -07:00
Andy McKay
8978d251a3 add in some reader mode fun (#303) 2017-10-27 13:32:35 -07:00
Andy McKay
b52844d11f show a tab count on the badge (#302) 2017-10-26 14:50:32 -07:00
wbamberg
dabfe5c721 Update examples.json, remove index from README (#301) 2017-10-25 13:26:21 -07:00
Andy McKay
17a58bc196 add in managed example (#287)
* add in managed example

* Updated favourite-colour README to point to the storage.managed documentation
2017-10-24 16:34:28 -07:00
wbamberg
b269b12a61 Add an example of how to use export helpers in content scripts (#86)
* Added example of using export helpers

* stop using wrapedJSObject with exportFunction; remove createObjectIn

* Updated for review comments

* Fix content_scripts 'matches' property
2017-10-23 16:21:24 -07:00
wbamberg
c88c967c1f Added a new example, session-state (#300)
* Added a new example, session-state

* Review comments from andym

* Only remove the listener if this is our tab
2017-10-17 15:10:52 -07:00
Andy McKay
e9df4c9f8f fix broken gecko entry (#295) 2017-10-06 13:06:54 -07:00
Andy McKay
93711a6a48 add in different theme images (#294) 2017-10-06 12:57:07 -07:00
Yassine Chaouche
f635b67a20 update examples.json (#291)
Add browserAction.setTitle in the javascript_api list of the bookmark-it example.
2017-10-02 08:17:20 -07:00
Andy McKay
3bea6540a9 create a find example (#284)
* create a find example

* update as per feedback
2017-09-21 16:58:49 -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