diff options
author | Teddy Wing | 2023-11-13 03:12:25 +0100 |
---|---|---|
committer | Teddy Wing | 2023-11-13 03:12:25 +0100 |
commit | 11810a38f19e86a2b13493566e8ad6b2b00e0d67 (patch) | |
tree | d1e9a40e2ebd5be353107f566e4b34259e66f134 /go.mod | |
download | swextreload-11810a38f19e86a2b13493566e8ad6b2b00e0d67.tar.bz2 |
Ideas for Extreload tab reloading for Manifest V3
I was having a hard time jiggering the Extreload code to get tab
reloading working with Manifest V3 extensions. This is an experiment
using a better API to interact with the Chrome DevTools Protocol. It
does correctly reload a Manifest V3 extension's current tab, by sleeping
briefly to wait for the service worker to reinstall, then executing the
tab reload call.
Diffstat (limited to 'go.mod')
-rw-r--r-- | go.mod | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -0,0 +1,16 @@ +module gopkg.teddywing.com/swextreload + +go 1.21.4 + +require github.com/chromedp/chromedp v0.9.3 + +require ( + github.com/chromedp/cdproto v0.0.0-20231011050154-1d073bb38998 // indirect + github.com/chromedp/sysutil v1.0.0 // indirect + github.com/gobwas/httphead v0.1.0 // indirect + github.com/gobwas/pool v0.2.1 // indirect + github.com/gobwas/ws v1.3.0 // indirect + github.com/josharian/intern v1.0.0 // indirect + github.com/mailru/easyjson v0.7.7 // indirect + golang.org/x/sys v0.6.0 // indirect +) |