We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
According to API docs for onBeforeRequest, returning {cancel: true} will cancel the request.
onBeforeRequest
{cancel: true}
Yet this is exactly what we're doing when using URL -> File mode in replaceContent the result of which gets passed to onBeforeRequest.
URL -> File
There seems to be a logical error here? And indeed the scenario doesn't work for me currently. Am I missing something?
The text was updated successfully, but these errors were encountered:
@aanand any chance for mainline merge? I am using forked version with my code and it works
Sorry, something went wrong.
Temporary hack for anyone experiencing this. Install python if you don't have it and run the following:
cd <DIR_WITH_FILE_TO_SERVE> python -m http.server 8000
This will give you a localhost server to access your file. Note you may need to allow mixed content in chrome for http content to be loaded.
No branches or pull requests
According to API docs for
onBeforeRequest
, returning{cancel: true}
will cancel the request.Yet this is exactly what we're doing when using
URL -> File
mode in replaceContent the result of which gets passed to onBeforeRequest.There seems to be a logical error here? And indeed the scenario doesn't work for me currently. Am I missing something?
The text was updated successfully, but these errors were encountered: