webextensions-examples icon indicating copy to clipboard operation
webextensions-examples copied to clipboard

Add `runAt` to an example

Open Miserlou opened this issue 8 years ago • 2 comments

Took me a little digging to figure out why my scripts took so long to run, I had to change the runAt value for browser.tabs.executeScript. It'd be useful if these examples could have an example that included runAt.

Miserlou avatar Aug 23 '17 21:08 Miserlou

It's a good idea. Do you have an idea of something that might work as a simple illustrative example?

wbamberg avatar Aug 23 '17 21:08 wbamberg

I use it for Poop, so maybe anything which needs to interact with content immediately rather than waiting for a complete pageload, for instance a content-blocker which updates a counter on the page or something like that.

Miserlou avatar Aug 23 '17 23:08 Miserlou

No activity within the last three years, closing.

rebloor avatar Jul 30 '23 23:07 rebloor