Commit Graph

95 Commits

Author SHA1 Message Date
Johann
d37f7c0eed Add an example for using the bookmarks API 2016-02-22 23:19:24 +01:00
wbamberg
8cfcdb7696 Merge pull request #34 from lv7777/master
add _locales/ja
2016-01-30 23:25:16 -08:00
oonuma ryouyu
e0336c4a6c add _locales/ja 2016-01-30 15:23:16 +09:00
wbamberg
ac77622ced Merge pull request #33 from rpl/fx46/inpage-toolbar-ui
Add inpage-toolbar-ui example
2016-01-29 07:36:03 -08:00
Luca Greco
364b1f029e Apply minor tweaks and fix typos in inpage-toolbar-ui doc and comments 2016-01-29 13:48:44 +01:00
Luca Greco
189379b14f Minor tweaks on inpage-toolbar-ui stylesheet 2016-01-27 20:08:31 +01:00
Luca Greco
5d6b7077da Add inpage-toolbar-ui add-on example
This example shows how an add-on can integrate an UI into a webpage.

The UI resources will be packaged in the add-on itself and exposed to
the webpage by injecting an iframe which points to an "web accessible
resource" add-on URL.

This pattern is useful to any add-on which needs to integrate an UI into
the webpage (e.g. browsing enhancement toolbars, in page devtools
panels,  adblockers/anti-tracking in-page alerts) and it works on
Chromium-based browsers and Firefox Desktop >= 46.0 (enabled by Bug
1214658).
2016-01-27 15:29:36 +01:00
Will Bamberg
cd06755a3e Add 48px icon in 'icons' key 2016-01-19 16:22:27 -08:00
Will Bamberg
dcd9c8a81b Added README; stop using alarm name for tab ID 2016-01-19 16:16:06 -08:00
Will Bamberg
6008ae613b Merge branch 'master' into chillout
* master: (26 commits)
  Fix review comments: https://github.com/mdn/webextensions-examples/issues/31#issuecomment-172650159
  Fix review comments: https://github.com/mdn/webextensions-examples/issues/30#issuecomment-172649839
  Fix review comments: https://github.com/mdn/webextensions-examples/issues/29#issuecomment-172646879
  Fix review comments: https://github.com/mdn/webextensions-examples/issues/28#issuecomment-172645256
  added comments to one missing file
  added short comments for all JS functions
  ask that examples should contain the  key
  added strict_min_version to manifest.json
  ask that examples include the  key
  use the right size icons
  use the 'icons' key for all examples
  updates and typo fixes for CONTRIBUTING.md
  added draft CONTRIBUTING.md
  corrected a  comment
  added homepage_url to notify-link-clicks-i18n
  minor css tweaks on beastify popup
  use an absolute url for chrome.tabs.executeScript (which works on both Firefox and Chrome)
  increase popup width
  improve link detection in notify-link-clicks-i18n
  improve link detection in notify-link-clicks
  ...
2016-01-19 15:35:41 -08:00
Will Bamberg
078ef0e1f3 Fix review comments: https://github.com/mdn/webextensions-examples/issues/31#issuecomment-172650159
* delete this extension :)
2016-01-19 15:32:37 -08:00
Will Bamberg
bba84627ab Fix review comments: https://github.com/mdn/webextensions-examples/issues/30#issuecomment-172649839
* added README
* moved listeners above addListener calls
2016-01-19 15:30:21 -08:00
Will Bamberg
f98638396b Fix review comments: https://github.com/mdn/webextensions-examples/issues/29#issuecomment-172646879
* added README.md
2016-01-19 15:21:42 -08:00
Will Bamberg
d552033b78 Fix review comments: https://github.com/mdn/webextensions-examples/issues/28#issuecomment-172645256
* added README
* do name->URL conversion in the popup
* define functions before they are added as listeners
2016-01-19 15:15:59 -08:00
Will Bamberg
f878399ceb add alarms permission, very minor update to a comment 2016-01-19 14:55:09 -08:00
Will Bamberg
5f58a9f23b added comments to one missing file 2016-01-14 15:08:36 -08:00
Will Bamberg
b636b41f1b added short comments for all JS functions 2016-01-14 15:06:44 -08:00
Will Bamberg
d65a87520c ask that examples should contain the key 2016-01-14 12:10:47 -08:00
Will Bamberg
541078a65f added strict_min_version to manifest.json 2016-01-14 12:02:44 -08:00
Will Bamberg
1400a0ddcb ask that examples include the key 2016-01-14 11:28:34 -08:00
Will Bamberg
4cb4a7bd55 use the right size icons 2016-01-14 11:25:15 -08:00
Will Bamberg
9190a850f1 use the 'icons' key for all examples 2016-01-13 21:03:33 -08:00
wbamberg
b444166eed Merge pull request #27 from mdn/add-contributing
Add CONTRIBUTING.md
2016-01-11 09:13:55 -08:00
Will Bamberg
9e53f21427 updates and typo fixes for CONTRIBUTING.md 2016-01-06 14:39:11 -08:00
Will Bamberg
83653eefa9 added draft CONTRIBUTING.md 2016-01-06 14:33:52 -08:00
Will Bamberg
13c506fb49 corrected a comment 2016-01-06 13:35:07 -08:00
Will Bamberg
48030e5420 added homepage_url to notify-link-clicks-i18n 2016-01-06 11:46:58 -08:00
wbamberg
295526ae1c Merge pull request #17 from anaran/Issue_16
Fixes issue #16
2016-01-06 11:42:01 -08:00
wbamberg
334496d8e7 Merge pull request #25 from mdn/ua-rewriter-review
fix review comments for user-agent-rewriter
2016-01-06 11:39:40 -08:00
wbamberg
5eabe6d166 Merge pull request #26 from rpl/tweaks/beastify
cross browser workaround for chrome.tabs.executeScripts and minor style tweaks
2016-01-06 11:18:47 -08:00
Luca Greco
0f26eeaea5 minor css tweaks on beastify popup 2016-01-06 19:47:27 +01:00
Luca Greco
491918a279 use an absolute url for chrome.tabs.executeScript (which works on both Firefox and Chrome) 2016-01-06 19:46:51 +01:00
Will Bamberg
847a3ab16f increase popup width 2016-01-06 09:46:53 -08:00
wbamberg
8e2148f514 Merge pull request #24 from minj/improve-link-detection
improve link detection in notify-link-clicks
2016-01-06 07:16:17 -08:00
Mindaugas Jakutis
933d5df99d improve link detection in notify-link-clicks-i18n
Original approach is a bit too naive and misses all links
that contain other elements which can grab mouse clicks.
E. g. simple target checking fails on the grid @ mozilla.org.

Traversing up the tree to look for valid links fixes this problem.
2016-01-06 09:06:02 +02:00
Mindaugas Jakutis
4d5fef4423 improve link detection in notify-link-clicks
Original approach is a bit too naive and misses all links
that contain other elements which can grab mouse clicks.
E. g. simple target checking fails on the grid @ mozilla.org.

Traversing up the tree to look for valid links fixes this problem.
2016-01-06 09:04:54 +02:00
Will Bamberg
8de8946ef2 moved log line to after early-exit test 2016-01-05 17:11:14 -08:00
Will Bamberg
bcc14c1b7a added origin in postMessage() call 2016-01-05 16:15:15 -08:00
Will Bamberg
68540baae9 remove unnecessary 'tabs' permission 2016-01-05 16:05:46 -08:00
Will Bamberg
34e6689847 review changes for user-agent-rewriter 2016-01-05 15:29:53 -08:00
Will Bamberg
315084cf47 changed to use activeTab, and workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=1236500 2016-01-05 10:26:25 -08:00
Will Bamberg
8c437b7cdc renamed a function 2015-12-17 23:36:36 -08:00
Will Bamberg
3aeb3af5bd Merge remote-tracking branch 'origin/master' into chillout
* origin/master:
  Fixes issue #8

ster.

Update from master.
2015-12-17 23:20:31 -08:00
Will Bamberg
7ad0db26ac added page action example 2015-12-17 23:16:57 -08:00
Adrian Aichner
2e78c81117 Fixes issue #16 2015-11-10 19:00:33 +01:00
wbamberg
91655c1078 Merge pull request #9 from anaran/Issue_8
Fixes issue #8
2015-11-09 17:02:49 -08:00
Adrian Aichner
9b2b6a2f81 Fixes issue #8 2015-11-10 01:36:00 +01:00
Will Bamberg
c289fac208 Added Dutch localization: thanks @Volluta for the translation. 2015-11-05 09:30:30 -08:00
Will Bamberg
b6c84bfbfa tweak strings in de 2015-11-04 09:05:55 -08:00
wbamberg
28bec4f65b Merge pull request #14 from SebastianZ/master
Translated German strings
2015-11-04 09:04:15 -08:00