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
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
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
13c506fb49
corrected a comment
2016-01-06 13:35:07 -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
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
88f703edd6
reorganizations
2015-09-02 14:07:18 -07:00