Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-11-18 | swextreload: Extract debug logging to function | Teddy Wing | |
Move the `isDebug` check to a function so we don't have to put conditions everywhere. | |||
2023-11-17 | swextreload: Make tab reload work on both MV2 and MV3 contexts | Teddy Wing | |
2023-11-17 | swextreload: Fix MV2 extension reload | Teddy Wing | |
There was a problem reloading the tab from an MV2 extension, and reloading the extension after the first time. Looks like I needed to cancel the context in order to be able to evaluate other statements in the background page. | |||
2023-11-17 | swextreload: Reload all targets matching a given extension ID | Teddy Wing | |
There may be multiple instances of the same extension ID. Ensure all of them are reloaded. | |||
2023-11-17 | swextreload: Test Runtime.evaluate | Teddy Wing | |
No change. | |||
2023-11-17 | swextreload: Try lifting getTargets outside of `reloadExtension` | Teddy Wing | |
Call getTargets only once, not each time we want to reload an extension. This hasn't resolved the wonkiness I'm seeing with reloading multiple extensions, unfortunately. | |||
2023-11-16 | swextreload: Note about getting targets once | Teddy Wing | |
2023-11-16 | Try not cancelling context | Teddy Wing | |
Turns out this is what was closing the extension background page DevTools window. We shouldn't run the context cancel function. | |||
2023-11-16 | swextreload: Experiment with MV2 tab reloading | Teddy Wing | |
Trying to set things up to not get targets again when reloading the current tab. | |||
2023-11-14 | swextreload: Try to split out tab reloading into a separate function | Teddy Wing | |
Trying to make it so you can reload the tab only once after reloading all extensions. This still works for a single Manifest V3 extension, but I'm having trouble getting a Manifest V2 extension to reload properly. | |||
2023-11-14 | swextreload: Add note for multiple extension handling | Teddy Wing | |
2023-11-14 | swextreload.Reload: Handle multiple extensions | Teddy Wing | |
Get rid of the `return` so we reload more than the first extension. | |||
2023-11-14 | swextreload: Add package documentation | Teddy Wing | |
2023-11-14 | swextreload: Add documentation comments | Teddy Wing | |
2023-11-14 | swextreload.reloadExtension: Remove old commented code | Teddy Wing | |
2023-11-14 | Make `--reload-current-tab` flag work | Teddy Wing | |
Make the tab reload work based on the flag instead of always reloading. | |||
2023-11-14 | Add `--debug` flag | Teddy Wing | |
Condition printing debug output on the presence of this flag. | |||
2023-11-14 | swextreload.reloadExtension: Return errors | Teddy Wing | |
Add our own errors and return these instead of logging them. | |||
2023-11-14 | swextreload.Reload: Accept a list of extension IDs | Teddy Wing | |
Run the reload on multiple extensions. | |||
2023-11-14 | swextreload.Reload: Extract arguments | Teddy Wing | |
2023-11-14 | Move code from `main()` to `swextreload.Reload()` | Teddy Wing | |
Move everything to our library. | |||
2023-11-14 | internal/swextreload: Get rid of option interface, use plain arguments | Teddy Wing | |
2023-11-14 | Move swextreload.go to internal/ | Teddy Wing | |
Don't make this a public API. I'd rather do something simple and bad to get this finished quickly. |