Commit Graph

39 Commits

Author SHA1 Message Date
Carlos Mañas
0d9c6623fb Use const instead of let (#520) 2023-03-17 12:19:01 +01:00
Talal
a8c3fcf80d Fix beastify code (#505)
* Fix blank page bug when clicking popup background
2022-12-13 21:00:24 +01:00
Eike Mücksch
6d8f07243a Don't use <div /> as a button (#502)
* Don't use <div /> as a button

Addition to https://github.com/mdn/content/pull/21410

* stick to old styling

* Update beastify/popup/choose_beast.html

Co-authored-by: Estelle Weyl <estelle@openwebdocs.org>

* Update beastify/popup/choose_beast.css

Co-authored-by: Estelle Weyl <estelle@openwebdocs.org>

* fix: check for button type at event listener

* fix: align css selectors to changes

Co-authored-by: Estelle Weyl <estelle@openwebdocs.org>
2022-11-24 15:07:49 +13:00
Michal Wozniak
a4936f5215 Undone whitespace 2022-06-13 00:04:50 +01:00
Michal Wozniak
8c98d1a05b Changed to runtime for beastify extension when getting content url 2022-06-11 23:14:27 +01:00
Ruth John
a545cdcd69 Fixing space
Means https://github.com/mdn/content/pull/8644 can be merged
2021-10-11 16:28:46 +01:00
Đăng Tú
1d415e731f Update manifest.json
Use wildcard for web_accessible_resources to make it more flexible.
2019-05-31 19:55:59 +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
93711a6a48 add in different theme images (#294) 2017-10-06 12:57:07 -07: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
587ecfc504 Remove applications key wherever possible (#144) 2016-11-18 14:14:25 -08:00
wbamberg
c5d69d15d6 Rewrite examples to use browser.* and promises (#138) 2016-11-15 10:12:55 -08:00
EvolvedCode
23d5da2ffc Final 2016-10-17 21:09:51 +03:00
EvolvedCode
f8b539ea7a Botched it 2016-10-15 14:28:46 +03:00
EvolvedCode
cb877de1ed Almost done 2016-10-15 14:18:31 +03:00
EvolvedCode
2c08537550 Disappearing buttons
Can't get it to work between popups.
2016-10-14 02:08:27 +03:00
EvolvedCode
2a5cd05a48 Unbeastifying methods 2016-10-14 01:25:37 +03:00
Will Bamberg
ec1830914e Remove duplicated function 2016-07-19 12:57:18 -07:00
Will Bamberg
4c567ae945 change strict_min_version values so they are acceptable to AMO 2016-04-06 14:04:57 -07: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
b636b41f1b added short comments for all JS functions 2016-01-14 15:06:44 -08:00
Will Bamberg
541078a65f added strict_min_version to manifest.json 2016-01-14 12:02:44 -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
Will Bamberg
13c506fb49 corrected a comment 2016-01-06 13:35:07 -08:00
wbamberg
295526ae1c Merge pull request #17 from anaran/Issue_16
Fixes issue #16
2016-01-06 11:42:01 -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
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
Adrian Aichner
2e78c81117 Fixes issue #16 2015-11-10 19:00:33 +01:00
Adrian Aichner
9b2b6a2f81 Fixes issue #8 2015-11-10 01:36:00 +01:00
Will Bamberg
ef3144633f reinstate removeListener 2015-10-30 10:40:53 -07:00
Will Bamberg
23f3eacfb4 try a different way 2015-10-23 20:28:41 -07:00
Will Bamberg
8f2d4109ee work around bug 1217944; remove unecessary use of callback argument 2015-10-23 14:19:04 -07:00
Will Bamberg
632dd8e462 explicitly pass null as arg 1 to executeScript 2015-10-23 11:02:27 -07:00
Will Bamberg
84be937965 remove activeTab permission, as we don't support that 2015-09-24 16:23:44 -07:00
Will Bamberg
9ccecbf206 added notify-link-clicks, and applications key to beastify 2015-09-16 16:51:50 -07:00
Will Bamberg
88f703edd6 reorganizations 2015-09-02 14:07:18 -07:00
Will Bamberg
924bab323f added beastify 2015-09-01 14:04:58 -07:00