Commit Graph

6 Commits

Author SHA1 Message Date
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
EvolvedCode
23d5da2ffc Final 2016-10-17 21:09:51 +03: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
924bab323f added beastify 2015-09-01 14:04:58 -07:00