Closed hugomano closed 6 years ago
@alexstrat, right now the electrons api works well, tested with custom agent header. The cancel callback work also in the dummy extension callback({cancel: false, requestHeaders: details.requestHeaders})
. The cycle is complete between main
and renderer
processes but the electron don't handle rules.
Lulumi implementation: Injector WebRequestEvent Browser side
Chromium: API
@alexstrat WTF?
Tab console on the left and background console on the right... Log same lines
@alexstrat ready for a review. I've tried to abstract the RPC but it's not really necessary I think. We will add a lot of lines for the same behaviour.
@alexstrat done
@hugomano regarding abstraction, I suggested something in https://github.com/getstation/electron-chrome-extension/pull/8. It's only pseudo-code. Let me know if it helps
One last non minor change and we're good to go ;)
Todo
removeListener
hasListener